p PatchFirst

CVE-2026-102828

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 9.2 · Critique · EPSS 0,4% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • git-js

    Versions du logiciel
    • >= 3.15.0, < 4.0.1: Concernée

    Aucun correctif publié

  • simple-git npm

    Plages de versions concernées
    • SEMVER: ≥ 3.15.0, < 4.0.1

    Mettez à jour vers 4.0.1

Sources originales

Vérifiez votre serveur →