Skip to main content

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

0
Critical
VulnerabilityCVE-2026-102828cvecve-2026-102828cwe-78cwe-184
Published: 09/29/2026 (09/29/2026, 18:43:19 UTC)
Source: CVE Database V5
Vendor/Project: steveukx
Product: git-js

Description

CVE-2026-102828 is a critical OS command injection vulnerability in the steveukx git-js library, specifically in versions from 3.15.0 up to but not including 4.0.1. The issue arises because the default blockUnsafeOperationsPlugin does not treat trailer.<token>.cmd as unsafe, allowing attacker-controlled input via SimpleGitOptions.config or inline -c arguments to execute arbitrary shell commands with the Node.js process's OS permissions. This vulnerability is fixed in version 4.0.1.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

steveukx

git-js

Affected versions
>=3.15.0 <4.0.1
simple-git
pkg:npm/simple-git
Affected versions
>=3.15.0 <4.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 19:06:14 UTC

Technical Analysis

The vulnerability in steveukx git-js (simple-git) versions >=3.15.0 <4.0.1 involves improper neutralization of special elements used in OS commands (CWE-78). The default security plugin fails to classify trailer.<token>.cmd as unsafe, enabling an attacker who can control configuration options to inject and execute arbitrary shell commands when git interpret-trailers processes the configured trailer. The commands run with the same OS identity and permissions as the Node.js process running the application. The issue is resolved in version 4.0.1.

Potential Impact

An attacker able to supply malicious input through SimpleGitOptions.config or inline -c arguments can execute arbitrary OS commands with the privileges of the Node.js process. This can lead to full system compromise depending on the Node.js process permissions. The vulnerability is critical with a CVSS 4.0 score of 9.2, indicating high impact and exploitability under certain conditions.

Mitigation Recommendations

Upgrade steveukx git-js to version 4.0.1 or later, where this vulnerability is fixed. Until then, avoid passing untrusted input through SimpleGitOptions.config or inline -c arguments that could be interpreted as trailer.<token>.cmd. Patch status is confirmed fixed in 4.0.1.

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-09-29T17:25:25.265Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6abc08c9680226ef682285c9

Added to database: 09/29/2026, 18:51:53 UTC

Last enriched: 09/29/2026, 19:06:14 UTC

Last updated: 09/29/2026, 19:06:14 UTC

Views: 6

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