Skip to content
OpenAdvisories
High · 8.1 CVE-2026-73620 EUVD-2026-57824GHSA-3f7w-8rr8-f37fGHSA-mhfq-f35q-x62mPYSEC-2026-3949

GitPython before 3.1.57 Arbitrary File Overwrite and Read

Published Aug 13, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

Description

GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.

Affected products

VendorProductAffectedFixed
gitpython-developers GitPython < 3.1.57 3.1.57

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-git 3.1.61-1 —
Debian 13 python-git 3.1.44-1+deb13u1 —
Debian 12 python-git 3.1.30-1+deb12u3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-git No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS python-git No fix yet —
Ubuntu Pro 24.04 LTS python-git No fix yet —
Ubuntu Pro 22.04 LTS python-git No fix yet —
Ubuntu Pro 20.04 LTS python-git No fix yet —
Ubuntu Pro 18.04 LTS python-git No fix yet —
Ubuntu Pro 16.04 LTS python-git No fix yet —
Ubuntu Pro 14.04 LTS python-git No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman +1 3.12.0.23-1.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Utils 6 rubygem-hammer_cli 3.12.0-2.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Utils 6 rubygem-jwt 2.10.3-1.el9sat RHSA-2026:63385
Red Hat Satellite Utils 6 satellite +1 6.16.14-1.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Maintenance 6 ansible-core 1:2.16.19-1.el9sat RHSA-2026:63385
Red Hat Satellite Capsule 6 ansible-core +1 1:2.16.19-1.el9sat RHSA-2026:63385
Red Hat Satellite Capsule 6 foreman +2 3.12.0.23-1.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Capsule 6 openvox-server 8.15.2-1.el9sat RHSA-2026:63385
Red Hat Satellite Capsule 6 python-dynaconf +1 3.2.13-1.el8pc RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Capsule 6 python-gitpython +1 3.1.62-1.el8pc RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Capsule 6 python-lxml +1 4.9.2-5.el8pc RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Capsule 6 python-pulpcore +1 3.49.39-4.el8pc RHSA-2026:74506
Red Hat Satellite Capsule 6 python-sqlparse +1 0.6.0-1.el8pc RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Capsule 6 python3.12-aiohttp 3.14.3-1.el9pc RHSA-2026:63385
Red Hat Satellite Capsule 6 python3.12-gitpython 3.1.59-1.el9pc RHSA-2026:63385
Red Hat Satellite Capsule 6 rubygem-jwt 2.10.3-1.el9sat RHSA-2026:63385
Red Hat Satellite Capsule 6 satellite +2 6.16.14-1.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite Capsule 6 satellite-obsolete-packages 6.17.12-1.el9sat RHSA-2026:74505
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Satellite 6 ansible-core +1 1:2.16.19-1.el9sat RHSA-2026:63385
Red Hat Satellite 6 foreman +14 3.12.0.23-1.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 openvox-server 8.15.2-1.el9sat RHSA-2026:63385
Red Hat Satellite 6 python-dynaconf +1 3.2.13-1.el8pc RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 python-gitpython +1 3.1.62-1.el8pc RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 python-lxml +1 4.9.2-5.el8pc RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 python-pulpcore +1 3.49.39-4.el8pc RHSA-2026:74506
Red Hat Satellite 6 python-sqlparse +1 0.6.0-1.el8pc RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 python3.12-aiohttp 3.14.3-1.el9pc RHSA-2026:63385
Red Hat Satellite 6 python3.12-gitpython 3.1.59-1.el9pc RHSA-2026:63385
Red Hat Satellite 6 rubygem-foreman_remote_execution +1 13.2.8-2.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 rubygem-hammer_cli 3.12.0-2.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 rubygem-jwt 2.10.3-1.el9sat RHSA-2026:63385
Red Hat Satellite 6 rubygem-katello 4.14.0.23-1.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 rubygem-safemode 1.5.0-2.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 satellite +2 6.16.14-1.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Satellite 6 satellite-obsolete-packages 6.17.12-1.el9sat RHSA-2026:74505
Red Hat Satellite 6 yggdrasil-worker-forwarder 0.1.0-2.el8sat RHSA-2026:74506, RHSA-2026:74505
Red Hat Ansible Automation Platform Developer 2 automation-controller-cli 4.6.32-1.el8ap RHSA-2026:59136, RHSA-2026:59135
Red Hat Ansible Automation Platform Developer 2 python-django +1 5.2.17-1.el10ap RHSA-2026:59136
Red Hat Ansible Automation Platform Developer 2 python3.12-django 5.2.17-1.el8ap RHSA-2026:59136, RHSA-2026:59135
Red Hat Ansible Automation Platform 2 automation-controller-cli +1 4.6.32-1.el8ap RHSA-2026:59136, RHSA-2026:59135
Red Hat Ansible Automation Platform 2 automation-gateway-server 2.5.20260824-1.el8ap RHSA-2026:59135
Red Hat Ansible Automation Platform 2 automation-platform-ui 2.6.13-1.el9ap RHSA-2026:59136
Red Hat Ansible Automation Platform 2 python-django +1 5.2.17-1.el10ap RHSA-2026:59136
Red Hat Ansible Automation Platform 2 python3.12-aiohttp 3.14.3-1.el8ap RHSA-2026:59136, RHSA-2026:59135
Red Hat Ansible Automation Platform 2 python3.12-django 5.2.17-1.el8ap RHSA-2026:59136, RHSA-2026:59135
Red Hat Ansible Automation Platform 2 python3.12-gitpython 3.1.59-1.el8ap RHSA-2026:59136, RHSA-2026:59135
ReleasePackageFixed inAdvisory
SLES 15 SP6 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SLES 15 SP5 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SLES 15 SP4 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SLES 3 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SLES for SAP 15 SP5 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SLES for SAP 15 SP4 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SLE HPC 15 SP5 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
SLE HPC 15 SP4 python-GitPython 3.1.34.1693646983.2a2ae77-150400.9.8.1 SUSE-SU-2026:4072-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-GitPython 3.1.59-2.1 openSUSE-SU-2026:11566-1
openSUSE Leap 16.0 python-GitPython 3.1.44-160000.4.1 openSUSE-SU-2026:21874-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gitpython < 3.1.57 3.1.57 GHSA-3f7w-8rr8-f37f

Advisories 8

References