All reports
High

degit has a Command Injection issue

Affected versions

Affected versions
>= 3.0.0, < 3.3.1
Fixed version
3.3.1
Affected versions
< 2.8.6
Fixed version
2.8.6

Exploitation

CVE-2026-11572

Probability of exploitation in the next 30 days: 1.04%

FIRST EPSS · 2026-11-21

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.

Links