Skip to content
DayZeroHub
Critical CVSS 9.3CVE-2026-137090

build-git-clone before 1.0.4: OS command injection in clone()

emanuelmoraes-dev build-git-clone

Summary

build-git-clone versions before 1.0.4 contain an OS command injection vulnerability in the clone() function via the repository URL. It has been assigned CVE-2026-137090 and a CVSS 4.0 score of 9.3 (critical).

What happened

The clone() function in build-git-clone incorporates the repository URL argument into a command that is run through sh -c. An attacker who supplies a crafted URL containing shell metacharacters can cause operating system commands to be executed. The weakness is classified as CWE-78 (OS command injection).

Why it matters

Commands run with the privileges of the Node.js process that uses the library. The CVSS 4.0 score of 9.3 (critical severity), assigned by VulnCheck as CNA, corresponds to the 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, which indicates network access, low complexity, no privileges or user interaction required, and high impact on confidentiality, integrity and availability. The source does not indicate active exploitation of this vulnerability.

Affected products and versions

Product build-git-clone, from vendor emanuelmoraes-dev: versions before 1.0.4 (< 1.0.4).

ProductVersionsFixed in
emanuelmoraes-dev build-git-clone< 1.0.4—

Action recommended by the source

The source does not state an explicit recommendation or a separate fixed version. The official references include a commit and a pull request tagged as patches in the vendor's repository, as well as a VulnCheck advisory; readers are advised to consult them for details of the fix.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-78

Relevant change history

  1. Advisory correction

    The preliminary version was replaced by the full write-up.

  2. Published

    Preliminary advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources