Bug 2523215 (CVE-2026-78677) - CVE-2026-78677 GitPython: GitPython: Arbitrary Code Execution via Path Traversal
Summary: CVE-2026-78677 GitPython: GitPython: Arbitrary Code Execution via Path Traversal
Keywords:
Status: NEW
Alias: CVE-2026-78677
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2542057 2542058
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-25 01:53 UTC by OSIDB Bzimport
Modified: 2026-09-27 10:50 UTC (History)
47 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-25 01:53:49 UTC
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.


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