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.
Metrics
Affected Vendors & Products
References
History
Tue, 09 Jun 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-77 | |
| Metrics |
ssvc
|
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
|
Status: PUBLISHED
Assigner: snyk
Published: 2026-06-09T05:00:04.627Z
Updated: 2026-06-09T13:14:04.550Z
Reserved: 2026-06-08T09:46:19.583Z
Link: CVE-2026-11572
Updated: 2026-06-09T13:13:59.286Z
Status : Deferred
Published: 2026-06-09T06:16:53.000
Modified: 2026-06-09T14:16:34.570
Link: CVE-2026-11572
No data.