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.
Published: 2026-06-09
Score: 8.7 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 18 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
Title Command Injection via Unsanitized Git Repository Name in degit

Wed, 17 Jun 2026 05:15:00 +0000

Type Values Removed Values Added
Title Command Injection via Unsanitized Git Repository Name in degit

Tue, 16 Jun 2026 07:30:00 +0000

Type Values Removed Values Added
Title Command Injection Vulnerability in degit Package

Tue, 09 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
Title Command Injection Vulnerability in degit Package

Tue, 09 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-77
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 09 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Rich-harris
Rich-harris degit
Vendors & Products Rich-harris
Rich-harris degit

Tue, 09 Jun 2026 06:15:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Rich-harris Degit
cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2026-06-09T13:14:04.550Z

Reserved: 2026-06-08T09:46:19.583Z

Link: CVE-2026-11572

cve-icon Vulnrichment

Updated: 2026-06-09T13:13:59.286Z

cve-icon NVD

Status : Deferred

Published: 2026-06-09T06:16:53.000

Modified: 2026-06-09T14:16:34.570

Link: CVE-2026-11572

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T07:30:05Z

Weaknesses