GHSA-j98f-4g4m-xxhjHighCVSS 8.8
Spug 4.0.0 before 4.1.1 contains an OS command injection vulnerability that allows any...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (8)
- https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv
- https://nvd.nist.gov/vuln/detail/CVE-2026-136187
- https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853
- 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/releases/tag/v4.1.1
- https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint
- https://github.com/advisories/GHSA-j98f-4g4m-xxhj