Bug 2542058 - CVE-2026-78677 GitPython: GitPython: Arbitrary Code Execution via Path Traversal [epel-all]
Summary: CVE-2026-78677 GitPython: GitPython: Arbitrary Code Execution via Path Traver...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: GitPython
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Lubomír Sedlář
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["5dfbb40f-4e49-4359-92a4-d...
Depends On:
Blocks: CVE-2026-78677
TreeView+ depends on / blocked
 
Reported: 2026-09-27 10:45 UTC by nlevinki
Modified: 2026-09-28 06:56 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-09-28 06:56:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description nlevinki 2026-09-27 10:45:34 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 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone() to redirect repository metadata to an attacker-controlled filesystem path, enabling arbitrary directory creation and potential hook execution.

Comment 1 Ben Beasley 2026-09-28 06:56:28 UTC
This is fixed in 3.1.59, which is already in all Fedora branches, 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.