Bug 2528017 - CVE-2026-78676 GitPython: GitPython before 3.1.59 Remote Code Execution via Config Injection [epel-all]
Summary: CVE-2026-78676 GitPython: GitPython before 3.1.59 Remote Code Execution via C...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: GitPython
Version: epel10
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Lubomír Sedlář
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["ae63c371-2673-4f31-b304-6...
Depends On:
Blocks: CVE-2026-78676
TreeView+ depends on / blocked
 
Reported: 2026-09-03 13:23 UTC by Thomas Eagle
Modified: 2026-09-03 17:54 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-09-03 17:54:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thomas Eagle 2026-09-03 13:23:42 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.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.

Comment 1 Ben Beasley 2026-09-03 17:54:26 UTC
GitPython 3.1.59 is already in stable repositories for EPEL10 and EPEL9. EPEL8 is at an old version affected by (at this point) dozens of known security issues, but can’t be straightforwardly updated.


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