CVE-2026-11572 PUBLISHED

Assigner: snyk
Reserved: 08.06.2026 Published: 09.06.2026 Updated: 09.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
CVSS Score: 8.7

Product Status

Vendor n/a
Product degit
Versions
  • affected from 0 to 2.8.6 (excl.)
  • affected from 3.0.0 to 3.3.1 (excl.)

Credits

  • Amar Khatri
  • Mokksh Parekh

References

Problem Types

  • Command Injection