All vulnerabilities
CVE-2026-110858GHSA-f9j4-qggq-h239

GitPython 3.1.30 before 3.2.0 Command Injection via Remote.pull() Refspec

gitpython-developers GitPython
CVSS
9.2Critical
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.46%Chance of exploitation activity in the next 30 days, higher than 39% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in3.2.0Fixed versionCVE List
Published14 Oct 2026Updated 16 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 from 3.1.30 before 3.2.0 contains a remote code execution vulnerability in Remote.pull() whose unsafe-option guard inspects only keyword arguments, not the positional refspec. Attackers controlling the refspec can supply --upload-pack=<command> to execute OS commands as the calling process over local-path or SSH transports.

Text from CVE List

Affected versions 2

  • GitPythonaffected: 3.1.30 before 3.2.0CVE List
  • GitPythonunaffected: 3.2.0CVE List

References 2