CVE-2026-11572
HIGH 7.4CVSS 4.0degit has a Command Injection issue
Versions of the package degit before 2.8.6, from 3.0.0 and before 3.3.1 are vulnerable to Command Injection due to improper sanitisation of user input for git shell commands directly invoked with exec() method by _cloneWithGit() and fetchRefs() functions. An attacker can execute arbitrary operating system commands as the process user by supplying a specially crafted git repository name.
- Published
- 9 Jun 2026
- Last modified
- 30 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-77c7-pq4r-6mcq
- Sources
- NVDJSONOSV GHSA-77c7-pq4r-6mcqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | HIGH 7.4 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | degit | < 2.8.6 | 2.8.6 |
| OSV | npm | degit | >= 3.0.0, < 3.3.1 | 3.3.1 |
References
- https://gist.github.com/badp3te/cf22a939eedbd3d8ade9123827d61639 · WEB
- https://github.com/Rich-Harris/degit/commit/4ac99e4a4c3f53ca3b5c997bcd7542742ad0c443 · WEB
- https://github.com/Rich-Harris/degit/commit/d55bfd7cea79c0b387f69ec8477b6c34abf9f226 · WEB
- https://security.snyk.io/vuln/SNYK-JS-DEGIT-17116207 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-11572 · ADVISORY
- https://github.com/Rich-Harris/degit · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Jun 2026)