OpenSSH Flaw Allowing Full Root Shell Access Lurked for 15 Years
Vulnerability: OpenSSH flaw (CVE-2026-35414) allows root access via certificate principal manipulation, evading logs for 15 years.
Deep Analysis and Expert Commentary
The vulnerability exploits a parser inconsistency in OpenSSH's handling of comma-separated principals in SSH certificates. When a certificate contains a principal like 'deploy,root', the key-exchange function splits the string, granting root access if either fragment matches, while subsequent validation checks treat it as a single string. This logic gap skips principal validation entirely when the full string matches. Attackers with any valid certificate from a trusted CA can leverage this to escalate to root on all vulnerable servers running OpenSSH. Mitigation requires immediate patching to version 10.3, auditing CA trust relationships, and implementing network segmentation to limit SSH server exposure. The absence of log entries makes post-exploitation detection nearly impossible, emphasizing the need for behavioral monitoring of root access patterns.
Action Items
- Update OpenSSH to version 10.3 or later immediately.
- Audit all SSH certificate authorities and revoke unnecessary trust relationships.
- Implement network segmentation to restrict SSH server access to necessary personnel only.
Original Article Brief Intro
SecurityWeek · 2026-04-27 · Vulnerability: OpenSSH flaw (CVE-2026-35414) allows root access via certificate principal manipulation, evading logs for 15 years.
Related Terms and Notes
CVE IDs
- CVE-2026-35414 — OpenSSH vulnerability allowing root access via certificate principal manipulation (CVSS 8.1).
Techniques / TTPs
- Privilege Escalation
Context Notes
- Access Control Flaw
- authorized_keys principals — SSH feature specifying which usernames a certificate holder may authenticate as.
- OpenSSH
- Root Access
- Root Shell Access
- SSH
- SSH Certificate Bypass
- Stealth Attack