cve.bz

CVE-2026-134815 simple-git before 4.1.0 Argument Injection via --exec Option in ls-remote

9.2 criticalEPSS 0.8%

Critical (9.2) in steveukx. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
simple-git before 4.1.0 contains an argument injection vulnerability that allows attackers to bypass the allowUnsafePack guard by supplying the --exec option to non-push git operations. Attackers who influence arguments passed to listRemote() or raw() can inject --exec for ls-remote, archive, fetch-pack or send-pack to execute commands on the host.

Severity

CVSS 4.0

9.2 critical
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-88 Improper Neutralization of Argument Delimiters in a Command (Argument Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
VulnCheck (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-134815 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-134815?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-134815?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-134815 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
steveukx simple-gitbefore 4.1.0
steveukx @simple-git/argv-parserbefore 3.0.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated Important rather than Critical because exploitation requires the ability to influence git arguments passed into simple-git (attack complexity high) on a non-default code path using listRemote()/raw() with attacker-controlled options. Red Hat ships simple-git as a bundled dependency in products such as grafana in Red Hat Enterprise Linux and related Middleware offerings; practical impact depends on whether those products pass untrusted arguments into the vulnerable APIs.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Upgrade simple-git to 4.1.0 or later (and @simple-git/argv-parser to 3.0.0 or later where bundled).

ProductPackageStateAdvisory
Red Hat Build of Keycloakkeycloak-operator.redhat-00001.zipWill not fix
Red Hat Build of Keycloakkeycloak-operator.redhat-00002.zipAffected
Red Hat Build of Keycloakkeycloak-operator.redhat-00003.zipWill not fix
Red Hat Build of Keycloakrhbk-quarkus-dist.zipWill not fix
Red Hat Enterprise Linux 10grafanaAffected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 8grafanaAffected
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 9grafanaAffected
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat JBoss Enterprise Application Platform 8jboss-eap.1-runtime-maven-repository.zipWill not fix
Red Hat JBoss Enterprise Application Platform 8jboss-eap-runtime-maven-repository.zipWill not fix
Red Hat JBoss Enterprise Application Platform Expansion Packjboss-eap.1-runtime-maven-repository.zipWill not fix
Red Hat JBoss Enterprise Application Platform Expansion Packjboss-eap-runtime-maven-repository.zipWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-134815.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • googlesky/CVE-2026-134815 Harbor Check: matches CVE 0 stars, Python, created
    simple-git <4.1.0: allowUnsafePack blocks --exec only for push — injected --exec on ls-remote/archive/fetch-pack/send-pack runs an attacker…
  • cveForge/CVE-2026-134815 0 stars, Python, created
    PoC for CVE-2026-134815 — simple-git npm Argument Injection RCE (CVSS 8.1)

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-137 Parameter Injection Likelihood: Medium · Severity: Medium
  • CAPEC-174 Flash Parameter Injection Likelihood: High · Severity: Medium
  • CAPEC-460 HTTP Parameter Pollution (HPP) Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON