Read the docs
TI-2026-09994 Aliases CVE-2026-11572GHSA-77c7-pq4r-6mcq

OS command injection in degit

Priority HIGH 73CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01043 64th percentileScored 2026-11-07
Fix Fixed degit: 2.8.6, 3.3.1degit (npm): 2.8.6, 3.3.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—degitbefore 2.8.6; 3.0.0 to before 3.3.12.8.6, 3.3.1Patch availableCNA
—degit (npm)before 2.8.62.8.6Patch availableGHSA-77c7-pq4r-6mcq
—degit (npm)3.0.0 to before 3.3.13.3.1Patch availableGHSA-77c7-pq4r-6mcq
  • degit Vendor— Affected before 2.8.6; 3.0.0 to before 3.3.1 Fixed in 2.8.6, 3.3.1 Patch available CNA
  • degit (npm) Vendor— Affected before 2.8.6 Fixed in 2.8.6 Patch available GHSA-77c7-pq4r-6mcq
  • degit (npm) Vendor— Affected 3.0.0 to before 3.3.1 Fixed in 3.3.1 Patch available GHSA-77c7-pq4r-6mcq

Remediation

  • Fix · CNA degit Fixed in 2.8.6, 3.3.1
  • Fix · GHSA-77c7-pq4r-6mcq degit (npm) Fixed in 2.8.6 Advisory →
  • Fix · GHSA-77c7-pq4r-6mcq degit (npm) Fixed in 3.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-11572
  2. 2026-10-03 Alias added: GHSA-77c7-pq4r-6mcq

References

Sources