build-git-clone before 1.0.4 OS Command Injection in clone() via repository URL
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 25, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 25, 2026
Description
build-git-clone before 1.0.4 contains an OS command injection vulnerability in the clone() function that allows attackers to execute commands by supplying crafted repository URLs. Attackers can embed shell metacharacters such as ; or $() in the url argument, which is concatenated into a sh -c command, to execute operating system commands with Node.js process privileges.
| Product | Versions |
|---|---|
| build-git-clone emanuelmoraes-dev | before 1.0.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.8 Critical | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://github.com/emanuelmoraes-dev/build-git-clone/commit/3d55e64e5b7c61e560b5d030d6a918cad5c67a29Patch
- https://github.com/emanuelmoraes-dev/build-git-clone/pull/1Issue TrackerPatch
- https://github.com/emanuelmoraes-dev/build-git-clone/blob/68bc305028d04c9a71a030c4b0b5cc36450201b9/src/index.ts#L77Technical Details
- VulnCheck Advisory: build-git-clone before 1.0.4 OS Command Injection in clone() via repository URLThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.