CVE-2026-136188
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| openspug | spug | {"endExcluding":"4.1.1"} | 4.1.1 |
References
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34
- https://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9
- https://github.com/openspug/spug/releases/tag/v4.1.1
- https://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg
- https://www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api
CWEs
CWE-201
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.