1. Home
  2. Vulnerabilities
  3. CVE-2026-102828

CVE-2026-102828

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

Published 29 Sept 2026 · modified 8 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 50/100

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.

Affected products and versions

steveukx (1 line(s))
steveukx
ProductVersionsFixed inSource
git-js Versions not specified — CNA (vendor or assigner)
Simple-git project (1 line(s))
Simple-git project
ProductVersionsFixed inSource
Simple-git from 3.15.0 (included) to 4.0.1 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-78 · Injection de commandes / code

How this data is obtained and calculated