CVE Catalog

CVE-2026-102828

CriticalCVSS 9.2
Published: Translated: NVD NIST

Summary

simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. From 3.15.0 until 4.0.1, the default blockUnsafeOperationsPlugin does not classify trailer.<token>.cmd as unsafe configuration. An application that passes attacker-controlled values through SimpleGitOptions.config or inline -c arguments can therefore allow Git to invoke an attacker-selected shell command when git interpret-trailers processes the configured trailer. The command executes with the operating-system identity and permissions of the Node.js process. This issue is fixed in 4.0.1.

Risk Assessment

An attacker could supply malicious configuration, potentially leading to arbitrary shell command execution with Node.js process privileges, which could result in full system compromise.

Recommendation

Update simple-git to version 4.0.1 or later to ensure unsafe trailer configurations are blocked.

Other vulnerabilities in simple-git

See all
Original NVD description (English source)

simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. From 3.15.0 until 4.0.1, the default blockUnsafeOperationsPlugin does not classify trailer.<token>.cmd as unsafe configuration. An application that passes attacker-controlled values through SimpleGitOptions.config or inline -c arguments can therefore allow Git to invoke an attacker-selected shell command when git interpret-trailers processes the configured trailer. The command executes with the operating-system identity and permissions of the Node.js process. This issue is fixed in 4.0.1.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS