{"id":"CVE-2026-136187","aliases":["CVE-2026-136187"],"related":[],"kind":"vulnerability","state":"published","title":"Spug 4.0.0 before 4.1.1 OS Command Injection via Credential Check Endpoint","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-24T17:05:18.588Z","modified":"2026-11-24T21:18:20.047Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0","fixed":"4.1.1","status":"affected"}],"vendor":"openspug","product":"spug","repo":"https://github.com/openspug/spug","source":"cvelist"}],"references":[{"url":"https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openspug/spug/releases/tag/v4.1.1","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["hackchang"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-24T20:18:25.411Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-136187","url":"https://www.cve.org/CVERecord?id=CVE-2026-136187","licence":"CVE Terms of Use","modified":"2026-11-24T20:18:33.081Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-136187","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136187","licence":"Public domain","modified":"2026-11-24T21:18:20.047Z"}],"updatedAt":"2026-11-25T22:59:52.848Z","epss":{"score":0.02161,"percentile":0.82734,"date":"2026-12-01T12:00:22.000Z"}}