Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-110860

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

gitpython-developers GitPython

Default version status: unaffected

  • 3.1.62 to < 3.2.0affected
  • 3.2.0unaffected
pkg:pypi/GitPython

References