Home

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.

PUBLISHED Reserved 2026-05-05 | Published 2026-05-07 | Updated 2026-05-07 | Assigner GitHub_M




HIGH: 7.8CVSS: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

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 3.1.48
affected

References

github.com/...Python/security/advisories/GHSA-7545-fcxq-7j24 exploit

github.com/...Python/security/advisories/GHSA-7545-fcxq-7j24

github.com/...ython-developers/GitPython/releases/tag/3.1.48

cve.org (CVE-2026-44243)

nvd.nist.gov (CVE-2026-44243)

Download JSON