{"id":"CVE-2026-136188","summary":"Spug before 4.1.1 SSH Private Key Disclosure via Host API","details":"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.","aliases":["GHSA-cpvp-p8jv-vhxg"],"modified":"2026-11-25T21:02:26.503440991Z","published":"2026-11-24T17:05:17.342Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136188.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-201"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136188.json"},{"type":"ADVISORY","url":"https://github.com/openspug/spug/releases/tag/v4.1.1"},{"type":"ADVISORY","url":"https://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136188"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/spug-before-4.1.1-ssh-private-key-disclosure-via-host-api"},{"type":"FIX","url":"https://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9"},{"type":"PACKAGE","url":"https://github.com/openspug/spug"},{"type":"ARTICLE","url":"https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/models.py#L31-L36"},{"type":"ARTICLE","url":"https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/host/views.py#L26-L34"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openspug/spug","events":[{"introduced":"0"},{"fixed":"049984e01373fc1cd97b94b60c0b3124036b0f47"},{"fixed":"7878d9d73fd5deaa62f35bea88b8a93a4833d4e9"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"4.1.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"7878d9d73fd5deaa62f35bea88b8a93a4833d4e9"}]},{"original_tag":"v4.1.1","range":[{"fixed":"049984e01373fc1cd97b94b60c0b3124036b0f47"}],"source":"REFERENCES_TAG"}]}}],"versions":["v4.1.0","v4.0.1","v4.0.0","v3.2.4","v3.2.3","v3.2.2","v3.2.1","v3.2.0","v3.1.7","v3.1.6","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1-beta.15","v3.0.1-beta.14","v3.0.1-beta.13","v3.0.1-beta.12","v3.0.1-beta.11","v3.0.1-beta.10","v3.0.1-beta.9","v3.0.1-beta.8","v3.0.1-beta.7","v3.0.1-beta.6","v3.0.1-beta.5","v3.0.1-beta.4","v3.0.1-beta.3","v3.0.1-beta.2","v3.0.1-beta.1","v2.3.14","v2.3.13","v2.3.12","v2.3.11","v2.3.10","v2.3.9","v2.3.8","v2.3.7","v2.3.6","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.6","v2.2.5","v2.2.4","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.2.0-beta.2","v2.2.0-beta.1","v2.1.1","v2.1.0","v2.0.0","v2.0.0-beta.2","v2.0.0-beta.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136188.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}