Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
steveukx git-js
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Simple Git是英国Steve King个人开发者的一个轻量级接口。用于在任何 Node.js 应用程序中运行 Git 命令。 Simple Git 3.31.1及之前版本存在操作系统命令注入漏洞,该漏洞源于Git选项操作绕过安全检查,可能导致执行任意命令。

CVSS 8.1 · High EPSS 0.93% · P59

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
steveukx git-js < 3.32.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-28291

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
simple-git has Command Execution via Option-Parsing Bypass
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Simple Git 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Simple Git是英国Steve King个人开发者的一个轻量级接口。用于在任何 Node.js 应用程序中运行 Git 命令。 Simple Git 3.31.1及之前版本存在操作系统命令注入漏洞,该漏洞源于Git选项操作绕过安全检查,可能导致执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
steveukx git-js < 3.32.0 -

II. Public POCs for CVE-2026-28291

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-28291

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-28291 (2)

Vendor Advisories for CVE-2026-28291 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-28291

No comments yet


Leave a comment