Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. GitPython
  4. ›
  5. GHSA-59cr-6r3x-644w

GHSA-59cr-6r3x-644w: GitPython submodule update path traversal can write outside the repository

September 30, 2026

Affected: GitPython 3.1.61 (latest release) and main — git/objects/submodule/base.py. git diff 3.1.61 origin/main -- git/objects/submodule/ is empty, so both are identical here.


References

  • github.com/advisories/GHSA-59cr-6r3x-644w
  • github.com/gitpython-developers/GitPython/commit/1ed0ebc2f2e74d979cdc367a4864a7731fdcc093
  • github.com/gitpython-developers/GitPython/pull/2225
  • github.com/gitpython-developers/GitPython/releases/tag/3.1.62
  • github.com/gitpython-developers/GitPython/security/advisories/GHSA-59cr-6r3x-644w

Code Behaviors & Features

Detect and mitigate GHSA-59cr-6r3x-644w with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.1.62

Fixed versions

  • 3.1.62

Solution

Upgrade to version 3.1.62 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

pypi/GitPython/GHSA-59cr-6r3x-644w.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:08 +0000.