Bug 2525279 - CVE-2026-76219 GitPython: GitPython: Arbitrary File Overwrite via `git read-tree` option injection [fedora-all]
Summary: CVE-2026-76219 GitPython: GitPython: Arbitrary File Overwrite via `git read-t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: GitPython
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Lubomír Sedlář
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["78af6a8c-6227-4a2c-a286-8...
Depends On:
Blocks: CVE-2026-76219
TreeView+ depends on / blocked
 
Reported: 2026-08-27 20:39 UTC by Jon Weiser
Modified: 2026-08-27 21:10 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-27 21:10:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jon Weiser 2026-08-27 20:39:37 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Ben Beasley 2026-08-27 21:10:54 UTC
GitPython >=3.1.58 is already in all Fedora branches.


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