SB2026090945 - Path traversal in GitPython
Published: September 9, 2026 Updated: September 30, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: CVE-2026-100689)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to create and populate directories outside the repository working tree.
The vulnerability exists due to improper limitation of a pathname to a restricted directory in the submodule update path in git/objects/submodule/base.py when processing a crafted .gitmodules path during a submodule update. A remote attacker can supply a crafted .gitmodules path to create and populate directories outside the repository working tree.
Exploitation requires application code to select a non-HEAD commit through a historical-commit submodule-update API.
Remediation
Install update from vendor's website.