CVE-2026-136188
Spug before 4.1.1 SSH Private Key Disclosure via Host API
CVSS Score
6.5
EPSS Score
0.7%
EPSS Percentile
48th
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.
| CWE | CWE-201 |
| Vendor | openspug |
| Product | spug |
| Published | Nov 24, 2026 |
| Last Updated | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for openspug spug
Be the first to know when new medium vulnerabilities affecting openspug spug are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
openspug / spug
0 < 4.1.1
References
github.com: https://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg github.com: https://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9 github.com: https://github.com/openspug/spug/releases/tag/v4.1.1 github.com: https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34 github.com: https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36 vulncheck.com: https://www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api
Credits
hackchang