Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136187: high-severity vulnerability (CVSS 8.7) in openspug spug.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
openspug spug >= 4.0.0, < 4.1.1
| Product | Versions | Fixed in |
|---|---|---|
| openspug spug | >= 4.0.0, < 4.1.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/openspug/spug/security/advisories/GHSA-xp2v-72m9-wqfv — CVE Program
- https://github.com/openspug/spug/commit/8e4c8199995406abea26a2d3e0f6ed487577d853 — CVE Program
- https://github.com/openspug/spug/releases/tag/v4.1.1 — CVE Program
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/apps/credential/views.py#L47-L60 — CVE Program
- https://github.com/openspug/spug/blob/v4.1.0/spug_api/libs/gitlib.py#L197-L208 — CVE Program
- https://www.vulncheck.com/advisories/spug-4.0.0-before-4.1.1-os-command-injection-via-credential-check-endpoint — CVE Program
Weaknesses (CWE): CWE-78
Relevant change history
Published
Preliminary advisory published.