CVE-2026-137090: build-git-clone before 1.0.4 OS Command Injection in clone() via repository URL
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using build-git-clone versions before 1.0.4 are exposed when their use of clone() can receive a repository URL controlled by an attacker.
What does an attacker need to exploit this issue?
An attacker needs to supply a crafted repository URL to clone(). No authentication, user interaction, or special attack complexity is indicated by the provided severity vector.
What should be done if the package is in use?
Upgrade build-git-clone to version 1.0.4 or later. Until upgrading, do not allow untrusted input to be used as the repository URL passed to clone().