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.
The record classifies CVE-2026-28291 under weakness class CWE-78. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 225 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 8.1 — HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS (FIRST)
- 0.7% probability of exploitation in the next 30 days, higher than 57.4% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 8.3/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-04-13
Is CVE-2026-28291 being exploited?
Weaponised exploit code for CVE-2026-28291 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 5 in the Threadlinqs vulnerability feed.
- trickest/cve (trickest)
Affected products and versions
- steveukx: git-js
Affected software packages:
npm:simple-git— patched in 3.32.0
How to fix CVE-2026-28291
The record marks a vendor fix as available for CVE-2026-28291. Fixed versions are recorded for 1 package: npm:simple-git 3.32.0. Patch reference: https://github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2d. Vendor advisory: https://github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2026-28291
No threat campaign in the Threadlinqs corpus currently references CVE-2026-28291, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories. This product uses the NVD API but is not endorsed or certified by the NVD.