{"answers":{"affected":"2 open source packages ship an affected version, including GitPython and gitpython.","exploited":"There is no known exploitation of CVE-2026-100689 in the wild and no public exploit code.","fix":"Upgrade GitPython to 3.1.62 or later.","what":"CVE-2026-100689 is a high-severity path traversal vulnerability in gitpython-developers GitPython, published on 26 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-100689 and fix it if it is affected.\n\nWhat it is: CVE-2026-100689 is a high-severity path traversal vulnerability in gitpython-developers GitPython, published on 26 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-100689 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- GitPython (PyPI): affected all versions; fixed in 3.1.62\n- gitpython (PyPI): affected all versions; fixed in 3.1.62\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-100689/ (Markdown: https://insights.sbomify.com/CVE-2026-100689/index.md)","id":"CVE-2026-100689","markdown":"https://insights.sbomify.com/CVE-2026-100689/index.md","name":"CVE-2026-100689","record":{"aliases":["DEBIAN-CVE-2026-100689","ECHO-a8ec-12fb-5bb8","ECHO-b949-dc62-0fed","GHSA-59cr-6r3x-644w","GHSA-cw5h-x3x9-4mwp","MINI-836f-pv4v-6p3c","MINI-9r6m-qm7c-cjf5","MINI-p7vw-3888-gvfr","MINI-q357-qh57-xcg3","MINI-vwpj-c75h-f3pf","UBUNTU-CVE-2026-100689","openSUSE-SU-2026:11971-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"GitPython library","requires_auth":"none","summary":"Attackers can create or delete directories outside the repository via malicious .gitmodules paths during specific submodule update flows.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"GitPython before 3.1.62 Path Traversal via gitmodules path","id":"CVE-2026-100689","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Hugo v0.161.0 to v0.165.0 Arbitrary File Read via Symlinks","id":"CVE-2026-100690"},"packages":[{"ecosystem":"PyPI","fixed":["3.1.62"],"introduced":["0"],"last_affected":[],"package":"GitPython","purl":null,"source":"GHSA-59cr-6r3x-644w"},{"ecosystem":"PyPI","fixed":["3.1.62"],"introduced":["0"],"last_affected":[],"package":"gitpython","purl":"pkg:pypi/gitpython","source":"GHSA-59cr-6r3x-644w"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.2.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-GitPython","purl":"pkg:rpm/opensuse/python-GitPython\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11971-1"}],"prev":{"headline":"Budibase server before 3.45.0 Cross-Tenant Information Disclosure","id":"CVE-2026-100688"},"products":["GitPython"],"published":"2026-09-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["gitpython-developers"]},"summary":"Attackers can create or delete directories outside the repository via malicious .gitmodules paths during specific submodule update flows.","url":"https://insights.sbomify.com/CVE-2026-100689/"}