CVE-2026-11572: Command Injection in degit
The degit package contains a command injection vulnerability in versions before 2.8.6 and from 3.0.0 up to 3.3.1. This vulnerability is due to improper sanitization of user input used in git shell commands executed via exec(), allowing attackers to execute arbitrary OS commands with the privileges of the running process. It has a high severity rating with a CVSS score of 8.7.
AI Analysis
Technical Summary
CVE-2026-11572 is a command injection vulnerability in the degit package affecting versions prior to 2.8.6 and versions from 3.0.0 through 3.3.1. The issue arises from insufficient sanitization of user-supplied input used in git shell commands executed via the exec() method in certain functions. An attacker can exploit this by providing a specially crafted git repository name, leading to arbitrary OS command execution with the permissions of the degit process. This vulnerability is classified under CWE-77 (Improper Neutralization of Special Elements used in a Command). The CVSS 4.0 base score is 8.7, indicating high severity. No official patch or remediation guidance is currently documented, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands with the privileges of the degit process. This can lead to full system compromise depending on the privileges of the running process. The vulnerability affects the integrity and confidentiality of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using affected versions of degit or restrict usage to trusted inputs only. Monitor vendor channels for updates regarding patches or official mitigations.
CVE-2026-11572: Command Injection in degit
Description
The degit package contains a command injection vulnerability in versions before 2.8.6 and from 3.0.0 up to 3.3.1. This vulnerability is due to improper sanitization of user input used in git shell commands executed via exec(), allowing attackers to execute arbitrary OS commands with the privileges of the running process. It has a high severity rating with a CVSS score of 8.7.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-11572 is a command injection vulnerability in the degit package affecting versions prior to 2.8.6 and versions from 3.0.0 through 3.3.1. The issue arises from insufficient sanitization of user-supplied input used in git shell commands executed via the exec() method in certain functions. An attacker can exploit this by providing a specially crafted git repository name, leading to arbitrary OS command execution with the permissions of the degit process. This vulnerability is classified under CWE-77 (Improper Neutralization of Special Elements used in a Command). The CVSS 4.0 base score is 8.7, indicating high severity. No official patch or remediation guidance is currently documented, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands with the privileges of the degit process. This can lead to full system compromise depending on the privileges of the running process. The vulnerability affects the integrity and confidentiality of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using affected versions of degit or restrict usage to trusted inputs only. Monitor vendor channels for updates regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-06-08T09:46:19.583Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a27adb3e29bf47b504f94bc
Added to database: 06/09/2026, 06:07:47 UTC
Last enriched: 07/31/2026, 00:13:25 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.