Vulnerability

CVE-2026-76217

highCVSS 4.0 7.1Published 19 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gitpython Project gitpython

Weakness type

References

  • github.com /gitpython-developers/GitPython/security/advisories/GHSA-hh…
  • www.vulncheck.com /advisories/gitpython-before-arbitrary-file-read-via-pathsp…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning