---
id: CVE-2026-134815
title: >-
  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
summary: >-
  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
  listRem…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-88
vendor: steveukx
product: simple-git
affected:
  - simple-git < 4.1.0
  - '@simple-git/argv-parser < 3.0.0'
published: '2026-11-22'
updated: '2026-11-24'
sourceUpdated: '2026-11-24T20:38:28.417'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-134815'
references:
  - url: >-
      https://github.com/steveukx/git-js/blob/simple-git%404.0.2/packages/argv-parser/src/vulnerabilities/detect-vulnerable-flags.ts#L71
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/steveukx/git-js/commit/c8ee6bb4dd0c1259af31da821dc68d74ff5d6f10
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/steveukx/git-js/releases/tag/%40simple-git%2Fargv-parser%403.0.0
    label: disclosure@vulncheck.com
  - url: 'https://github.com/steveukx/git-js/releases/tag/simple-git%404.1.0'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/simple-git-before-4.1.0-argument-injection-via-exec-option-in-ls-remote
    label: disclosure@vulncheck.com
tags:
  - nvd
  - exploit-available
  - cve.org
epss: 0.01068
epssPercentile: 0.65801
exploits:
  github: 3
  githubRepos:
    - 'https://github.com/tc4dy/CVE-2026-134815-PoC-Exploit'
    - 'https://github.com/googlesky/CVE-2026-134815'
    - 'https://github.com/cveForge/CVE-2026-134815'
  checkedAt: '2026-12-02T22:21:46.797Z'
exploitAvailable: true
ingestedAt: '2026-11-23T20:22:04.251Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
