Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence customArgs passed to git.clone()
-
DeliveryPlant/reference attacker-readable config file
-
ExploitInject include.path or includeIf.*.path arg
-
ExecutionGit loads config setting core.sshCommand
-
PersistGit spawns command during clone
-
ImpactArbitrary code runs as Node.js process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique 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 | Requires simple-git prior to 4.0.0 where the default blockUnsafeOperationsPlugin is relied upon, AND the host application must pass attacker-influenced custom arguments into git.clone() (customArgs), AND an attacker-controlled configuration file must already exist at a path the Node.js process can read. The concrete injected primitive is a git configuration include - include.path or, after the incomplete initial fix, includeIf.<condition>.path - that loads that file and sets an executable option such as core.sshCommand. Limiting factors: exploitation is impossible if the application does not forward untrusted input into customArgs, if no attacker-readable file can be positioned, or once upgraded to 4.0.0; these preconditions justify the High attack complexity and mean default/hardcoded-argument usages are not exposed. |
| Impact | The CVSS 3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects full triad compromise (arbitrary command execution via core.sshCommand) reachable without authentication, but the High attack complexity (AC:H) is the decisive real-world discriminator: exploitation requires BOTH attacker-influenced customArgs reaching git.clone() AND an attacker-controlled file already readable by the Node.js process. No EPSS score, no CISA KEV listing, and no public exploit are present in the provided intelligence, so this is 'no public exploit identified at time of analysis' - do not treat it as actively exploited. The signals are internally consistent (a genuine command-injection primitive gated by non-trivial preconditions), so this reads as a real-but-conditional priority rather than a broadly wormable network RCE: high impact where the two prerequisites align, but not mass-exploitable against default deployments. Note the AV:N assignment is somewhat generous given that a locally readable attacker file is required; the network vector is justified only because the malicious customArgs typically arrive as application input - verify against your own data-flow before assuming remote reach. |
| Exploit ScenarioDerived | A Node.js application (e.g. a CI/CD runner, git-hosting backend, or SaaS repo-import feature) passes user-supplied values into simple-git's customArgs for git.clone(). An attacker who can also place or influence a readable file on the host injects an include.path or includeIf.<condition>.path argument pointing at that file, which defines core.sshCommand; git executes that command during the clone with the privileges of the Node.js process. No public PoC is referenced, and High attack complexity means the attacker must control both the custom arguments and a readable on-disk file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 29, 2026
Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary commands with the privileges of the Node.js process. The default blockUnsafeOperationsPlugin failed to classify include.path inside customArgs passed to git.clone(), and the initial remediation also missed includeIf.<condition>.path, so a loaded config file could set an executable option such as core.sshCommand that Git runs during the clone. Exploitation is unauthenticated (CVSS:3.1/AV:N/AC:H/PR:N/UI:N, base 8.1) but requires both attacker-influenced customArgs reaching git.clone() and an attacker-controlled file already readable by the Node.js process; no public exploit was identified at time of analysis and the issue is fixed in simple-git 4.0.0.
RemediationAI
Vendor-released patch: upgrade to simple-git 4.0.0 (npm install simple-git@^4.0.0), which is the only version carrying the complete fix for both include.path and includeIf.<condition>.path, per GHSA-g4wm-2vf7-vfgr and the release tag simple-git@4.0.0 (fix commit 98864c678444d9336357c844efa4fd5a7984c0d7, PR 1193). Treat this as a breaking major upgrade: the default export is removed in favor of the named simpleGit export, simple-git/promise and gitP are removed, abbreviated long-form git options (for example --conf= instead of --config=) now throw GitConfigurationError, and ambient GIT_* environment variables are stripped from the git child process - the last two changes may break applications that depended on those behaviors, and restoring them requires the explicit double opt-in shown in the v4 release notes. If upgrading immediately is not feasible, the highest-value compensating control is to never forward untrusted or partially attacker-influenced input into customArgs or git.raw(); apply a strict allowlist of accepted clone options and reject any argument containing include.path or includeIf., trading off legitimate dynamic-option use cases. Additionally, run clone operations in a sandbox where the Node.js process cannot read attacker-supplied paths and where no SSH keys or credentials are readable, which blunts the core.sshCommand primitive at the cost of operational complexity, and note that no public exploit code was identified at time of analysis, so the upgrade window is not yet under active pressure. Because exploitation is impossible once 4.0.0 is installed or when applications do not pass untrusted data into customArgs, inventory first and prioritize packages that construct clone arguments from user input.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
simple-git is an npm library that wraps the git command-line client, spawning git child processes from Node.js. Its blockUnsafeOperationsPlugin is a default safety layer that screens arguments before they reach git, and the defect sits in that denylist screening rather than in git itself - CWE-77 (command injection), realized here as argument injection into git's configuration machinery. Git honors include.path and includeIf.<condition>.path directives in configuration, which cause it to load additional config files; if such a directive can be smuggled through customArgs to git.clone(), Git loads an attacker-controlled file, and any executable option defined there - the advisory's example is core.sshCommand - is invoked as a subprocess by git with the privileges of the Node.js process. The v4.0.0 changeset shows the fix was two-staged: the companion @simple-git/argv-parser package adds detection for includeIf.<condition>.path (credited to @NotAFlightRisk), and simple-git v4 additionally filters ambient environment variables before they reach the git child process (exporting an isGitEnvKey helper), blocks abbreviated long-form options such as --conf= that could evade name-based screening, and requires a double opt-in (allowEnvoronment plus unsafe flags, as spelled in the release notes) before unsafe environment variables can be passed. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) confirms network reachability with no authentication or user interaction, while High attack complexity reflects the stacked preconditions. No CPE strings were supplied for this CVE, so affected scope rests on the npm package identity through the GitHub advisory and release references.
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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AC:H because two independent preconditions (attacker-controlled customArgs plus a planted readable file) are required; PR:N/UI:N as no auth or victim action is needed, and core.sshCommand execution yields full C:H/I:H/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 4.0.0, the default blockUnsafeOperationsPlugin does not completely reject configuration includes supplied through customArgs to git.clone(). The missing include.path classification permits Git to load an attacker-controlled configuration file, and the initial remediation does not cover includeIf.<condition>.path, allowing the same file-loading primitive through a conditional include. A loaded configuration can set an executable Git option such as core.sshCommand, which Git invokes during the clone operation with the privileges of the Node.js process. Exploitation requires the application to pass attacker-influenced custom arguments and requires an attacker-controlled file that the process can read. This issue is fixed in 4.0.0.
Technical POC Analysis
CWE-77 command injection (the advisory also tags CWE-78) caused by an incomplete denylist, not by a missing sanitizer.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Applications and CI/CD pipelines built on the simple-git Node.js library (versions before 4.0.0) can be manipulated into running attacker-chosen commands with the same privileges as the hosting Node.js process, meaning a compromised build job or web request path could lead to code execution on build servers or production nodes. The practical risk is concentrated in teams that pass externally influenced arguments into git clone operations, which is common in automated repository tooling, deployment scripts, and multi-tenant developer platforms. Because the library underpins shared automation rather than a single product, a single unpatched dependency can expose many downstream services and the credentials they hold.
Apply vendor patch - upgrade to simple-git 4.0.0 or later, per the fix version identified in the advisory. Where immediate upgrade is not possible, strip or strictly allowlist all values passed to git.clone() customArgs, reject or filter Git configuration keys such as include.path, includeIf.<condition>.path, and core.sshCommand, run Git operations under a least-privilege account in an isolated container with no access to sensitive files, and rotate credentials accessible to any unpatched Node.js process.
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-89332
GHSA-g4wm-2vf7-vfgr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB