# ssh-keysign-pwn: 9-Year-Old Linux Kernel Flaw Exposed as Root Escalation Vector on Major Distros


## The Threat


Cybersecurity researchers at Qualys have disclosed details of a long-dormant vulnerability in the Linux kernel that remained undetected for nine years before public disclosure. Tracked as CVE-2026-46333 and codenamed ssh-keysign-pwn, the flaw exists in the kernel's __ptrace_may_access() function—a mechanism that governs process tracing privileges. The vulnerability stems from improper privilege management introduced in November 2016, meaning systems have been vulnerable since Linux kernel versions released that month through recent patches.


The core issue allows unprivileged local users to bypass intended access controls and gain unauthorized capabilities that can be leveraged for multiple attack paths. According to Qualys, the vulnerability is "reliable" and "turns any local shell into a path to root or to sensitive credential material." Successful exploitation enables attackers to disclose the system's shadow password file (/etc/shadow), extract SSH private keys stored in /etc/ssh/*_key, and execute arbitrary commands with root privileges. The flaw affects default installations of major Linux distributions including Debian, Fedora, and Ubuntu—systems that represent the backbone of enterprise infrastructure, cloud deployments, and critical services worldwide.


The disclosure came days after a proof-of-concept exploit was released publicly, following emergence of a kernel commit that inadvertently exposed the vulnerability details. Qualys identified four distinct exploitation vectors targeting legitimate system utilities: chage (password aging), ssh-keysign (SSH authentication helper), pkexec (privilege elevation), and accounts-daemon (system account management). Each can be weaponized to escalate privileges or extract credentials from the target system.


## Severity and Impact


| Attribute | Details |

|---|---|

| CVE ID | CVE-2026-46333 |

| CVSS v3.1 Score | 5.5 (Medium) |

| CVSS Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |

| Attack Vector | Local |

| Attack Complexity | Low |

| Privileges Required | Low (unprivileged user) |

| User Interaction | None |

| Scope | Unchanged |

| Confidentiality Impact | High |

| Integrity Impact | None |

| Availability Impact | None |

| CWE | CWE-269 (Improper Access Control) |

| Discoverer | Qualys Threat Research Unit |


## Affected Products


The vulnerability impacts all major Linux distributions that shipped kernel versions from November 2016 onward without the fix:


  • Debian (stable, testing, and unstable releases)
  • Fedora (all releases since Fedora 25)
  • Ubuntu (16.04 LTS and all subsequent releases)
  • Other distributions shipping unpatched 4.9+ kernels

  • Organizations running containerized workloads, virtual machines, or bare-metal Linux infrastructure on these distributions are potentially affected if local user accounts exist or if container escape is possible.


    ## Mitigations


    Immediate actions:


    1. Apply kernel updates — Linux distributions have released patched kernel versions. Debian, Fedora, and Ubuntu have published fixes in their respective repositories. Deploy updates to all affected systems as soon as possible.


    2. Temporary workaround — If immediate kernel patching is not feasible, raise the kernel.yama.ptrace_scope parameter to level 2:

    ```bash

    echo 2 | sudo tee /proc/sys/kernel/yama/ptrace_scope

    # Make persistent by adding to /etc/sysctl.conf:

    # kernel.yama.ptrace_scope = 2

    ```

    This restricts process tracing to processes with the same UID, reducing exploit surface.


    3. Credential rotation — Qualys recommends that organizations with untrusted local users or exposed systems during the vulnerability window should treat SSH host keys and locally cached credentials as potentially compromised. Immediately:

    - Rotate all SSH host keys on affected systems

    - Audit administrative account activity in system logs

    - Review and refresh API keys, tokens, and other sensitive credentials that may have been accessible in memory


    4. Access review — Audit which local user accounts exist on affected systems and ensure only necessary unprivileged users are provisioned.


    5. Container security — If running containerized workloads on vulnerable hosts, evaluate container escape risk and consider temporary restrictions until patching is complete.


    ## References


  • Qualys Security Advisory: [Full disclosure and technical analysis](https://www.qualys.com)
  • Linux Kernel Security Lists: Check your distribution's security page for patches:
  • - [Debian Security](https://www.debian.org/security/)

    - [Fedora Security](https://fedoraproject.org/security/)

    - [Ubuntu Security Notices](https://usn.ubuntu.com/)

  • Proof-of-Concept Code: Available on public repositories (use with caution in lab environments only)

  • ---


    ## HackWire Analysis


    The discovery of ssh-keysign-pwn is emblematic of a troubling pattern emerging in Linux kernel security: critical flaws can persist for years across billions of systems before detection. What's particularly concerning is the *compression of disclosure timelines*. In just the past month, the kernel community has grappled with Copy Fail, Dirty Frag, Fragnesia, and now ssh-keysign-pwn—each a serious local privilege escalation, each undetected for extended periods.


    This cluster raises hard questions about the kernel's fuzzing and static analysis coverage. The Linux kernel is arguably the most audited software on Earth, powering everything from Android phones to cloud infrastructure, yet a 9-year-old improper access control flaw in a core security function went unnoticed. It suggests either that fuzzing tools are missing important primitive combinations, or that subtle permission checks in the ptrace subsystem have simply fallen outside security researchers' focus until now.


    The attack surface is also broader than the headline suggests. While the vulnerability requires local access, cloud environments with multi-tenant workloads, CI/CD systems that spin up build containers, and even containerized applications with local shell access create exploit opportunities. A compromised container or a rogue job runner can escalate to the host kernel. For enterprises relying on process isolation as a security boundary, this is a wake-up call.


    The mitigation posture matters here: a CVSS 5.5 may seem medium, but the combination of high confidentiality impact (SSH keys, shadow files) and the reliability of exploitation means organizations should prioritize patching above many higher-numbered vulnerabilities. The temporary ptrace_scope workaround provides breathing room but is not a substitute for kernel updates.


    — HackWire Editorial


    ## Related Coverage


  • Read more in our [Vulnerabilities](https://www.hackwire.news/category/vulnerabilities) coverage
  • Cross-reference with [Breaches](https://www.hackwire.news/category/breaches) and [Malware](https://www.hackwire.news/category/malware)
  • Stay current via the [HackWire homepage](https://www.hackwire.news/)