Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-28291: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in steveukx git-js

0
High
VulnerabilityCVE-2026-28291cvecve-2026-28291cwe-78
Published: Mon Apr 13 2026 (04/13/2026, 17:15:14 UTC)
Source: CVE Database V5
Vendor/Project: steveukx
Product: git-js

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 11:15:21 UTC

Technical Analysis

The vulnerability in steveukx git-js (simple-git) versions prior to 3.32.0 allows arbitrary command execution through manipulation of Git command options. The root cause is the incomplete mitigation of a prior vulnerability, where the blocklist approach to filter dangerous Git options is circumvented by Git's acceptance of numerous valid option combinations. Because Git's option parsing is highly flexible, the blocklist cannot comprehensively prevent all unsafe options without fully emulating Git's parsing logic. This flaw enables OS command injection, impacting confidentiality, integrity, and availability of affected systems. The issue is fixed in version 3.32.0.

Potential Impact

Successful exploitation can lead to remote execution of arbitrary OS commands without privileges or user interaction, resulting in full compromise of the affected system's confidentiality, integrity, and availability. The vulnerability affects all versions of git-js before 3.32.0. No known active exploits have been reported.

Mitigation Recommendations

Upgrade to git-js version 3.32.0 or later, where this vulnerability has been fixed. Since this is a client-side library, applying the official fix by updating the dependency is the recommended remediation. Patch status is confirmed by the vendor's versioning information. No additional mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-26T01:52:58.735Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69de21bb82d89c981f27528a

Added to database: 4/14/2026, 11:15:07 AM

Last enriched: 4/14/2026, 11:15:21 AM

Last updated: 4/14/2026, 4:05:23 PM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses