CVE-2026-28291
CVE-2026-28291 is a high-severity vulnerability in Simple-git Project Simple-git with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-78.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-22026
- Weakness: CWE-78
- Affected product: Simple-git Project Simple-git
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-28291?
- 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.
- How severe is CVE-2026-28291?
- CVE-2026-28291 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-28291 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-28291?
- CVE-2026-28291 affects Simple-git Project Simple-git. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-28291?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-28291 have an EU (EUVD) identifier?
- Yes. CVE-2026-28291 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-22026.
- When was CVE-2026-28291 published?
- CVE-2026-28291 was published on 2026-04-13 and last updated on 2026-06-30.
References
- https://github.com/steveukx/git-js/blob/789c13ebabcf18ebe0b3a0c88ebb4037dede42e3/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts#L26
- https://github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2d
- https://github.com/steveukx/git-js/releases/tag/simple-git%403.32.0
- https://github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287
- https://www.cve.org/CVERecord?id=CVE-2022-25860
- https://access.redhat.com/security/cve/CVE-2026-28291
- https://bugzilla.redhat.com/show_bug.cgi?id=2457930
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-28291.json
Affected products (1)
- cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*
More vulnerabilities in Simple-git Project Simple-git
- CVE-2026-6951 — Critical (CVSS 9.8): Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix…
- CVE-2026-28292 — Critical (CVSS 9.8): `simple-git`, an interface for running git commands in any node.js application, has an issue in versions 3.15.0 through…
- CVE-2022-25860 — High (CVSS 8.1): Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(),…
- CVE-2022-25912 — High (CVSS 8.1): The package simple-git before 3.15.0 are vulnerable to Remote Code Execution (RCE) when enabling the ext transport…
- CVE-2022-24066 — High (CVSS 8.1): The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of…
- CVE-2022-24433 — High (CVSS 8.1): The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the…
All CVEs affecting Simple-git Project Simple-git →
Other CWE-78 (OS Command Injection) vulnerabilities
- CVE-2026-56004 — Critical (CVSS 10.0): A shellcode injection in the mercurial handler of the obs tar_scm source service before version 0.12.4 could be used by…
- CVE-2026-56415 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability within the debug.pl script that is…
- CVE-2026-56413 — Critical (CVSS 10.0): Storage Concentrator (SC & SCVM) contains a command injection vulnerability in the ms_service.pl service, which listens…
- CVE-2026-49869 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, AuthenticationFilter in…
- CVE-2026-49261 — Critical (CVSS 10.0): MariaDB server is a community developed fork of MySQL server. Versions 10.6.1 through 10.6.26, 10.11.1 through…
- CVE-2026-10520 — Critical (CVSS 10.0): An OS Command Injection vulnerability in Ivanti Sentry before the R10.5.2, R10.6.2 and R10.7.1 versions allows a…