CVE-2026-44243
GitPython: Path traversal in GitPython reference APIs allows arbitrary file write and delete outside the repository
- State
- Published
- Severity
- 7.8 High
- Published
- May 7, 2026
- Updated
- May 7, 2026
- Reserved
- May 5, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.8 High | 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 | GitHub_M |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
GitPythongitpython-developers |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.