CVE-2026-136187
CVE-2026-136187 · Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint
CVSS 8.7 · High · EPSS 2.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- spugUpdate to 4.1.1
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
spug
- Versions
- ≥ 4.0.0, < 4.1.1: Affected (semver)
Update to 4.1.1
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-136187