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.
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7545-fcxq-7j24
https://github.com/gitpython-developers/GitPython/releases/tag/3.1.48
Published: 2026-05-07
Updated: 2026-05-07
Base Score: 6.2
Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:C/A:C
Severity: Medium
Base Score: 7.1
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Severity: High
Base Score: 8.8
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
Severity: High
EPSS: 0.00096