Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-100689

published high CVSS 4.0 · 8.7

GitPython before 3.1.62 Path Traversal via gitmodules path

Published
26 Sep 2026, 13:23:48 UTC
Updated
08 Oct 2026, 15:21:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
gitpython-developers — GitPython0 to < 3.1.62 (affected · semver) · 3.1.62 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck
Debian bookworm python-git Advisory build 3.1.30-1+deb12u3 DLA-4872-1
SUSE / openSUSE openSUSE-Tumbleweed python313-GitPythonaarch64 Advisory build 3.2.0-1.1 OPENSUSE-SU-2026:11971-1
Debian trixie python-git Advisory build 3.1.44-1+deb13u1 DSA-6594-1
SUSE / openSUSE openSUSE-Tumbleweed python313-GitPythonppc64le Advisory build 3.2.0-1.1 OPENSUSE-SU-2026:11971-1
SUSE / openSUSE openSUSE-Tumbleweed python313-GitPythons390x Advisory build 3.2.0-1.1 OPENSUSE-SU-2026:11971-1
SUSE / openSUSE openSUSE-Tumbleweed python313-GitPythonx86_64 Advisory build 3.2.0-1.1 OPENSUSE-SU-2026:11971-1
SUSE / openSUSE openSUSE-Tumbleweed python314-GitPythonaarch64 Advisory build 3.2.0-1.1 OPENSUSE-SU-2026:11971-1
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python314-GitPythonppc64le Advisory build 3.2.0-1.1 OPENSUSE-SU-2026:11971-1
SUSE / openSUSE openSUSE-Tumbleweed python314-GitPythons390x Advisory build 3.2.0-1.1 OPENSUSE-SU-2026:11971-1
SUSE / openSUSE openSUSE-Tumbleweed python314-GitPythonx86_64 Advisory build 3.2.0-1.1 OPENSUSE-SU-2026:11971-1

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
VulnCheck · cna
Vector string
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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.9 medium VulnCheck · cna CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
gitpython-developers GitPython 0 to < 3.1.62 (affected · semver)3.1.62 (unaffected · semver)Default: unaffected VulnCheck · cna

Weaknesses

1
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (VulnCheck · cna)

References

2

Provider assertions

2

VulnCheck · cna

GitPython before 3.1.62 Path Traversal via gitmodules path

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b0a24ab384f5eca3a0fd0bbca9914a15d18d2ae884bd241b13b8df54b26d2db7
Ingested
09 Oct 2026, 16:25:58 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected