Bug 2519621 (CVE-2026-76217) - CVE-2026-76217 gitpython: GitPython: Arbitrary File Read via Crafted Parameters
Summary: CVE-2026-76217 gitpython: GitPython: Arbitrary File Read via Crafted Parameters
Keywords:
Status: NEW
Alias: CVE-2026-76217
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-19 14:19 UTC by OSIDB Bzimport
Modified: 2026-08-27 17:28 UTC (History)
42 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-19 14:19:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.