{"id":"CVE-2026-102827","published":"2026-09-29T19:17:25.050","lastModified":"2026-10-02T13:17:26.597","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 compares parsed option names with literal dangerous option spellings while Git accepts unambiguous long-option abbreviations. Attacker-influenced push arguments such as abbreviated --receive-pack or --exec forms can therefore bypass detectVulnerableFlags, reach git push against a local or file remote or an attacker-influenced receive-pack target, and cause Git to invoke an attacker-selected command in consumers that expose those arguments. The clone-side abbreviation handling does not protect the push path. 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-88"],"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-858h-whjf-mvg5","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-858h-whjf-mvg5","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows attackers to bypass safety checks and execute arbitrary commands via Git push operations, posing a significant risk.","exploitability":"Exploitation is moderately hard as it requires influencing push arguments, but preconditions include the use of an affected version of simple-git.","blast_radius":"If exploited, this could lead to unauthorized command execution in the context of the application, potentially compromising the entire system.","remediation":"Upgrade to simple-git 4.0.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","git","nodejs","command-execution"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-05T08:43:45.192Z"}}