Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-110860

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-110860

GitPython

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "gitpython-developers",
    "product": "GitPython",
    "versions": [
      {
        "status": "affected",
        "version": "3.1.62",
        "lessThan": "3.2.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "3.2.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:pypi/GitPython",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-110860

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#24327 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement