CVE-2026-102828
simple-git: simple-git unsafe-operation guard does not block trailer command configuration
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | simple-git | 4.0.1 |
| chainguard | keycloak-26.8, renovate | 26.8.0-r1 and 1 more |
| minimos | mcp-mongodb, openclaw | 3.1.0-r0 and 1 more |
| rapidfort alma 10 | grafana, grafana-selinux | no fix listed |
| rapidfort alma 9 | grafana, grafana-selinux | no fix listed |
| rapidfort fedora 43 | grafana, grafana-selinux | 10.2.6-23.fc43 |
| rapidfort Oracle Linux 10 | grafana, grafana-selinux | no fix listed |
| rapidfort Oracle Linux 9 | grafana, grafana-selinux | no fix listed |
| rapidfort Red Hat 10 | grafana, grafana-selinux | no fix listed |
| rapidfort Red Hat 9 | grafana, grafana-selinux | no fix listed |
| rapidfort rocky 10 | grafana, grafana-selinux | no fix listed |
| rapidfort rocky 9 | grafana, grafana-selinux | no fix listed |
Show all 28 entries from 15 sources
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | simple-git | 4.0.1 |
| chainguard | keycloak-26.8 | 26.8.0-r1 |
| chainguard | renovate | 44.164.5-r0 |
| minimos | mcp-mongodb | 3.1.0-r0 |
| minimos | openclaw | 2026.8.1-r0 |
| rapidfort alma 10 | grafana | no fix listed |
| rapidfort alma 10 | grafana-selinux | no fix listed |
| rapidfort alma 9 | grafana | no fix listed |
| rapidfort alma 9 | grafana-selinux | no fix listed |
| rapidfort fedora 43 | grafana | 10.2.6-23.fc43 |
| rapidfort fedora 43 | grafana-selinux | 10.2.6-23.fc43 |
| rapidfort Oracle Linux 10 | grafana | no fix listed |
| rapidfort Oracle Linux 10 | grafana-selinux | no fix listed |
| rapidfort Oracle Linux 9 | grafana | no fix listed |
| rapidfort Oracle Linux 9 | grafana-selinux | no fix listed |
| rapidfort Red Hat 10 | grafana | no fix listed |
| rapidfort Red Hat 10 | grafana-selinux | no fix listed |
| rapidfort Red Hat 9 | grafana | no fix listed |
| rapidfort Red Hat 9 | grafana-selinux | no fix listed |
| rapidfort rocky 10 | grafana | no fix listed |
| rapidfort rocky 10 | grafana-selinux | no fix listed |
| rapidfort rocky 9 | grafana | no fix listed |
| rapidfort rocky 9 | grafana-selinux | no fix listed |
| Red Hat | grafana | no fix listed |
| Red Hat | grafana-selinux | no fix listed |
| seal npm::Seal Security Database | @seal-security/simple-git | 3.31.1-sp999 |
| seal npm::Seal Security Database | simple-git | 3.31.1-sp999 |
| wolfi | renovate | 44.164.5-r0 |
References
- https://access.redhat.com/security/cve/CVE-2026-102828
- https://github.com/steveukx/git-js
- https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3
- https://github.com/steveukx/git-js/pull/1198
- https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.1
- https://github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh
- https://nvd.nist.gov/vuln/detail/CVE-2026-102828
- https://www.cve.org/CVERecord?id=CVE-2026-102828