PYSEC-2026-3949

At a glance

Published
Updated
CVE
CVE-2026-73620
Aliases
GHSA-3f7w-8rr8-f37f
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Description

GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.

Affected packages

PackageVersions
PyPI · gitpythonintroduced 0, fixed 3.1.57

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database