9.2Crítica

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

steveukx git-js Publicada: (hace 1 mes)

Descripción

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.

Debilidad (CWE): CWE-78CWE-184

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
simple-git project simple-git 3.15.0 – < 4.0.1
steveukx git-js >= 3.15.0, < 4.0.1

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:* ≥ 3.15.0 < 4.0.1