Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-110860 EUVD-2026-101743GHSA-cfp4-478m-4f52GHSA-gq48-pqfc-9p58

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

Published Oct 14, 2026 · Updated Oct 26, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
gitpython-developers GitPython 3.1.62 – < 3.2.0 3.2.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-git 3.2.1-1 —
Debian 13 python-git 3.1.44-1+deb13u1 —
Debian 12 python-git 3.1.30-1+deb12u3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-git No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS python-git No fix yet —
Ubuntu Pro 24.04 LTS python-git No fix yet —
Ubuntu Pro 22.04 LTS python-git No fix yet —
Ubuntu Pro 20.04 LTS python-git No fix yet —
Ubuntu Pro 18.04 LTS python-git No fix yet —
Ubuntu Pro 16.04 LTS python-git No fix yet —
Ubuntu Pro 14.04 LTS python-git No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gitpython < 3.2.0 3.2.0 GHSA-gq48-pqfc-9p58

References