CVE-2026-136188
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 7.1 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.5)
CVSS v3.1 Base Metrics — Score 6.5 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- openspug spug < 4.1.1
- openspug spug 4.1.1
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run openspug spug and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 24, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new openspug spug CVEsYou are reading CVE-2026-136188. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg
- Patchhttps://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9
- Referencehttps://github.com/openspug/spug/releases/tag/v4.1.1
- Referencehttps://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34
- Referencehttps://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36
- Referencehttps://www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api
Data last checked: Nov 30, 2026 10:12 UTC