Skip to content

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.

PackageAffectedFixed inStatus
npm degit(npm) < 2.8.6; >= 3.0.0, < 3.3.1 2.8.6, 3.3.1 Fixed

Affected products

ProductAffected versionsFixed in
npm degit(npm) < 2.8.6 2.8.6
npm degit(npm) >= 3.0.0, < 3.3.1 3.3.1

References