CVE-2026-136187Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- openspug spug: affected: 4.0.0 to before 4.1.1; fixed in
4.1.1
Vendor advisories:
- 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)
References
- https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv
- https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853
- https://github.com/openspug/spug/releases/tag/v4.1.1
- 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://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.