| Name | CVE-2026-44243 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4872-1, DSA-6594-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| python-git (PTS) | bookworm | 3.1.30-1+deb12u2 | vulnerable |
| bookworm (security) | 3.1.30-1+deb12u3 | fixed | |
| trixie | 3.1.44-1 | vulnerable | |
| trixie (security) | 3.1.44-1+deb13u1 | fixed | |
| forky, sid | 3.2.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| python-git | source | bookworm | 3.1.30-1+deb12u3 | DLA-4872-1 | ||
| python-git | source | trixie | 3.1.44-1+deb13u1 | DSA-6594-1 | ||
| python-git | source | (unstable) | 3.1.50-1 |
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7545-fcxq-7j24
https://github.com/gitpython-developers/GitPython/pull/2134
Fixed by: https://github.com/gitpython-developers/GitPython/commit/25ba54dd3fb374b8fade7de4be1ac2ac84722190 (3.1.48)
Fixed by: https://github.com/gitpython-developers/GitPython/commit/4af8463cca31c2369312fcaa5309dfc30756c7b6 (3.1.48)