PatchSiren cyber security CVE debrief
CVE-2026-11572 Rich-Harris CVE debrief
CVE-2026-11572 is a high-severity vulnerability in the degit package. Versions before 2.8.6 and from 3.0.0 to before 3.3.1 are vulnerable to command injection due to improper sanitization of user input for git shell commands. This allows an attacker to execute arbitrary operating system commands as the process user by supplying a specially crafted git repository name.
- Vendor
- Rich-Harris
- Product
- degit
- CVSS
- HIGH 7.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-09
- Original CVE updated
- 2026-06-09
- Advisory published
- 2026-06-09
- Advisory updated
- 2026-06-09
Who should care
Developers and users of the degit package, especially those using versions before 2.8.6 or between 3.0.0 and 3.3.1, should be aware of this vulnerability and take steps to mitigate it.
Technical summary
The vulnerability exists in the _cloneWithGit() and fetchRefs() functions, which directly invoke git shell commands with user-input data without proper sanitization. This can be exploited by providing a malicious git repository name, allowing the execution of arbitrary system commands.
Defensive priority
High
Recommended defensive actions
- Update to a secure version of degit (2.8.6 or later, or 3.3.1 or later) as soon as possible.
- Use secure coding practices to validate and sanitize user input.
- Monitor your systems for suspicious activity related to degit.
Evidence notes
Evidence of this vulnerability comes from Snyk, as indicated by the sourceItem and resourceLinks.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-11572 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-11572
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-11572 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-11572
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://gist.github.com/badp3te/cf22a939eedbd3d8ade9123827d61639
-
Source reference
Unverified legacy reference
URL: https://github.com/Rich-Harris/degit/commit/4ac99e4a4c3f53ca3b5c997bcd7542742ad0c443
-
Source reference
Unverified legacy reference
URL: https://github.com/Rich-Harris/degit/commit/d55bfd7cea79c0b387f69ec8477b6c34abf9f226
-
Source reference
Unverified legacy reference
URL: https://security.snyk.io/vuln/SNYK-JS-DEGIT-17116207
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.