CVE-2026-11572 json
degit has a Command Injection issue
published 5mo ago modified 3mo ago also GHSA-77c7-pq4r-6mcq , EUVD-2026-35349
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm degit 2.8.6, 3.3.1
- n/a degit 2.8.6, 3.3.1
Is CVE-2026-11572 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 5mo ago
Exploit prediction
1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- gist.github.com https://gist.github.com/badp3te/cf22a939eedbd3d8ade9123827d61639 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P |
| CNA | 4.0 | 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 |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | degit | <2.8.6 >=3.0.0, <3.3.1 |
2.8.6 3.3.1 |
Affected products
- n/a degit
Classification
References
-
github.com
/Rich-Harris/degit/commit/d55bfd7cea79c0b387f69ec8477b6c34abf9f226
web
-
github.com
/Rich-Harris/degit/commit/4ac99e4a4c3f53ca3b5c997bcd7542742ad0c443
web
-
gist.github.com
/badp3te/cf22a939eedbd3d8ade9123827d61639
exploit, web
-
security.snyk.io
/vuln/SNYK-JS-DEGIT-17116207
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-11572
advisory
-
github.com
/Rich-Harris/degit
package
Sources
- CVE List CVE-2026-11572
- GitHub Advisory GHSA-77c7-pq4r-6mcq
- NVD CVE-2026-11572
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.