PT-2026-47686 · Npm · Degit

·

CVE-2026-11572

·

Published

2026-06-09

·

Updated

2026-06-09

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions degit versions prior to 2.8.6 degit versions 3.0.0 through 3.3.0
Description Command Injection occurs due to improper sanitization of user input used in git shell commands. The cloneWithGit() and fetchRefs() functions directly invoke these commands using the exec() method. An attacker can execute arbitrary operating system commands as the process user by providing a specially crafted git repository name. This issue primarily affects template generators, project bootstrappers, and CI pipelines that process untrusted repository identifiers.
Recommendations Update to version 2.8.6 for versions prior to 2.8.6. Update to version 3.3.1 for versions 3.0.0 through 3.3.0.

Exploit

Fix

Command Injection

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-11572
GHSA-77C7-PQ4R-6MCQ

Affected Products

Degit