PYSEC-2026-2162

At a glance

Published
Updated
CVE
CVE-2026-44243
Aliases
GHSA-7545-fcxq-7j24
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

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

PackageVersions
PyPI · gitpythonintroduced 0, fixed 3.1.48

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database