CVE-2026-136187
Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 2.16% (p83)
- Published
- 2026-11-24
- Age
- 4d old
- Modified
- 2026-11-24
- Product
- openspug spug
- Aliases
- GHSA-xp2v-72m9-wqfv
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
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.
Fixed in
4.1.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | spug | >=4.0.0, <4.1.1 | 4.1.1 |
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv vendor-advisory
- https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853 patch
- https://github.com/openspug/spug/releases/tag/v4.1.1 release-notes
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60 technical-description
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208 technical-description
- https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136187.json advisory
- https://github.com/openspug/spug package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136187 advisory