Skip to main content
← All vulnerabilities
CVE-2026-11572GHSA-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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.8.6, 3.3.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n/a degit

    fixed in 2.8.6; From 3.0.0 · fixed in 3.3.1

  • degitnpm

    fixed in 2.8.6

  • degitnpm

    From 3.0.0 · fixed in 3.3.1

References 4

security.snyk.io

gist.github.com

GitHub · Rich-Harris/degit