Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to sshportal management shell (non-admin)
-
ExploitRun 'key show default' or 'key show host'
-
ExecutionRetrieve decrypted backend private SSH key
-
ImpactSSH directly to backend host bypassing ACLs and session recording
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the attacker to hold a valid non-admin sshportal account with access to the management shell (PR:L), after which they invoke the 'key show' command against predictable, commonly-present key names such as 'default' or 'host'. No admin role and no user interaction are required, and default configurations are affected because these predictable key names exist by design. The limiting factors are: the attacker must already be an authenticated sshportal user, and the target must be running sshportal at or below version 1.19.5 as a shared multi-user bastion (a single-user or admin-only deployment has no untrusted principal to abuse). |
| Impact | This is a credible, medium-to-high priority issue for the specific population that runs sshportal, though its blast radius is limited by product footprint rather than exploit difficulty. The provided CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N, score 8.3) indicates a network-reachable, low-complexity attack that requires low privileges (PR:L) and no user interaction, with high confidentiality impact on both the vulnerable system (VC:H) and a subsequent system (SC:H) - the subsequent-system impact correctly captures that stolen backend keys grant access to downstream hosts. The signals are internally consistent: CWE-862 (Missing Authorization) matches the description of an authenticated non-admin user reading data they should not. No EPSS score is provided, so exploitation-probability cannot be quantified. It is NOT in CISA KEV, so there is no confirmed active exploitation. No formal POC/exploit-code signal is flagged in the input, though a public technical writeup (hackmd) describes the exact method and the exact vulnerable source lines are public, which materially lowers the barrier to exploitation. The main reason this is not a top-tier emergency is prevalence, not technical severity: sshportal is a niche open-source bastion, so this is a serious flaw in a low-footprint product rather than a widespread internet-scale risk. Within any environment that does run sshportal with multiple non-admin users, however, it is a direct, high-value privilege/ACL escalation. |
| Exploit ScenarioDerived | An authenticated non-admin sshportal user connects to the management shell and runs the 'key show' command with a predictable key name such as 'default' or 'host', which returns the decrypted backend private SSH key. The attacker then uses that key to connect directly to backend hosts, bypassing sshportal's ACLs and session recording entirely. A public technical writeup documents the method and the vulnerable source lines, and the low-complexity network vector (AV:N/AC:L) makes execution trivial once an account is held. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
Authenticated non-admin users of sshportal's management shell can retrieve decrypted backend SSH private keys through the 'key show' command, allowing them to connect directly to managed hosts and bypass ACLs and session recording. The flaw affects sshportal through version 1.19.5 and requires only a valid non-admin account with management shell access; default deployments are impacted because predictable key names such as 'default' and 'host' are commonly present. No public exploit code or confirmed active exploitation was identified at time of analysis, but the CVSS 4.0 score is 8.3 (High) and our assessment rates it as a medium-to-high priority for shared multi-user bastion deployments.
RemediationAI
No vendor-released patch was identified at time of analysis for CVE-2026-111638; the reference to v1.19.5 points to the vulnerable source, not a fix. Until an update is available, restrict access to the sshportal management shell to trusted administrators only-if non-admin accounts do not require shell access, remove that privilege or disable the shell for them. If the shell must remain multi-user, audit and eliminate predictable backend key names such as 'default' and 'host', and rotate any private keys stored under those names; be aware this may break existing host configurations that reference them. Network-level controls, such as firewalling management shell access or requiring additional authentication (e.g., SSH certificates or MFA) in front of sshportal, reduce exposure but do not fix the missing authorization check. Monitor logs for unexpected 'key show' invocations by non-admin users. Consult the VulnCheck advisory and the public write-up for detection guidance and any future fix: https://www.vulncheck.com/advisories/sshportal-through-1.19.5-missing-authorization-in-key-show-command-exposes-private-keys and https://hackmd.io/@hieuPenguinnn/sshportal-key-show-privkey-disclosure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
sshportal (by moul) is an SSH bastion/jump server that manages connections to backend hosts, storing private keys for those hosts and enforcing access control lists and session recording through a management shell. CWE-862 (Missing Authorization) is the root cause: the 'key show' command in pkg/bastion/shell.go (lines 1513-1584 in v1.19.5) does not verify that the requesting user has an administrative role before returning decrypted private key material. Because key names are predictable and often left at defaults like 'default' or 'host', any authenticated non-admin user who can reach the management shell can enumerate and dump backend credentials. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N reflects remote network access with low attack complexity, low privileges, no user interaction, high confidentiality impact, and scope change to backend systems-consistent with the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
Know when Sshportal gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Authenticated non-admin access gives PR:L over the network with low complexity; disclosing backend keys grants access to other hosts, so scope changes (S:C) with high confidentiality and no integrity/availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
sshportal deployments through version 1.19.5 expose the decrypted SSH private keys for managed hosts to any non-admin user who holds a management shell account, allowing that user to connect directly to backend systems and sidestep the access control lists and session recording that sshportal is deployed to enforce. Because default installations commonly include predictably named keys such as 'default' and 'host', the exposure is likely to be present in most shared multi-user bastion environments without any additional misconfiguration. Leadership should treat this as a failure of a core security control wherever sshportal is treated as a trust boundary, and as an audit and compliance concern where session recording is relied upon as evidence of privileged activity.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict management shell access on sshportal 1.19.5 and earlier to trusted administrators only and remove non-admin management shell accounts; rotate all backend SSH private keys held by sshportal and replace predictable key names such as 'default' and 'host'; enforce host-side source restrictions so rotated keys are accepted only from the bastion; monitor and alert on 'key show' command usage in management shell logs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-103060
GHSA-xmw3-crh7-9hmm
NVD
CVE.org
EPSS
Exploit-DB