Intel

AIKIDO-2026-566884

simple-git is vulnerable to Argument Injection

CVE-2026-102827Published Oct 5, 2026
October 5, 2026

81

CVE Score

High

Argument Injection

Are you affected? Scan for Free

TL;DR

simple-git blocks --upload-pack, --receive-pack, and --exec by matching the parsed flag name against a pattern that only covers the full spelling. Git accepts unambiguous prefix abbreviations of long options, but the parser never canonicalizes the flag name, so --receive-p=<command> or --exe=<command> passed through push or rebase gets past the check. Git still expands the abbreviation and runs the referenced program, so the injected command executes during the git operation. The fix extends the patterns to cover these abbreviated forms.

How do I fix this?

Upgrade the simple-git library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes externally influenced arguments to push or rebase.

Package

Versions

0.0.1 - 3.36.0

Fixed in 4.0.0

Background info

simple-git is vulnerable to Argument Injection in versions 0.0.1 - 3.36.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea