{"id":"CVE-2026-102826","published":"2026-09-29T19:17:24.883","lastModified":"2026-09-30T19:56:45.443","description":"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.","cvssScore":8.1,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-77","CWE-78"],"vendors":[],"products":[],"references":[{"url":"https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7","tags":[]},{"url":"https://github.com/steveukx/git-js/pull/1193","tags":[]},{"url":"https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.0","tags":[]},{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-g4wm-2vf7-vfgr","tags":[]},{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-g4wm-2vf7-vfgr","tags":[]}],"exploitRefs":[{"url":"https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7","tags":[]},{"url":"https://github.com/steveukx/git-js/pull/1193","tags":[]},{"url":"https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.0","tags":[]},{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-g4wm-2vf7-vfgr","tags":[]},{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-g4wm-2vf7-vfgr","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows an attacker to load an attacker-controlled configuration file, setting executable Git options that can be invoked during the clone operation with the Node.js process privileges, leading to potential Remote Code Execution (RCE).","exploitability":"Exploitation requires the application to pass attacker-influenced custom arguments and an attacker-controlled file that the process can read, making it moderately difficult.","blast_radius":"If exploited, the impact could be severe, as the attacker could gain control over the Node.js process with the privileges of the application, potentially leading to data theft or system compromise.","remediation":"Upgrade to version 4.0.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","git","nodejs","config-injection"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-05T08:43:44.445Z"}}