CVE-2026-136187
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.8)
CVSS v3.1 Base Metrics — Score 8.8 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- openspug spug >= 4.0.0 and < 4.1.1
- openspug spug 4.1.1
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run openspug spug and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 24, 2026Published
- Nov 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new openspug spug CVEsYou are reading CVE-2026-136187. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv
- Patchhttps://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853
- Referencehttps://github.com/openspug/spug/releases/tag/v4.1.1
- Referencehttps://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60
- Referencehttps://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208
- Referencehttps://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint
Data last checked: Nov 30, 2026 10:12 UTC