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

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

← Threat intelligence dashboard