CVE-2026-11572 degit has a Command Injection issue
HighCVSS 8.7
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm degit(npm) | < 2.8.6; >= 3.0.0, < 3.3.1 | 2.8.6, 3.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm degit(npm) | < 2.8.6 | 2.8.6 |
| npm degit(npm) | >= 3.0.0, < 3.3.1 | 3.3.1 |
References
- security.snyk.io
- gist.github.com exploit
- github.com patch
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product