NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-11572: degit has a Command Injection issue

highCVSS 4.0 7.4 · 3.1 8.8GHSA-77c7-pq4r-6mcq

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.

Published Jun 9, 2026 · Updated Jul 30, 2026

Affected packages

degit

Ecosystem
npm
Affected
< 2.8.6
Fixed in
2.8.6
Check
npm ls degit

degit

Ecosystem
npm
Affected
>= 3.0.0, < 3.3.1
Fixed in
3.3.1
Check
npm ls degit

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology