CVE-2026-11572
8.8 HIGHVersions 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 ...
Published: 2026-06-09 · Last updated: 2026-06-09
Severity and scoring
- CVSS
- 8.8 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CWE
- CWE-77, CWE-78
Description
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-11572
- [Other]https://gist.github.com/badp3te/cf22a939eedbd3d8ade9123827d61639
- [Other]https://github.com/Rich-Harris/degit/commit/4ac99e4a4c3f53ca3b5c997bcd7542742ad0c443
- [Other]https://github.com/Rich-Harris/degit/commit/d55bfd7cea79c0b387f69ec8477b6c34abf9f226
- [Other]https://security.snyk.io/vuln/SNYK-JS-DEGIT-17116207
- [Other]https://gist.github.com/badp3te/cf22a939eedbd3d8ade9123827d61639
Related CVEs
Same CWE
- CVE-2026-24719 — A command injection vulnerability has been reported to affect several QNAP operating system versions
- CVE-2026-22893 — A command injection vulnerability has been reported to affect several QNAP operating system versions
- CVE-2025-66279 — A command injection vulnerability has been reported to affect several QNAP operating system versions
- CVE-2025-66273 — A command injection vulnerability has been reported to affect several QNAP operating system versions
- CVE-2026-49959 — Hermes WebUI before version 0.51.311 contains a remote code execution vulnerability that allows authenticated attackers to execute arbitr... (8.8 HIGH)