Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as granted non-admin user
-
DeliveryCall GET /api/host/ endpoint
-
ExploitRead cleartext pkey from Host.to_view response
-
ExecutionReuse SSH private key for direct login
-
ImpactBypass Spug audit trail and revocation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Outbound data filtering
|
| Exploitation Conditions | Requires an authenticated non-administrator Spug account (PR:L) that has been granted at least one host which was configured with an INDEPENDENT per-host SSH private key stored in the Host.pkey field; such a user can read that key in cleartext from GET /api/host/. Exploitation is LIMITED to hosts explicitly granted to the attacker - the endpoint already restricts non-admins to their granted hosts - and hosts that use Spug's global key are NOT affected, so deployments that rely solely on the global key are out of scope. There is no user-interaction or non-default-feature requirement beyond having a valid account and a host grant with an independent key. |
| Impact | This is a credible but bounded authenticated-access risk rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H) and the matching description agree: an attacker needs low privileges (PR:L) - a valid non-administrator Spug account that has been granted at least one host - and from there can read the cleartext per-host SSH private key over the network with low complexity and no user interaction. The impact is confidentiality-only (VC:H, VI/VA:N), but the disclosed private key converts into durable, out-of-band SSH access that bypasses Spug's permission model and audit trail and survives grant revocation, which raises the practical severity above a simple read. No EPSS score was provided and the CVE is NOT in CISA KEV, so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_week', consistent with a prompt-but-not-emergency priority. No working exploit code is referenced - only a vendor commit, GHSA advisory, and VulnCheck advisory. One scope nuance to note: the GHSA advisory explicitly corrects the originally-reported 'whole fleet' claim, stating exposure is limited to hosts the user was already granted and that hosts using the global key are not affected - verify your deployment uses independent per-host keys before treating this as relevant. |
| Exploit ScenarioDerived | A low-privileged Spug operator who has been granted one or more hosts calls GET /api/host/ and reads the cleartext 'pkey' field that the Host.to_view serializer returns for each granted host. They save the SSH private key and log in to those hosts directly over SSH, retaining access even after their Spug grant is revoked and leaving no entries in Spug's audit trail. No public working exploit code is referenced, but the trigger is a single authenticated API GET and is trivially reproducible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Authenticated non-administrator users in Spug up to and including 4.1.0 can retrieve the cleartext per-host SSH private key for any host granted to them, because GET /api/host/ serializes the full Host model including the pkey field. With that key a low-privileged user can open SSH sessions directly to the host, outside Spug's permission checks and audit trail, and retain access even after the host grant is revoked. Exposure is bounded to hosts configured with an independent key and explicitly granted to the user; hosts relying on Spug's global key are not affected, and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to Spug 4.1.1, which stops returning private keys in host API responses and substitutes a has_pkey flag while preserving stored keys on edit (fix commit https://github.com/openspug/spug/commit/7878d9d73fd5deaa62f35bea88b8a93a4833d4e9, release https://github.com/openspug/spug/releases/tag/v4.1.1, advisory https://github.com/openspug/spug/security/advisories/GHSA-cpvp-p8jv-vhxg). The vendor additionally directs operators to rotate independent host keys after upgrading wherever non-administrator users had been granted access to those hosts, since a key copied before the fix continues to work and remains outside Spug's audit trail after the grant is revoked; rotating the key invalidates any previously captured copy but requires updating the stored key in Spug for each affected host.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spug is an open-source operations platform whose Django-based spug_api back end stores a host's optional independent SSH private key in the Host model's pkey field. The vulnerability is CWE-201 (insertion of sensitive information into sent data): the serializer used by the host listing endpoint (Host.to_view, reached from GET /api/host/) returned every model field, so private key material was included in ordinary API responses rather than being withheld server-side. The official advisory classifies the same issue as CWE-200. The upstream fix in commit 7878d9d removes pkey from serialized output via to_dict(excludes=('pkey',)) and instead exposes a boolean has_pkey flag; a new keep_pkey form argument lets the edit form preserve an already-stored key without the browser ever receiving it, and the web UI was changed to display has_pkey and to send keep_pkey instead of round-tripping the key text. The endpoint's existing object-level filtering already limited non-administrators to their granted hosts, so the leak is scoped to those hosts rather than the whole fleet.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated non-admin access over the network (PR:L, AV:N, AC:L); confidentiality-only disclosure of private key material (C:H), no integrity or availability impact, scope unchanged at the base layer.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Sensitive information inserted into an API response, resulting in disclosure.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-136188 in Spug (up to 4.1.0) lets authenticated non-admin users retrieve cleartext SSH private keys for granted hosts, enabling direct SSH access that bypasses Spug's permission checks and audit trail, and persisting after revocation. Any organization using Spug to manage privileged host access should treat this as a serious insider-threat and audit-evasion risk, as low-privileged users can escalate to direct system access beyond intended controls.
No vendor-released patch identified at time of analysis; interim mitigations include rotating all per-host SSH private keys exposed in Spug, switching affected hosts to Spug's global key, restricting non-admin Spug access to trusted personnel, monitoring for direct SSH connections to managed hosts, and enforcing least-privilege host grants.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-134228
GHSA-qj7q-pjc5-wcg2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB