All vulnerabilities
CVE-2026-110860GHSA-gq48-pqfc-9p58

GitPython 3.1.62 before 3.2.0 Symlink Path Traversal via Submodule.move()

gitpython-developers GitPython
CVSS
6.9Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.13%Chance of exploitation activity in the next 30 days, higher than 2% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in3.2.0Fixed versionCVE List
Published14 Oct 2026Updated 14 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.62 before 3.2.0 contains a symlink-following flaw in Submodule.move(), which checks the destination only lexically and does not reject symbolic links in intermediate path components. An untrusted repository can commit a symlink such as vendor pointing outside the worktree, so an application moving an initialized submodule beneath it relocates the checkout externally and corrupts the index and .gitmodules.

Text from CVE List

Affected versions 2

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

References 2