Home / degit / degit / CVE-2026-11572
CVE-2026-11572: is it exploited, and which versions of degit are affected and fixed?
CVE-2026-11572 is an OS command injection vulnerability in degit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: degit before 2.8.6 and degit from 3.0.0 before 3.3.1 (GitHub advisory GHSA-77c7-pq4r-6mcq). Fixed in 2.8.6 and 3.3.1 (GitHub advisory GHSA-77c7-pq4r-6mcq). Severity: High (8.7, CVSS 4.0, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-11572?
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.
From the CVE record by snyk, last updated June 9, 2026, 13:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| degit | before 2.8.6 from 3.0.0 before 3.3.1 | 2.8.6, 3.3.1 |
As the CVE record by snyk states it, last updated June 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | degit | < 2.8.6 | 2.8.6 | GHSA-77c7-pq4r-6mcq |
| npm | degit | >= 3.0.0, < 3.3.1 | 3.3.1 | GHSA-77c7-pq4r-6mcq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 30, 2026. Summary: degit has a Command Injection issue.
How severe is CVE-2026-11572?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | 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 | snyk |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P | snyk |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-11572 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, June 9, 2026)
- EPSS
- 1.04% probability of exploitation activity in the next 30 days, percentile 65.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://security.snyk.io/vuln/SNYK-JS-DEGIT-17116207
- https://gist.github.com/badp3te/cf22a939eedbd3d8ade9123827d61639
- https://github.com/Rich-Harris/degit/commit/d55bfd7cea79c0b387f69ec8477b6c34abf9f226
- https://github.com/Rich-Harris/degit/commit/4ac99e4a4c3f53ca3b5c997bcd7542742ad0c443
Who found and reported it?
- Amar Khatri (finder)
- Mokksh Parekh (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 8, 2026
- Published
- June 9, 2026, 05:00 UTC
- CVE record updated
- June 9, 2026, 13:14 UTC by snyk
- NVD
- Deferred, last modified July 23, 2026, 08:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-11572
Is CVE-2026-11572 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 1.04% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of degit are affected by CVE-2026-11572?
degit before 2.8.6 and degit from 3.0.0 before 3.3.1, per the GitHub advisory GHSA-77c7-pq4r-6mcq. The tables above give every range the sources list.
Which version fixes CVE-2026-11572?
2.8.6 and 3.3.1, per the GitHub advisory GHSA-77c7-pq4r-6mcq. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-11572?
High (8.7, CVSS 4.0, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2026-11572?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.