CVE-2026-102828: simple-git unsafe-operation guard does not block trailer command configuration
trailer.<token>.cmd is not recognized as unsafe by the default guard. Therefore, a configured inline value reaches Git without a GitPluginError.
Git documents trailer.<token>.cmd as a shell command invoked by git interpret-trailers. An application that relies on the default plugin to reject unsafe configuration can therefore execute a command supplied through an untrusted trailer-command configuration value.
References
- github.com/advisories/GHSA-x6jw-m9v5-85vh
- github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3
- github.com/steveukx/git-js/pull/1198
- github.com/steveukx/git-js/releases/tag/simple-git@4.0.1
- github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh
- nvd.nist.gov/vuln/detail/CVE-2026-102828
Code Behaviors & Features
Detect and mitigate CVE-2026-102828 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →