degit 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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-11572US | — | — | ||
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 direct… | ||||
02
references
External citations — patches, advisories, analysis.
- https://gist.github.com/badp3te/cf22a939eedbd3d8ade9123827d61639WEB
- https://github.com/Rich-Harris/degitPACKAGE
- https://github.com/Rich-Harris/degit/commit/4ac99e4a4c3f53ca3b5c997bcd7542742ad0c443WEB
- https://github.com/Rich-Harris/degit/commit/d55bfd7cea79c0b387f69ec8477b6c34abf9f226WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-11572ADVISORY
- https://security.snyk.io/vuln/SNYK-JS-DEGIT-17116207WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan