CVE-2026-11572

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductDegit
PublishedJun 9, 2026
First seenJun 9, 2026

How to fix

Update
  • degit2.8.6, 3.3.1 or later

Affected products

ProductAffected versionsFixed in
degitnpmv < 2.8.6, 3.0.0 ≤ v < 3.3.12.8.6, 3.3.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.