- Home
- Vulnerabilities
- CVE-2026-136187
CVE-2026-136187
Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint
Medium
56/100
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.
Affected products and versions
OpenSpug (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Spug | from 4.0.0 (included) to 4.1.1 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853patch
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60technical-description
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208technical-description
- https://github.com/openspug/spug/releases/tag/v4.1.1release-notes
- https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfvvendor-advisory
- https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpointthird-party-advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Weakness
- CWE-78 · Injection de commandes / code