Security mailing lists by PureSourceCode

CVE-2026-11572

HIGH 7.4CVSS 4.0

degit has a Command Injection issue

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.

Published
9 Jun 2026
Last modified
30 Jul 2026
Assigned by
report@snyk.io
NVD status
Deferred
Weakness
CWE-77CWE-78
Also known as
GHSA-77c7-pq4r-6mcq
Sources
NVDJSONOSV GHSA-77c7-pq4r-6mcqJSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 4.0 HIGH 7.4 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm degit < 2.8.6 2.8.6
OSV npm degit >= 3.0.0, < 3.3.1 3.3.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jun 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.