CVE-2026-76220 PUBLISHED

GitPython before 3.1.58 Command Execution via split_single_char_options

Assigner: VulnCheck
Reserved: 19.08.2026 Published: 19.08.2026 Updated: 20.08.2026

GitPython before 3.1.58 contains a command execution vulnerability in the check_unsafe_options guard that can be bypassed by combining a single-character kwarg with split_single_char_options=False. Attackers can supply a crafted kwargs dictionary to guarded methods like clone_from to emit a joined token parsed as --upload-pack, enabling arbitrary OS command execution at default allow_unsafe_options=False.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor gitpython-developers
Product GitPython
Versions Default: unaffected
  • affected from 0 to 3.1.58 (excl.)
  • Version 3.1.58 is unaffected

Credits

  • manus-use reporter

References

Problem Types

  • Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') CWE