PYSEC-2026-3952

En bref

Publiée
Mise à jour
CVE
CVE-2026-73623
Alias
GHSA-6p8h-3wgx-97gf
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing malicious post-checkout hooks that execute when git clones the repository.

Paquets affectés

PaquetVersions
PyPI · gitpythonintroduced 0, fixed 3.1.54

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database