CVE-2026-11572
Versions of the package degit before 2.8.6, from 3.0.0 and before …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/badp3te/cf22a939eedbd3d8ade9123827d61639
- github.com/Rich-Harris/degit/commit/4ac99e4a4c3f53ca3b5c997bcd7542742ad0c443
- github.com/Rich-Harris/degit/commit/d55bfd7cea79c0b387f69ec8477b6c34abf9f226
- security.snyk.io/vuln/SNYK-JS-DEGIT-17116207
- nvd.nist.gov/vuln/detail/CVE-2026-11572
- github.com/advisories/GHSA-77c7-pq4r-6mcq
- nvd.nist.gov/vuln/detail/CVE-2026-11572
- cve.org/CVERecord?id=CVE-2026-11572
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.