THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-59cr-6r3x-644w (medium) — GitPython submodule update path traversal can write outside the repository

[GHSA] GHSA-59cr-6r3x-644w (medium) — GitPython submodule update path traversal can write outside the repository

medgithub_advisoriesPublished 2026-09-30

GHSA-59cr-6r3x-644w Severity: medium CVE: None

GitPython submodule update path traversal can write outside the repository

**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.

---

## The gap

The fix for `GHSA-hmq2-w58f-27jc` added `Submodule._validated_na

Original source: https://github.com/advisories/GHSA-59cr-6r3x-644w