SSH private key disclosure in openspug Spug via host API
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-201.
Summary
Spug before 4.1.1 exposes per-host SSH private keys to authenticated non-administrator users who are granted a host. The GET /api/host/ endpoint returns the cleartext pkey field, which lets these users log in directly over SSH, bypassing Spug's permissions and audit trail even after access is revoked. An authenticated low-privileged remote attacker can obtain the keys without administrator rights (CWE-201).
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
Description from the CNA
Spug before 4.1.1 contains an information disclosure vulnerability that allows authenticated non-administrator users to read per-host SSH private keys through the GET /api/host/ endpoint. Users granted a host can read the cleartext pkey field returned by Host.to_view and log in directly over SSH, bypassing Spug's permissions and audit trail even after revocation.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade openspug Spug to version 4.1.1, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-24
- Fix · CNA spug (openspug) Fixed in 4.1.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
openspug spug 4.1.1
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-97537 OS command injection in Spug credential check endpointPriority MEDIUM 44
Timeline
- 2026-11-24 Threatist record created from CVE-2026-136188
- 2026-11-24 Alias added: GHSA-qj7q-pjc5-wcg2
- 2026-11-25 CISA SSVC decision points changed
References
More openspug vulnerabilities
- TI-2026-70539 OS command injection in OpenSpug Spug File Transfer CVSS 4.0CRITICAL 9.4
- TI-2026-97537 OS command injection in Spug credential check endpoint CVSS 4.0HIGH 8.7
- TI-2026-61677 Spug through 3.4.0 Remote Code Execution via ping_check CVSS 4.0HIGH 8.7
Sources
- CVE-2026-136188 · CVE Program
- CVE-2026-136188 · NVD
- FIRST EPSS
- GHSA-qj7q-pjc5-wcg2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences