{"id":"EUVD-2026-22026","enisaUuid":"0757284b-4c7c-34a6-ae4b-2c20d98c413b","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\u0027s 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\u0027s option parsing behavior. This issue has been fixed in version 3.32.0.","datePublished":"Apr 13, 2026, 5:15:14 PM","dateUpdated":"Jul 15, 2026, 1:11:56 AM","baseScore":8.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","references":"https://github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287\nhttps://github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2d\nhttps://github.com/steveukx/git-js/blob/789c13ebabcf18ebe0b3a0c88ebb4037dede42e3/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts#L26\nhttps://github.com/steveukx/git-js/releases/tag/simple-git%403.32.0\nhttps://www.cve.org/CVERecord?id\u003dCVE-2022-25860\n","aliases":"CVE-2026-28291\nGHSA-jcxm-m3jx-f287\n","assigner":"GitHub_M","epss":0.77,"enisaIdProduct":[{"id":"30ca13c0-6a00-3d59-8077-fef41dd04cfd","product":{"name":"git-js","vendor":{"name":"steveukx"}},"product_version":"\u003c 3.32.0"}],"enisaIdVendor":[{"id":"f9b3ae64-8720-3325-8ef0-24fde055ad44","vendor":{"name":"steveukx"}}],"enisaIdVulnerability":[{"id":"c192fd11-87e3-3714-b472-3e65ad8480ae","vulnerability":{"id":"CVE-2026-28291","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\u0027s 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\u0027s option parsing behavior. This issue has been fixed in version 3.32.0.","datePublished":"Apr 13, 2026, 5:15:14 PM","dateUpdated":"Jul 15, 2026, 1:11:56 AM","status":"PUBLISHED","baseScore":8.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","references":"https://github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287\nhttps://github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2d\nhttps://github.com/steveukx/git-js/blob/789c13ebabcf18ebe0b3a0c88ebb4037dede42e3/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts#L26\nhttps://github.com/steveukx/git-js/releases/tag/simple-git%403.32.0\nhttps://www.cve.org/CVERecord?id\u003dCVE-2022-25860\n","enisa_id":"EUVD-2026-22026\n","assigner":"GitHub_M","epss":0.77,"dataProcessed":"Oct 29, 2026, 7:19:57 AM","vulnerabilityProduct":[{"id":"0cbb27ad-c0d4-3ef9-9b09-1ab00a92e503","product":{"name":"git-js","vendor":{"name":"steveukx"}},"product_version":"\u003c 3.32.0"}],"vulnerabilityVendor":[{"id":"c10e4463-c52d-38c8-bd7a-ba951ff436a1","vendor":{"name":"steveukx"}}]}},{"id":"c2ffaf3e-e346-3946-9400-61e53998a442","vulnerability":{"id":"GHSA-jcxm-m3jx-f287","description":"simple-git Affected by Command Execution via Option-Parsing Bypass","datePublished":"Apr 13, 2026, 4:35:37 PM","dateUpdated":"Apr 14, 2026, 4:30:46 PM","baseScore":0.0,"references":"https://github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-28291\nhttps://github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2d\nhttps://github.com/steveukx/git-js\nhttps://github.com/steveukx/git-js/blob/789c13ebabcf18ebe0b3a0c88ebb4037dede42e3/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts#L26\nhttps://github.com/steveukx/git-js/releases/tag/simple-git%403.32.0\nhttps://www.cve.org/CVERecord?id\u003dCVE-2022-25860\n","enisa_id":"EUVD-2026-22026\n","aliases":"CVE-2026-28291\nGHSA-jcxm-m3jx-f287\n","epss":0.0,"dataProcessed":"Oct 25, 2026, 1:55:10 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}