All vulnerabilities
CVE-2026-110857GHSA-w8jc-g24h-crhw

GitPython before 3.2.0 Command Execution via ls_remote ext:: URLs

gitpython-developers GitPython
CVSS
7.7High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.42%Chance of exploitation activity in the next 30 days, higher than 34% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in3.2.0Fixed versionCVE List
Published14 Oct 2026Updated 15 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • GitPythonaffected: all versions before 3.2.0CVE List
  • GitPythonunaffected: 3.2.0CVE List

References 2