CVE-2026-136187
Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint
CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | openspug |
| Product | spug |
| Published | Nov 24, 2026 |
| Last Updated | Nov 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for openspug spug
Be the first to know when new high vulnerabilities affecting openspug spug are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
openspug / spug
4.0.0 < 4.1.1
References
github.com: https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv github.com: https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853 github.com: https://github.com/openspug/spug/releases/tag/v4.1.1 github.com: https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60 github.com: https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208 vulncheck.com: https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint
Credits
hackchang