Vulnerability · Published Jun 9, 2026 · Assigned by snyk

CVE-2026-11572

High 8.8

In plain English

A high-severity OS command injection in degit. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.0%top 35.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmdegit2.8.6GHSA-77c7-pq4r-6mcq
npmdegit3.3.1GHSA-77c7-pq4r-6mcq

Affected products (as reported)

VendorProductVersions
n/a degit 0 – before 2.8.63.0.0 – before 3.3.1

Weakness: CWE-78, CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P

References