CVE-2026-28291: simple-git enables running native Git commands from JavaScript
CVE-2026-28291 is a high-severity flaw (CVSS 8.1) affecting simple-git. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 45%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-04-13 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-28291?
simple-git: upgrade to 3.32.0. Exact commands for each OS are on this page.
Is CVE-2026-28291 being exploited?
CVE-2026-28291 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-28291 affect?
CVE-2026-28291 affects simple-git. Severity is high (CVSS 8.1). 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
How urgent is CVE-2026-28291?
Priority 52/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-102826 HIGH 8.1 UPGRADE simple-git, an interface for running git commands in any node.js application, enables applications to execute
- CVE-2026-102827 HIGH 8.1 UPGRADE simple-git, an interface for running git commands in any node.js application, enables applications to execute
- CVE-2026-102828 CRITICAL 9.8 UPGRADE simple-git, an interface for running git commands in any node.js application, enables applications to execute