Skip to main content
← All vulnerabilities
CVE-2026-73625PYSEC-2026-3953GHSA-R9MR-M37C-5FR3

GitPython before 3.1.54 Remote Code Execution via kwarg value smuggling

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.54
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

GitPython versions before 3.1.54 contain a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive methods to execute arbitrary OS commands via the --upload-pack parameter.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • gitpython-developers GitPython

    fixed in 3.1.54

  • gitpythonPyPI

    fixed in 3.1.54

References 2

GitHub · gitpython-developers/GitPython

vulncheck.com