What’s Vulnerable › Vulnerabilities
CVE-2026-111638: sshportal through 1.19.5 Missing Authorization in 'key show' Command Exposes Private Keys
- Severity: high (CVSS 7.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-16 · updated 2026-10-23
- Weakness: CWE-862
Description
sshportal through 1.19.5 contains a missing authorization vulnerability in the management shell 'key show' command that allows authenticated non-admin users to obtain decrypted backend private SSH keys. Attackers can request predictable key names like 'default' or 'host' to retrieve private keys and connect directly to backend hosts, bypassing ACLs and session recording.
Affected products
- moul sshportal: through 1.19.5
References
- https://github.com/moul/sshportal/blob/v1.19.5/pkg/bastion/shell.go#L1513-L1584
- https://hackmd.io/@hieuPenguinnn/sshportal-key-show-privkey-disclosure
- https://www.vulncheck.com/advisories/sshportal-through-1.19.5-missing-authorization-in-key-show-command-exposes-private-keys
- https://hackmd.io/@hieuPenguinnn/sshportal-key-show-privkey-disclosure
Get alerted when CVE-2026-111638 or the next vulnerability affects your stack