Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136188: high-severity vulnerability (CVSS 7.1) in openspug spug.
What happened
Original description from the source: 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
High severity, CVSS 7.1.
Affected products and versions
openspug spug < 4.1.1
| Product | Versions | Fixed in |
|---|---|---|
| openspug spug | < 4.1.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg — CVE Program
- https://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9 — CVE Program
- https://github.com/openspug/spug/releases/tag/v4.1.1 — CVE Program
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34 — CVE Program
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36 — CVE Program
- https://www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api — CVE Program
Weaknesses (CWE): CWE-201
Relevant change history
Published
Preliminary advisory published.