PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-100689 gitpython-developers CVE debrief

GitPython before 3.1.62 is vulnerable to a path traversal attack via the gitmodules path. This issue allows an attacker to create directories outside the repository working tree by manipulating the `path` field in a .gitmodules file. The vulnerability is fixed in GitPython 3.1.62. Affected users should assess exposure, verify if their versions are affected, and prioritize remediation. This vulnerability requires specific application flows that update submodules at non-HEAD commits, limiting its exploitation to certain scenarios.

Vendor
gitpython-developers
Product
GitPython
CVSS
HIGH 8.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-26
Original CVE updated
2026-10-08
Advisory published
2026-09-26
Advisory updated
2026-10-08

Who should care

Developers and administrators using GitPython, especially those who update submodules at non-HEAD commits, should assess exposure and verify if their versions are affected. This includes reviewing application flows for submodule updates and prioritizing remediation if necessary. Security teams should monitor for suspicious activity and review compensating controls for exposed systems.

Why it matters

GitPython before 3.1.62 is vulnerable to a path traversal attack, allowing an attacker to create directories outside the repository working tree. Developers and administrators should assess exposure, verify affected versions, and prioritize remediation.

  • Path traversal can lead to directory creation outside the repository working tree
  • Potential for data tampering or unauthorized access
  • Requires verification of affected versions and remediation priority
  • Exposure is limited to specific application flows that update submodules at non-HEAD commits

Technical summary

GitPython before 3.1.62 does not validate the `path` field read from an untrusted .gitmodules file when updating submodules. This allows an attacker to create directories outside the repository working tree by manipulating the `path` field. The issue is fixed in GitPython 3.1.62. Exploitation requires an application flow that updates submodules at a non-HEAD commit. The common clone-then-update flow is not affected as it re-derives the path from a canonical tree lookup. Developers and administrators should assess exposure and verify if their versions are affected.

Defensive priority

High

Recommended defensive actions

  • Update GitPython to version 3.1.62 or later
  • Review and restrict access to .gitmodules files
  • Monitor for suspicious activity in GitPython repositories
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description, affected versions, and fixed version. Evidence is limited to public CVE details and vendor advisories. Defenders should verify affected versions, review application flows for submodule updates, and assess exposure in their environments. The CVE Program and NVD provide official records and assessments.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-100689 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-100689

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-100689 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-100689

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • GitPython before 3.1.62 Path Traversal via gitmodules path

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/100xxx/CVE-2026-100689.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-59cr-6r3x-644w

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/gitpython-before-3.1.62-path-traversal-via-gitmodules-path

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.