← Back to CVE search

CVE-2026-11572

degit

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.

CVSS 8.8EPSS 1.057%Risk 0.96
View source
Published
2026-06-09 06:16:53
Affected versions
<2.8.6, >=3.0.0,<3.3.1
Type
Package
Last modified
2026-07-23 08:10:00
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H