CVE-2026-102828
simple-git, an interface for running git commands in any node.js …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3
- github.com/steveukx/git-js/pull/1198
- github.com/steveukx/git-js/releases/tag/[email protected]
- github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh
- nvd.nist.gov/vuln/detail/CVE-2026-102828
- github.com/advisories/GHSA-x6jw-m9v5-85vh
- nvd.nist.gov/vuln/detail/CVE-2026-102828
- cve.org/CVERecord?id=CVE-2026-102828
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.