CVE-2026-137090: emanuelmoraes-dev build-git-clone
AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.
Summary
build-git-clone concatenates repository URLs into a shell command in its clone() function, allowing crafted URLs to inject operating system commands. Commands run with the privileges of the Node.js process.
Impact: OS command injection
Affected technologies
- build-git-clone before 1.0.4
Recommended action
Upgrade build-git-clone to 1.0.4 or later.
Details
| CVSS | 9.3 (Critical) |
| Vendor / product | emanuelmoraes-dev build-git-clone |
| Published | 2026-11-25 |
| Weakness | CWE-78 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Original 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.
References
- NVD record
- https://github.com/emanuelmoraes-dev/build-git-clone/blob/68bc305028d04c9a71a030c4b0b5cc36450201b9/src/index.ts#L77
- https://github.com/emanuelmoraes-dev/build-git-clone/commit/3d55e64e5b7c61e560b5d030d6a918cad5c67a29
- https://github.com/emanuelmoraes-dev/build-git-clone/pull/1
- https://www.vulncheck.com/advisories/build-git-clone-before-1.0.4-os-command-injection-in-clone-via-repository-url