Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any Spug account
-
DeliveryPOST crafted git URL to /api/credential/check/
-
ExploitShell metacharacters injected into git ls-remote (shell=True)
-
ExecutionExecute arbitrary commands as service account (root in Docker)
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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; 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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-134229
GHSA-j98f-4g4m-xxhj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB