Read the docs

SSH private key disclosure in openspug Spug via host API

Priority LOW 32CWE-201Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-201.

Summary

Spug before 4.1.1 exposes per-host SSH private keys to authenticated non-administrator users who are granted a host. The GET /api/host/ endpoint returns the cleartext pkey field, which lets these users log in directly over SSH, bypassing Spug's permissions and audit trail even after access is revoked. An authenticated low-privileged remote attacker can obtain the keys without administrator rights (CWE-201).

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

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 now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00681 47th percentileScored 2026-11-30
Fix Fixed spug (openspug): 4.1.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
openspugspugbefore 4.1.14.1.1Patch availableCNA
  • spug Vendoropenspug Affected before 4.1.1 Fixed in 4.1.1 Patch available CNA

Remediation

Upgrade openspug Spug to version 4.1.1, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

  • Fix · CNA spug (openspug) Fixed in 4.1.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    openspug spug 4.1.1

    2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-97537 OS command injection in Spug credential check endpointPriority MEDIUM 44

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-136188
  2. 2026-11-24 Alias added: GHSA-qj7q-pjc5-wcg2
  3. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2026-70539 OS command injection in OpenSpug Spug File Transfer CVSS 4.0CRITICAL 9.4
  • TI-2026-97537 OS command injection in Spug credential check endpoint CVSS 4.0HIGH 8.7
  • TI-2026-61677 Spug through 3.4.0 Remote Code Execution via ping_check CVSS 4.0HIGH 8.7

Sources