Skip to main content
VulnerabilityPublished Updated

CVE-2026-100689: GitPython · Path Traversal

Affects GitPythonSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 3.1.62 soon.

Data as of 10 Nov 2026, 23:24 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.1.62
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

Upgrade GitPython and gitpython to 3.1.62.

Affected software

ProductAffectedFixed in
gitpython-developersGitPythonAffected
  • <3.1.62
Fixed in
  • 3.1.62
PyPIgitpythonpkg:pypi/gitpythonOther threatsAffected
  • <3.1.62
Fixed in
  • 3.1.62

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade GitPython to version 3.1.62 or later, where this vulnerability is fixed. The fix properly validates and constrains the `path` field during submodule updates to prevent directory traversal. If upgrading is not immediately possible, avoid using application flows that update submodules at non-HEAD commits with untrusted .gitmodules files. Patch status is confirmed by the vendor advisory indicating the fix in 3.1.62.

Description

GitPython versions before 3.1.62 contain a path traversal vulnerability in the handling of the `path` field from untrusted .gitmodules files during submodule updates. This flaw allows directory creation outside the repository working tree, potentially leading to unauthorized file system modifications. The vulnerability requires an application flow that updates submodules at a non-HEAD commit, which is less common. The issue is fixed in GitPython 3.1.62.

References

Community reviews

Loading reviews…