{"id":"CVE-2026-102827","published":"2026-09-29T18:39:57Z","modified":"2026-10-02T12:21:16Z","title":"simple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution…","vendor":"steveukx","product":"git-js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00729,"percentile":0.50163,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-858h-whjf-mvg5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/steveukx/git-js/pull/1193","tags":["x_refsource_MISC"]},{"url":"https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7","tags":["x_refsource_MISC"]},{"url":"https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":10.03},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-13","earliestUrl":"https://github.com/D7EAD/CVE-2026-102827","repos":[{"name":"D7EAD/CVE-2026-102827","url":"https://github.com/D7EAD/CVE-2026-102827","stars":2,"created":"2026-10-13"}]},"first":{"date":"2026-10-13","source":"PoC-in-GitHub","url":"https://github.com/D7EAD/CVE-2026-102827"},"provenance":"source"},"vendorSlug":"steveukx","affectedVersions":[{"vendor":"steveukx","product":"git-js","versions":["< 4.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-02T12:21:03.495651Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"simple-git","vulnerableRanges":["<4.0.0"],"patched":["4.0.0"],"from":["GHSA-858h-whjf-mvg5"],"provenance":"source"}],"summary":{"text":"In simple-git (the steveukx git-js Node.js package), the default blockUnsafeOperationsPlugin matches option names against literal dangerous spellings, so abbreviated long options such as --receive-pack or --exec in push arguments evade its check. An attacker who can influence push arguments in an application that exposes them can cause Git to run an attacker-selected command, with no authentication or user interaction required and only a network-reachable request needed to reach the push path against a local or file remote.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:17:27Z"},"euvd":{"id":"EUVD-2026-89333","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-28292","published":"2026-03-10","fixed":"3.32.3","kev":false},{"cve":"CVE-2026-6951","published":"2026-04-25","fixed":"3.36.0","kev":false},{"cve":"CVE-2026-102826","published":"2026-09-29","fixed":"4.0.0","kev":false},{"cve":"CVE-2026-102827","published":"2026-09-29","fixed":"4.0.0","kev":false},{"cve":"CVE-2026-102828","published":"2026-09-29","fixed":"4.0.1","kev":false,"link":{"from":"CVE-2026-102827","to":"CVE-2026-102828","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:simple-git","fromFixed":"4.0.0","toFixed":"4.0.1","daysApart":0}]}}],"package":"npm:simple-git"}}