Skip to content
OpenAdvisories
Critical · 9.2 CVE-2026-102828 EUVD-2026-89334GHSA-x6jw-m9v5-85vh

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

Published Sep 29, 2026 · Updated Sep 30, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
steveukx git-js >= 3.15.0, < 4.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-26.6 +1 26.6.9-r0 —
Wolfi rolling renovate 44.164.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm simple-git >= 3.15.0, < 4.0.1 4.0.1 GHSA-x6jw-m9v5-85vh

References