Bug 2525277 - CVE-2026-76218 GitPython: GitPython: Remote Code Execution via malicious Git hooks [fedora-all]
Summary: CVE-2026-76218 GitPython: GitPython: Remote Code Execution via malicious Git ...
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": ["bd1d16b4-5384-4ae1-865c-a...
Depends On:
Blocks: CVE-2026-76218
TreeView+ depends on / blocked
 
Reported: 2026-08-27 20:39 UTC by Jon Weiser
Modified: 2026-08-27 21:11 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Jon Weiser 2026-08-27 20:39:15 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 before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.

Comment 1 Ben Beasley 2026-08-27 21:11:05 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.