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

Published Oct 14, 2026
·
Updated

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

Affected Software

1 affected component
GitPython GitPython<3.2.0

Event History

Oct 14, 2026
CVE Published
via MITRE·10:52 PM
Data Sourced
via MITRE·10:52 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

Applications using GitPython before 3.2.0 are exposed if they pass attacker-controlled remote URLs to Git.ls_remote and the underlying Git configuration permits the ext transport. The listed issue also affects code paths that pass untrusted input to merge_base or IndexFile.move.

2

What must an attacker provide to execute commands through ls_remote?

An attacker must be able to supply an ext:: remote-helper URL to Git.ls_remote. Exploitation also depends on Git permitting the ext transport, and the vulnerability’s vector indicates user interaction is required.

3

Does this affect every GitPython deployment by default?

The provided information does not establish that every default deployment permits the ext transport. Exposure through ls_remote is conditional on Git allowing ext transport and on the application accepting attacker-controlled remote URLs.

4

What is the remediation?

Upgrade GitPython to version 3.2.0 or later. Until upgrading, do not pass untrusted URLs to Git.ls_remote and avoid passing untrusted values to merge_base or IndexFile.move.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203