Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.1%top 39%

CVE-2026-11572: Command Injection in degit

0
High
VulnerabilityCVE-2026-11572cvecve-2026-11572
Published: 06/09/2026 (06/09/2026, 05:00:04 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

degit
pkg:npm/degit
Affected versions
<2.8.6>=3.0.0 <3.3.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/31/2026, 00:13:25 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses