Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app passing untrusted URL to clone()
-
DeliveryCraft repository URL with shell metacharacters ($() or ;)
-
Exploiturl concatenated into sh -c command
-
ExecutionInjected OS commands execute as Node.js process
-
ImpactFull command execution / system compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an application that uses build-git-clone before 1.0.4 and passes attacker-controllable input into the url parameter of the clone() function, where it is concatenated into a |
| Impact | This is a genuinely high-priority flaw, and the signals mostly agree. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 9.3 and describes a straightforward, low-complexity command-injection path with no privileges or user interaction, and the vendor-assigned impact is full compromise (VC:H/VI:H/VA:H). The vuln.today decision label is act_now and the finding was reported by VulnCheck, reinforcing urgency. However, two signals are MISSING and should temper deployment-wide panic: no EPSS score was provided, and there is no KEV listing - so this is not confirmed as actively exploited. No working public exploit code is identified either (the VulnCheck entry is an advisory, not a verified exploit). The most important caveat is that build-git-clone is a library function, so the AV:N/PR:N rating assumes the embedding application passes attacker-influenced data into the url argument; real-world exposure depends entirely on whether a given consumer feeds untrusted URLs to clone(). Net: treat as act_now for anyone shipping this dependency, but recognize the real-world blast radius is bounded by the package's limited adoption rather than by severity. |
| Exploit ScenarioDerived | An application uses build-git-clone (<1.0.4) and calls clone() with a repository URL derived from user-supplied input. An attacker submits a URL containing shell metacharacters such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
OS command injection in the build-git-clone Node.js library affects every release before 1.0.4: the clone() function concatenates its url argument into a sh -c command string, so a crafted repository URL containing shell metacharacters such as ; or $() executes arbitrary operating system commands with the privileges of the Node.js process. The flaw is rated critical (CVSS 4.0 base 9.3; independently assessed as CVSS 3.1 AV:N/AC:L/PR:N/UI:N with high confidentiality, integrity and availability impact) and is unauthenticated and requires no user interaction from the library's perspective. Exposure is conditional on the embedding application passing attacker-influenced input into clone()'s url parameter - a service that only clones hard-coded or operator-supplied repositories is not reachable. No public exploit code or confirmed active exploitation was identified at time of analysis, but the priority label is act_now and vendor-released patch version 1.0.4 is available.
RemediationAI
Vendor-released patch: upgrade build-git-clone to version 1.0.4 or later (npm install build-git-clone@1.0.4), which replaces the shell-concatenated invocation with child_process.spawn and eliminates the injection surface; the fix is contained in commit https://github.com/emanuelmoraes-dev/build-git-clone/commit/3d55e64e5b7c61e560b5d030d6a918cad5c67a29 and pull request https://github.com/emanuelmoraes-dev/build-git-clone/pull/1, with details in the VulnCheck advisory https://www.vulncheck.com/advisories/build-git-clone-before-1.0.4-os-command-injection-in-clone-via-repository-url. Because 1.0.4 is a tagged release, no manual patching of library internals is required. Until the upgrade is deployed, the effective compensating control is to stop untrusted data reaching the url parameter: validate each URL against a strict allowlist of repository hosts and reject any value containing shell metacharacters (;, $, backticks, |, &, newlines) before calling clone(), and audit call sites where user-, webhook- or API-supplied repository URLs are forwarded into clone(). The trade-off is that such filtering is bypass-prone and depends on every caller implementing it consistently, so it is only a stopgap; reducing the privilege of the Node.js process (and the git credentials available to it) limits the blast radius but does not remove the injection. Rotate any credentials or tokens exposed to a process that may have been running a vulnerable version while accepting untrusted URLs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
build-git-clone is a small npm utility that wraps git clone for Node.js programs, creating a destination folder and optionally running a follow-up command. Per the referenced source at src/index.ts line 77 and the added src/clone.ts, the vulnerable clone() helper received a url string and interpolated it into a combined command executed through sh -c (the resolved child process helper), meaning the shell - not git - parsed the string. This is classic CWE-78 OS command injection: no argument separation and no escaping or allowlisting of shell metacharacters, so ;, $(...), backticks or && terminate the git invocation and start an attacker-chosen command under the Node.js process identity (which in CI runners often carries repository credentials and deployment secrets). The upstream fix commit 3d55e64e5b7c61e560b5d030d6a918cad5c67a29 (PR #1) introduces src/clone.ts using child_process.spawn, which passes the URL as a discrete argv element rather than through a shell, removing the injection surface; that commit also bumps the package to 1.0.4 and refreshes a few transitive dependencies (brace-expansion, diff, minimatch). The precise trigger depends entirely on the calling application: the library itself performs no authentication or trust checks on the url value, and the trigger and reachability are not described further in the available sources.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated metacharacter injection into a url arg concatenated into sh -c gives trivial (AC:L) arbitrary command execution with full C/I/A impact; AV:N assumes the consuming app sources the URL remotely.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 2
Executive ViewAI
CVE-2026-137090 is a critical OS command injection flaw in the build-git-clone Node.js library, affecting every release prior to 1.0.4. Applications that pass user- or attacker-influenced input into clone()'s URL argument can have arbitrary operating system commands executed with the privileges of the Node.js process, exposing the confidentiality, integrity, and availability of affected hosts. Leadership should care because a single request path into this function could permit full compromise of the host, so engineering must quickly determine whether any internet-facing service exposes this code path.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-135756
GHSA-hhmx-h2rc-g3pp
NVD
CVE.org
EPSS
Exploit-DB