Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208
- https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853
- https://github.com/openspug/spug/releases/tag/v4.1.1
- https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv
- https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injectio
FAQ
What is CVE-2026-136187?
CVE-2026-136187 is a vulnerability with a CVSS score of 8.8 (HIGH). 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. Att...
How severe is CVE-2026-136187?
CVE-2026-136187 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-136187?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.