StraitOfVuln
Latest / CVE-2026-76217

CVE-2026-76217

MediumCVSS 6.5 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

Description

GitPython versions before 3.1.58 fail to validate options passed to git rm and git checkout commands in IndexFile.remove() and Head.checkout(). Attackers can supply --pathspec-from-file and --pathspec-file-nul parameters to read arbitrary files accessible to the process, with full file contents returned in GitCommandError.stderr.

Details

CVE ID
CVE-2026-76217
Published / updated
19 Aug 2026, 14:17 UTC · last modified 03 Sept 2026, 15:01 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network
Affected vendor
Affected products
Gitpython
Affected versions
Gitpython: < 3.1.58
Fixed versions
gitpython 3.1.58
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.36% probability of exploitation in the next 30 days · 32% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (gitpython 3.1.58) per the vendor advisory.
Source (CNA)
disclosure@vulncheck.com