Skip to main content
← All vulnerabilities
CVE-2026-102828GHSA-X6JW-M9V5-85VH

simple-git unsafe-operation guard does not block trailer command configuration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. From 3.15.0 until 4.0.1, the default blockUnsafeOperationsPlugin does not classify trailer.<token>.cmd as unsafe configuration. An application that passes attacker-controlled values through SimpleGitOptions.config or inline -c arguments can therefore allow Git to invoke an attacker-selected shell command when git interpret-trailers processes the configured trailer. The command executes with the operating-system identity and permissions of the Node.js process. This issue is fixed in 4.0.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • steveukx git-js

    From 3.15.0 · fixed in 4.0.1

  • simple-gitnpm

    From 3.15.0 · fixed in 4.0.1

References 4

GitHub · steveukx/git-js