Cyber Security News

Nine-Year-Old Kernel Flaw Puts Linux SSH Private Keys at Risk

A newly disclosed Linux kernel vulnerability, tracked as CVE-2026-46333, poses a serious risk to SSH private keys and other sensitive credentials.

The flaw, present in the kernel since 2016, allows a local attacker to escalate from a basic shell account to full root access on many popular Linux distributions.

Nine-Year-Old Kernel Flaw

The issue lies in how the Linux kernel checks whether one process is allowed to inspect, or “trace,” another using the ptrace mechanism. Under certain conditions, a privileged process that is in the middle of dropping its privileges can still be accessed for a brief moment, even though it should no longer be traceable.

Attackers can exploit this tiny timing window, along with the system call  pidfd_getfd, to grab open file descriptors from that privileged process. In practice, this means they can steal access to files and communication channels that normally belong only to root.

Qualys researchers showed that this bug can be exploited against several default system binaries, including ssh-keysign, which handles SSH host key operations. By targeting this binary, an attacker with any local shell on a vulnerable system can read SSH host private key files under /etc/ssh/.

If these host keys are stolen, an attacker could impersonate the affected server in man-in-the-middle attacks or reuse them in other environments where they are deployed. This elevates the issue from a “just local” bug into something that can impact remote trust relationships across infrastructure.

The same technique can also expose /etc/shadow password hashes or allow arbitrary command execution as root via other privileged binaries and daemons.

The flaw has been in mainline Linux since version 4.10-rc1 (November 2016) and affects a wide range of systems. Qualys confirmed exploitation paths on default installations of Debian 13, Ubuntu 24.04 and 26.04, and Fedora 43 and 44, both server and desktop/workstation flavors.

Because this is a local-only vulnerability, an attacker needs some shell or code execution on the host. However, in real-world environments, that could be:

  • A phished developer account with SSH access.
  • A limited CI/CD runner or build agent.
  • A low-privilege service account.
  • Users on shared or multi-tenant hosts and container platforms.

In these cases, the gap between “unprivileged access” and “full root compromise” effectively disappears.

Linux kernel developers have already released an upstream fix, and major distributions have shipped updated kernels. Admins should:

  • Install the latest kernel packages from their distribution.
  • Reboot so the new kernel is actually running.
  • Assume SSH host keys and local credentials may have been exposed on systems where untrusted users had access, and rotate those keys and passwords.

For environments where immediate patching is not possible, a temporary mitigation is to set kernel.yama.ptrace_scope = 2. This makes ptrace attach operations admin-only, blocking the known exploit path. However, it can affect debugging tools such as gdb and strace, as well as container and crash-reporting workflows.

CVE-2026-46333 is a reminder that long-lived kernel logic bugs can silently undermine security for years. Even when a flaw is “only local,” the combination of modern multi-tenant setups, developer access, and powerful primitives like ptrace can turn it into a critical, fleet-wide risk.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago