8.1

CVE-2026-28291: simple-git has Command Execution via Option-Parsing Bypass

Modified
AliasesGHSA-jcxm-m3jx-f287CGA-95cp-cmjf-qfr2CGA-ff52-r2qf-j3qc
Published 13-04-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-28291 is a high (CVSS 8.1) vulnerability in simple-git_project simple-git. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 58.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.82%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 13-04-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.82%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.77% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Git Js

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • gemini-cli< 0.49.0-r3
Npm1 product
  • simple-git< 3.32.0
Simple-git_project1 product
Steveukx1 product

4 vendors · 4 products

References

11 links
Show all 11 references