Skip to main content

Spug EUVDEUVD-2026-134229

| CVE-2026-136187 HIGH
OS Command Injection (CWE-78)
2026-11-24 disclosure@vulncheck.com GHSA-j98f-4g4m-xxhj
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with any Spug account
  2. Delivery
    POST crafted git URL to /api/credential/check/
  3. Exploit
    Shell metacharacters injected into git ls-remote (shell=True)
  4. Execution
    Execute arbitrary commands as service account (root in Docker)
  5. Impact
    Full server compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated Spug session of any privilege level - the /api/credential/check/ endpoint had no permission check beyond a successful login (PR:L). The attacker supplies a crafted repository URL containing shell metacharacters in the data field sent to that endpoint; the value reaches 'git ls-remote -h <url>' executed with shell=True in libs/gitlib.py, so no special feature toggle or non-default configuration is needed. The same construction is reachable via the pipeline tag-listing path. Impact is maximized (command execution as root) specifically in the documented Docker deployments where the Spug service runs as root; non-root deployments still yield code execution but at the service account's privilege. The principal limiting factor is the authentication requirement - exploitation is not reachable by fully unauthenticated attackers.

Impact

Signals are largely consistent and point to a genuine, near-term priority. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, score 8.7) describes a network-reachable, low-complexity flaw requiring only low privileges and no user interaction, yielding full confidentiality, integrity and availability impact - appropriate for an unauthenticated-to-any-logged-in-user command injection returning code execution as the service account (root in documented Docker deployments). The vendor GHSA advisory confirms the mechanism and the fix, and the vuln.today decision label is 'this_week', indicating prioritized remediation rather than drop-everything emergency. Not in CISA KEV and no EPSS score was provided, so there is no evidence of active or widespread exploitation; absence of these signals is not proof of safety but does suggest this is not yet mass-exploited. The main factor that lowers real-world risk below the raw 8.7 is the PR:L requirement: an attacker must already hold a valid Spug account, so exposure depends on how trusted/low-privileged Spug logins are in a given deployment. No conflicting signals were found in the data; the CVSS vector and the description/advisory agree on vector, privileges and impact.

Exploit ScenarioDerived

An attacker who holds any valid Spug login sends a POST to /api/credential/check/ with a git URL containing shell metacharacters; because the URL is interpolated into 'git ls-remote -h <url>' run with shell=True, the injected command executes on the server as the Spug service account (root in Docker deployments). No user interaction or elevated privileges are needed beyond a basic authenticated session. No public working exploit was identified in the provided data, though the fixing commit and GHSA advisory disclose the vulnerable code path.

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

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

Alert me

AnalysisAIv1 – Nov 24, 2026

OS command injection in Spug 4.0.0 through 4.1.0 allows any authenticated user to execute arbitrary commands as the Spug service account by submitting a crafted git repository URL to the /api/credential/check/ endpoint. The URL is interpolated into git ls-remote -h <url> with shell=True, and the same pattern appears in pipeline tag listing; Docker deployments where Spug runs as root maximize impact. Fixed in Spug 4.1.1; no public exploit identified at time of analysis, no CISA KEV entry was provided, and priority guidance places remediation in the this_week window.

RemediationAI

Vendor-released patch: upgrade to Spug 4.1.1 or later (fixed in 4.1.1; release https://github.com/openspug/spug/releases/tag/v4.1.1, advisory https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv). The 4.1.1 fix requires application or pipeline edit permissions for the credential-check endpoint, restricts the endpoint to the caller's own or shared credentials, validates git URLs against the documented allowlist and rejects leading -, and runs git as an argument list without a shell; apply commit https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853 if backporting. The advisory does not document a standalone workaround, so applying 4.1.1 is the complete remediation; restricting authenticated access to the affected API paths and running the Spug service as non-root can reduce reachability and impact but do not remove the injection flaw.

Affected VersionsENISA

spug 4.0.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; the affected endpoint POST /api/credential/check/ verifies that a git repository can be reached with a stored credential. The root cause is CWE-78: user-controlled data (git URL) was passed to git ls-remote -h <url> through subprocess.run(..., shell=True) in libs/gitlib.py, so shell metacharacters in the URL are interpreted by the shell. The advisory notes the same construction in pipeline tag listing (git ls-remote --tags). The 4.1.1 fix adds an authorization decorator to the check endpoint, limits credential use to the caller's own or shared records, validates repository URLs against an allowlist (http(s)://, ssh://, git://, file://, user@host:path, absolute path), rejects URLs starting with - to block option injection such as --upload-pack, executes git as an argument list without a shell, and quotes URL, path and ref. No CPE strings were supplied.

Know when Docker gets its next vulnerability

  • 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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network endpoint with low-complexity metacharacter injection reachable by any logged-in user (PR:L, no UI); command execution yields full C/I/A; scope unchanged as the service account's own context is compromised.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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
High
Vulnerable system: Availability
High
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 8.7

DescriptionCVE.org

Spug 4.0.0 before 4.1.1 contains an OS command injection vulnerability that allows any authenticated user to execute commands by supplying a crafted git URL to the /api/credential/check/ endpoint. Attackers can inject shell metacharacters into the data field passed to git ls-remote with shell=True, executing commands as the Spug service account, which is root in Docker deployments.

Technical POC Analysis

CWE-78, OS command injection.

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

Spug, an open-source operations platform, contains a command injection flaw (CVE-2026-136187) affecting versions 4.0.0 through 4.1.0 that lets any authenticated user run arbitrary commands as the Spug service account. Because Spug often orchestrates credentials and pipelines, compromise could disrupt deployments and expose downstream systems; Docker deployments running as root face the greatest risk of full host takeover. Leadership should prioritize this week's remediation to prevent insider or compromised-account abuse.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting network access to the vulnerable endpoint, enforcing least privilege for the Spug service account, and monitoring for unusual command activity.

Threat Intelligence Overview

EPSS Score
2.2%
Top 17% exploitable
Prevalence
Low
Spug is a niche open-source ops/deployment platform, limited enterprise footprint
Data Quality
4 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 2.2%
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
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

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