{"schemaVersion":4,"id":"CVE-2026-28291","aliases":["GHSA-jcxm-m3jx-f287","CGA-95cp-cmjf-qfr2","CGA-ff52-r2qf-j3qc","CGA-h93j-v46f-mfch","CGA-xr4f-4vc9-gjwc"],"status":"published","duplicateOf":null,"title":"simple-git has Command Execution via Option-Parsing Bypass","description":"simple-git enables running native Git commands from JavaScript. Versions up to and including 3.31.1 allow execution of arbitrary commands through Git option manipulation, bypassing safety checks meant to block dangerous options like -u and --upload-pack. The flaw stems from an incomplete fix for CVE-2022-25860, as Git's flexible option parsing allows numerous character combinations (e.g., -vu, -4u, -nu) to circumvent the regular-expression-based blocklist in the unsafe operations plugin. Due to the virtually infinite number of valid option variants that Git accepts, a complete blocklist-based mitigation may be infeasible without fully emulating Git's option parsing behavior. This issue has been fixed in version 3.32.0.","dates":{"published":"2026-04-13T17:15:14.594Z","modified":"2026-07-15T01:11:56.580Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00816,"percentile":0.5842,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.04800000000000004,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00768},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00844,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00844,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00844,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00652,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00652,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00652,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00652,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00652,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00652,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00652,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.0093,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00988,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00816,"percentile":0.5842}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00768,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00798,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00988,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00816,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00816,"percentile":0.5842}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_STEVEUKX_GIT-JS","name":"Git Js","source":"github","url":"https://github.com/steveukx/git-js/security/advisories/GHSA-g4wm-2vf7-vfgr","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"chainguard","product":"gemini-cli","name":"gemini-cli","label":"gemini-cli","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gemini-cli","purlType":"apk","versions":[{"text":"< 0.49.0-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.49.0-r3","endInclusive":false}}],"versionsText":"< 0.49.0-r3","eol":null,"hubHref":null},{"vendor":"Npm","product":"simple-git","name":"simple-git","label":"simple-git","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/simple-git","purlType":"npm","versions":[{"text":"< 3.32.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.32.0","endInclusive":false}}],"versionsText":"< 3.32.0","eol":null,"hubHref":null},{"vendor":"simple-git_project","product":"simple-git","name":"simple-git","label":"simple-git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.32.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.32.0","endInclusive":false}}],"versionsText":"< 3.32.0","eol":null,"hubHref":"/vendor/simple-git_project/simple-git"},{"vendor":"steveukx","product":"git-js","name":"git-js","label":"git-js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.32.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.32.0","endInclusive":false}}],"versionsText":"< 3.32.0","eol":null,"hubHref":"/vendor/steveukx/git-js"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287","label":"github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2d","label":"github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2d","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/steveukx/git-js/blob/789c13ebabcf18ebe0b3a0c88ebb4037dede42e3/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts#L26","label":"github.com/steveukx/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://github.com/steveukx/git-js/releases/tag/simple-git%403.32.0","label":"github.com/steveukx/git-js/releases/tag/simple-git%403.32.0","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25860","label":"www.cve.org/CVERecord?id=CVE-2022-25860","hostname":"www.cve.org","tags":["X Refsource MISC","WEB","Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-28291","label":"access.redhat.com/security/cve/CVE-2026-28291","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457930","label":"bugzilla.redhat.com/show_bug.cgi?id=2457930","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28291.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28291.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28291","label":"nvd.nist.gov/vuln/detail/CVE-2026-28291","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/steveukx/git-js","label":"github.com/steveukx/git-js","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28291.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28291.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-RPH4-7C9F-V9J4"]},"timeline":[{"kind":"published","date":"2026-04-13T17:15:14.594Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:11:56.580Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (GitHub, Date unknown)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,1,1,81],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00816,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-07-15T01:11:56.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2026-07-15T01:11:56.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-07-15T01:11:56.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-07-15T01:11:56.580Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-04-14T13:53:36.631Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.00816,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:41:49.981Z","stale":false,"partial":false}}