Read the docs

Command injection in steveukx git-js

Priority MEDIUM 44CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-77.

Summary

simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 4.0.0, the default blockUnsafeOperationsPlugin compares parsed option names with literal dangerous option spellings while Git accepts unambiguous long-option abbreviations. Attacker-influenced push arguments such as abbreviated --receive-pack or --exec forms can therefore bypass detectVulnerableFlags, reach git push against a local or file remote or an attacker-influenced receive-pack target, and cause Git to invoke an attacker-selected command in consumers that expose those arguments. The clone-side abbreviation handling does not protect the push path. This issue is fixed in 4.0.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00576 47th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial git-js (steveukx): 4.0.0simple-git (npm): 4.0.0Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
steveukxgit-jsbefore 4.0.04.0.0Patch availableCNA
—simple-git (npm)before 4.0.04.0.0Patch availableGHSA-858h-whjf-mvg5
  • git-js Vendorsteveukx Affected before 4.0.0 Fixed in 4.0.0 Patch available CNA
  • simple-git (npm) Vendor— Affected before 4.0.0 Fixed in 4.0.0 Patch available GHSA-858h-whjf-mvg5

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*before 4.0.0Vulnerablesteveukx
  • cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:* Versions before 4.0.0 Vulnerable ·steveukx

Remediation

  • Fix · CNA git-js (steveukx) Fixed in 4.0.0
  • Fix · GHSA-858h-whjf-mvg5 simple-git (npm) Fixed in 4.0.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Build of KeycloakAffectedNo fix yet
Not affected: 5 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-102827
  2. 2026-10-06 Alias added: GHSA-858h-whjf-mvg5
  3. 2026-10-06 Fix available: npm/[email protected] · GHSA-858h-whjf-mvg5
  4. 2026-10-06 CVSS score added · GHSA-858h-whjf-mvg5
  5. 2026-10-06 Weakness changed · GHSA-858h-whjf-mvg5
  6. 2026-10-06 6 new references · GHSA-858h-whjf-mvg5
  7. 2026-10-09 CVSS score added · NVD
  8. 2026-10-09 Priority changed: LOW → MEDIUM
  9. 2026-10-23 Affected versions changed · Red Hat
  10. 2026-10-23 CVSS score added · Red Hat
  11. 2026-10-26 Affected versions changed · Red Hat

References

  • TI-2026-22598 simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key that enables RCE CVSS 3.1CRITICAL 9.8
  • TI-2022-09464 Remote code execution (RCE) in simple-git CVSS 3.1CRITICAL 9.8
  • TI-2026-06084 Code injection in simple-git CVSS 4.0CRITICAL 9.2
  • TI-2022-09425 Code injection in simple-git CVSS 3.1CRITICAL 9.8
  • TI-2026-65515 simple-git allows command execution through unblocked Git configuration includes CVSS 3.1HIGH 8.1
  • TI-2026-22597 simple-git has Command Execution via Option-Parsing Bypass CVSS 3.1HIGH 8.1
See all 9 →

Sources