# CVE-2026-136187: Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.16%, higher than 82% of CVEs (2026-12-01)
- Published: 2026-11-24T17:05:18.588Z
- Modified: 2026-11-24T21:18:20.047Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- openspug spug: from 4.0.0 before 4.1.1

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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)
- <https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60> (technical-description)
- <https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208> (technical-description)
- <https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-136187](https://www.cve.org/CVERecord?id=CVE-2026-136187), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-136187](https://nvd.nist.gov/vuln/detail/CVE-2026-136187), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-136187 · Whole record: https://cve.day/CVE-2026-136187.json · Rebuilt by cve.day 2026-11-25T22:59:52.848Z
