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.
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-gq48-pqfc-9p58
Published: 2026-10-14
Updated: 2026-10-15
Base Score: 5.6
Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:P
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
Severity: Medium
Base Score: 6.9
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00129