Skip to main content

Spug EUVDEUVD-2026-134228

| CVE-2026-136188 HIGH
Insertion of Sensitive Information Into Sent Data (CWE-201)
2026-11-24 disclosure@vulncheck.com GHSA-qj7q-pjc5-wcg2
7.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as granted non-admin user
  2. Delivery
    Call GET /api/host/ endpoint
  3. Exploit
    Read cleartext pkey from Host.to_view response
  4. Execution
    Reuse SSH private key for direct login
  5. Impact
    Bypass 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

spug 0 <4.1.1

Affected Packages

euvd spug fix: 4.1.1

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

Vendor (vulncheck) PRIMARY 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:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 24, 2026 - 18:03 EUVD
CVE Published
Nov 24, 2026 - 17:18 cve.org
HIGH 7.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating 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

EPSS Score
0.7%
Top 52% exploitable
Prevalence
Low
niche open-source ops/automation platform, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy