CVE-2026-136188
Spug before 4.1.1 SSH Private Key Disclosure via Host API
High · 7.1Fix available
- CVSS
- 7.1
- EPSS
- 0.68% (p48)
- Published
- 2026-11-24
- Age
- 4d old
- Modified
- 2026-11-25
- Product
- openspug spug
- Aliases
- GHSA-cpvp-p8jv-vhxg
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Description
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.
Fixed in
4.1.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | spug | >=0, <4.1.1 | 4.1.1 |
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg vendor-advisory
- https://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9 patch
- https://github.com/openspug/spug/releases/tag/v4.1.1 release-notes
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34 technical-description
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36 technical-description
- https://www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136188.json advisory
- https://github.com/openspug/spug package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136188 advisory