{"id":"CVE-2026-136187","summary":"Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint","details":"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.","aliases":["GHSA-xp2v-72m9-wqfv"],"modified":"2026-11-24T21:45:41.248678851Z","published":"2026-11-24T17:05:18.588Z","database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136187.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136187.json"},{"type":"PACKAGE","url":"https://github.com/openspug/spug"},{"type":"ARTICLE","url":"https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60"},{"type":"ARTICLE","url":"https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208"},{"type":"FIX","url":"https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853"},{"type":"ADVISORY","url":"https://github.com/openspug/spug/releases/tag/v4.1.1"},{"type":"ADVISORY","url":"https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136187"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openspug/spug","events":[{"introduced":"8b9bb0af8b11455919fbede2f7a5645d1cff9d60"},{"fixed":"049984e01373fc1cd97b94b60c0b3124036b0f47"},{"fixed":"8e4c8199995406abea26a2d3e0f6ed487577d853"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"4.0.0"},{"fixed":"4.1.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"8e4c8199995406abea26a2d3e0f6ed487577d853"}]},{"original_tag":"v4.1.1","range":[{"fixed":"049984e01373fc1cd97b94b60c0b3124036b0f47"}],"source":"REFERENCES_TAG"}]}}],"versions":["v4.1.0","v4.0.1","v4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136187.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}