CVE-2026-102827
simple-git: simple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution (residual of CVE-2026-28291)
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), 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. Prior to 4.0.0, the default blockUnsafeOperationsPlugin compares parsed option names with literal dangerous option spellings while Git accepts unambiguous long-option abbreviations. Attacker-influenced push arguments such as abbreviated --receive-pack or --exec forms can therefore bypass detectVulnerableFlags, reach git push against a local or file remote or an attacker-influenced receive-pack target, and cause Git to invoke an attacker-selected command in consumers that expose those arguments. The clone-side abbreviation handling does not protect the push path. This issue is fixed in 4.0.0.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | keycloak-26.8, renovate | 26.8.0-r1 and 1 more |
| minimos | mcp-mongodb, openclaw | 3.1.0-r0 and 1 more |
| npm::GitHub Security Advisory npm | simple-git | 4.0.0 |
| Red Hat | grafana, grafana-azure-monitor, grafana-cloudwatch and 11 more | no fix listed |
| seal npm::Seal Security Database | @seal-security/simple-git, simple-git | 3.31.1-sp999 |
| wolfi | renovate | 44.164.5-r0 |
Show all 22 entries from 6 sources
| Source | Package | Fixed in |
|---|---|---|
| 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 |
| npm::GitHub Security Advisory npm | simple-git | 4.0.0 |
| Red Hat | grafana | no fix listed |
| Red Hat | grafana-azure-monitor | no fix listed |
| Red Hat | grafana-cloudwatch | no fix listed |
| Red Hat | grafana-elasticsearch | no fix listed |
| Red Hat | grafana-graphite | no fix listed |
| Red Hat | grafana-influxdb | no fix listed |
| Red Hat | grafana-loki | no fix listed |
| Red Hat | grafana-mssql | no fix listed |
| Red Hat | grafana-mysql | no fix listed |
| Red Hat | grafana-opentsdb | no fix listed |
| Red Hat | grafana-postgres | no fix listed |
| Red Hat | grafana-prometheus | no fix listed |
| Red Hat | grafana-selinux | no fix listed |
| Red Hat | grafana-stackdriver | 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-102827
- https://github.com/steveukx/git-js
- https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7
- https://github.com/steveukx/git-js/pull/1193
- https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.0
- https://github.com/steveukx/git-js/security/advisories/GHSA-858h-whjf-mvg5
- https://nvd.nist.gov/vuln/detail/CVE-2026-102827
- https://www.cve.org/CVERecord?id=CVE-2026-102827