Bug 2519609 (CVE-2026-76222) - CVE-2026-76222 gitpython: GitPython: Arbitrary file creation via path traversal in .gitmodules submodule names
Summary: CVE-2026-76222 gitpython: GitPython: Arbitrary file creation via path travers...
Keywords:
Status: NEW
Alias: CVE-2026-76222
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2525284 2525285
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-19 14:18 UTC by OSIDB Bzimport
Modified: 2026-09-11 20:26 UTC (History)
46 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-19 14:18:50 UTC
GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule names that GitPython processes during submodule initialization, creating attacker-controlled Git repositories at escaped filesystem locations.


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