Bug 2519597 (CVE-2026-76219) - CVE-2026-76219 gitpython: GitPython: Arbitrary File Overwrite via `git read-tree` option injection
Summary: CVE-2026-76219 gitpython: GitPython: Arbitrary File Overwrite via `git read-t...
Keywords:
Status: NEW
Alias: CVE-2026-76219
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2525278 2525279
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-19 14:17 UTC by OSIDB Bzimport
Modified: 2026-08-27 20:39 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:17:55 UTC
GitPython versions before 3.1.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree, IndexFile.reset, and IndexFile.merge_tree methods that append caller-influenced treeish strings to git read-tree without option validation or argument separation. Attackers can inject the --index-output option to overwrite arbitrary files with a valid git-index blob, destroying existing file content at attacker-controlled writable paths.


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