← All Advisories
Reported from OT-Advisories.com as of

simple-git Option Manipulation Bypasses the Blocks on -u and --upload-pack, an Incomplete Fix That Allows Arbitrary Commands

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-28291

Key Details

CVECVE-2026-28291
CVSS Score / Version
8.1 (High) / CVSS v3.1
Updated2026-10-26
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is high; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Red Hat Build of Keycloak, Red Hat Process Automation 7, simple-git_project simple-git, and steveukx git-js
Classified as
CWE-78 (Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'))
Exploitation prediction (EPSS)
0.80% probability of exploitation in the next 30 days (57% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
Red HatRed Hat Build of Keycloak
Red HatRed Hat Process Automation 7
simple-git_projectsimple-git
steveukxgit-js
SubsystemsOT Supporting Infrastructure
SectorsMultiple

What to Know

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. (NVD)

What to Do

Monitor Red Hat, simple-git_project, and steveukx's web pages for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-28291
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-28291
Vendor advisoryhttps://github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287
Vendor advisoryhttps://github.com/steveukx/git-js/blob/789c13ebabcf18ebe0b3a0c88ebb4037dede42e3/simple-git/src/lib/plugins/block-unsafe-operations-plugin.ts#L26
Vendor advisoryhttps://github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2d
Vendor advisoryhttps://github.com/steveukx/git-js/releases/tag/simple-git%403.32.0
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.