Back to list

GitPython submodule update path traversal can write outside the repository — GHSA-59CR-6R3X-644W

GitHub · GitHub · GHSA-59CR-6R3X-644W

ID
GHSA-59CR-6R3X-644W
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
6.1

Summary

**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_name()` and wired it into `update()` and five siblings, closing the `.gitmodules` **name** → `.git/modules/<name>` traversal. The other…

Timeline

Published by source
2026-09-30

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 6.1 out of 10.
  • Review exposure for the affected product or family: pip: GitPython.

Product

pip: GitPython

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-59CR-6R3X-644W
Source
GitHub
Vendor
GitHub
Published by source
2026-09-30
Last source activity
2026-09-30
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.