cbcvebase.
CVE-2026-100689
published 2026-09-26

CVE-2026-100689: GitPython before 3.1.62 does not validate the `path` field read from an untrusted .gitmodules file when updating submodules. While a prior fix…

PriorityP434medium5.9CVSS 3.1
AVNACHPRNUIRSUCNIHAL
EPSS
0.40%
32.2th percentile
GitPython before 3.1.62 does not validate the `path` field read from an untrusted .gitmodules file when updating submodules. While a prior fix (GHSA-hmq2-w58f-27jc) added Submodule._validated_name() to constrain the `name` field, and GitPython's own containment guard Submodule._to_relative_path() is applied in add() and move(), Submodule.update() derives the absolute checkout location from the raw `path` value without that guard. A .gitmodules entry containing directory traversal components (e.g., path = ../../../tmp/escaped) can therefore cause directories to be created via os.makedirs() outside the repository working tree, populated from the submodule URL on the clone path, and removed via shutil.rmtree() when force_remove is used. Exploitation requires an application flow that updates submodules at a non-HEAD commit (such as a historical-commit API); the common clone-then-update flow re-derives the path from a canonical tree lookup and is not affected. The issue is fixed in GitPython 3.1.62.

Affected

58 ranges· showing 25
VendorProductVersion rangeFixed in
ansible-automation-platform-24controller-rhel8——
ansible-automation-platform-24hub-rhel8——
ansible-automation-platform-25controller-rhel8——
ansible-automation-platform-25hub-rhel8——
ansible-automation-platform-26controller-rhel9——
ansible-automation-platform-26hub-rhel9——
ansible-automation-platform-27controller-rhel9——
ansible-automation-platform-27hub-rhel9——
exploit-intelligencevulnerability-analysis-rhel9——
gitpython-developersgitpython< 3.1.623.1.62
gitpython_projectgitpython——
mtamta-solution-server-rhel9——
rhaiisvllm-cpu-rhel9——
rhaiisvllm-tpu-rhel9——
rhelai3bootc-cuda-rhel9——
rhelai3bootc-gaudi-rhel9——
rhelai3bootc-rocm-rhel9——
rhelai3disk-image-cuda-rhel9——
rhoaiodh-feature-server-rhel9——
rhoaiodh-mlflow-rhel9——
rhoaiodh-pipeline-runtime-datascience-cpu-py312-rhel9——
rhoaiodh-pipeline-runtime-pytorch-cuda-py312-rhel9——
rhoaiodh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9——
rhoaiodh-pipeline-runtime-pytorch-rocm-py312-rhel9——
rhoaiodh-pipeline-runtime-tensorflow-cuda-py312-rhel9——

CVSS provenance

nvdv3.15.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
nvdv4.08.7HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.