Vulnerability · Published May 7, 2026 · Assigned by GitHub_M

CVE-2026-44243GitPython: Path traversal in GitPython reference APIs allows arbitrary file write and delete outside the repository

High 7.8

In plain English

A high-severity path traversal in GitPython from gitpython-developers. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)7.8High
Exploit odds (30 days)0.4%top 63.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.48, a vulnerability in GitPython allows attackers who can supply a crafted reference path to an application using GitPython to write, overwrite, move, or delete files outside the repository’s .git directory via insufficient validation of reference paths in reference creation, rename, and delete operations. This issue has been patched in version 3.1.48.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-git3.1.30-1+deb12u3DEBIAN-CVE-2026-44243
Debian:13python-git3.1.44-1+deb13u1DEBIAN-CVE-2026-44243
Debian:14python-git3.1.50-1DEBIAN-CVE-2026-44243
PyPIgitpython3.1.48PYSEC-2026-2162
PyPIgitpython3.1.48GHSA-7545-fcxq-7j24
Ubuntu:25.10python-gitno fix listedUBUNTU-CVE-2026-44243
Ubuntu:26.10python-gitno fix listedUBUNTU-CVE-2026-44243

Affected products (as reported)

VendorProductVersions
gitpython-developers GitPython < 3.1.48

Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

References