What’s Vulnerable › Vulnerabilities

CVE-2026-110857: GitPython before 3.2.0 Command Execution via ls_remote ext:: URLs

Description

GitPython before 3.2.0 contains a remote code execution vulnerability that allows attackers to run commands because Git.ls_remote forwards URLs without check_unsafe_protocols validation. Attackers can supply ext:: remote-helper URLs to execute commands when git permits the ext transport, while merge_base and IndexFile.move also accept unguarded option injection.

Affected products

How to fix

Upgrade to a fixed version: Pypi Gitpython 3.2.0; gitpython-developers GitPython 3.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-110857 or the next vulnerability affects your stack