CVE-2026-137090: emanuelmoraes-dev build-git-clone · Remote code execution
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-25
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.
Enclave's analysis
build-git-clone before 1.0.4 builds a shell command from the repo URL you hand it, so a URL with `;` or `$()` runs arbitrary OS commands as the Node process. It's a textbook shell-injection bug, fixed cleanly in 1.0.4 by switching to an argv-array spawn. But the package has zero declared npm dependents and no public PoC or exploitation reports exist. Real risk only shows up if some app you run actually forwards untrusted input into this function's url argument — check for that and bump to 1.0.4.
Fix
Upgrade to 1.0.4.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| build-git-clone | 0 before 1.0.4 | 1.0.4 |