Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › openspug

High 8.7 2 CVEs Analysis

Spug flaws allow command injection and SSH private key exposure; upgrade to 4.1.1

Two HIGH-severity flaws in Spug, both fixed in version 4.1.1 according to the records, let authenticated users run OS commands or read per-host SSH private keys. The records do not state whether either has been exploited.

What to look into

  • 2 vulnerabilities in openspug spug: 2 high (CVSS up to 8.7).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-136187 (8.7 high): Spug OS Command Injection Vulnerability in 4.0.0 to 4.1.1. An attacker with a normal user account can exploit this over the network, without any user action.
  • 0 of 2 can be attacked over the network without logging in.
  • Kinds of flaws: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); Insertion of Sensitive Information Into Sent Data.
Cloud & containersDockerEndpoint securitySSHVulnerabilities

Key points

  • CVE-2026-136187 (CVSS 8.7) is an OS command injection in Spug 4.0.0 before 4.1.1, reachable by any authenticated user.
  • The injection runs commands as the Spug service account, which the record says is root in Docker deployments.
  • CVE-2026-136188 (CVSS 7.1) lets granted non-admin users read cleartext per-host SSH private keys via GET /api/host/.
  • Per the record, key-based SSH access persists after revocation and bypasses Spug's audit trail.
  • The records do not state that either flaw has been exploited, and give no workaround.

Two vulnerabilities in the open-source Spug product were published together by NVD on 2026-11-24. Both require an authenticated user account, and both are rated HIGH.

Command injection (CVE-2026-136187)

CVE-2026-136187, rated HIGH (CVSS 8.7), affects Spug 4.0.0 before 4.1.1. According to the record, any authenticated user can supply a crafted git URL to the /api/credential/check/ endpoint. The value in the data field is passed to git ls-remote with shell=True, which allows shell metacharacters to run arbitrary commands. Those commands run as the Spug service account, which the record says is root in Docker deployments. This is the most severe flaw in the batch.

Private SSH key disclosure (CVE-2026-136188)

CVE-2026-136188, rated HIGH (CVSS 7.1), affects Spug before 4.1.1. Non-administrator users who have been granted access to a host can read its per-host SSH private key through the GET /api/host/ endpoint. The key is returned in cleartext in the pkey field of Host.toview. According to the record, a user can then log in to the host over SSH directly, bypassing Spug's permissions and audit trail, and this remains possible even after access is revoked.

Scope and response

Both records point to version 4.1.1 as the release that addresses these issues. Neither record gives a workaround, configuration change, or detection method, so none is described here. Administrators running Spug should identify their version and plan an upgrade. Because the second flaw involves private keys that may already have been read, administrators may also want to consider whether those keys should be replaced; the records do not address this directly.

What to do

  1. Upgrade Spug to version 4.1.1 or later, which both records identify as the fixed release.
  2. Review which accounts have been granted access to hosts, since the key exposure affects users granted a host.
  3. Because the records describe a root-level command path in Docker deployments, prioritise the command injection fix on those systems.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-136187 8.7 Spug OS Command Injection Vulnerability in 4.0.0 to 4.1.1
  • CVE-2026-136188 7.1 Spug Before 4.1.1 Has Information Disclosure Vulnerability

Frequently asked questions

How many openspug spug vulnerabilities were published on November 24, 2026?

2 vulnerabilities: 2 high, with CVSS scores up to 8.7.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-136187 (CVSS 8.7): Spug OS Command Injection Vulnerability in 4.0.0 to 4.1.1.

Original records