CVE-2026-136187
published high CVSS 4.0 · 8.7Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openspug | — | spug4.0.0 to < 4.1.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openspug | spug | 4.0.0 to < 4.1.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
6- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208
- https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853
- spug v4.1.1 Release Notes https://github.com/openspug/spug/releases/tag/v4.1.1
- GitHub Security Advisory (GHSA-xp2v-72m9-wqfv) https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv
- VulnCheck Advisory: Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint
Provider assertions
2VulnCheck · cna
Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d8d07b0df29af4caa52ee420f8c129a4ce7c6b4a0d7efd0a52f5f1474a5545c9
- Ingested
- 24 Nov 2026, 20:26:19 UTC
- Source record
- Official CVE record