Vulnérabilités / CVE-2026-78676

critique

CVE-2026-78676

gitpython: GitPython before 3.1.59 Remote Code Execution via Config Injection

Publiée Modifiée CWE 88
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Le label propre à Trivy est CRITICAL. Critique selon GHSA, Red Hat.

Description

GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated GitPython config write, enabling arbitrary code execution via hook invocation.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
pip::GitHub Security Advisory pipgitpython3.1.59
Red Hatpython-gitpython, python3.12-gitpython, rhosp-rhel8/openstack-mistral-api et 9 autrespas de correctif indiqué
alpine 3.24py3-gitpython3.1.61-r0
alpine edgepy3-gitpython3.1.61-r0
chainguardmlflow3.16.0-r0
debian 11python-gitpas de correctif indiqué
debian 12python-gitpas de correctif indiqué
debian 13python-gitpas de correctif indiqué
debian 14python-git3.1.61-1
echopython-git3.1.59
echo pip::Echo OSVgitpython3.1.59
minimoscheckov, mageai, mlflow et 1 autres3.3.10-r0 et 3 autres
Afficher les 36 entrées de 21 sources
SourcePaquetCorrigé en
pip::GitHub Security Advisory pipgitpython3.1.59
Red Hatpython-gitpythonpas de correctif indiqué
Red Hatpython3.12-gitpythonpas de correctif indiqué
Red Hatrhosp-rhel8/openstack-mistral-apipas de correctif indiqué
Red Hatrhosp-rhel8/openstack-mistral-basepas de correctif indiqué
Red Hatrhosp-rhel8/openstack-mistral-enginepas de correctif indiqué
Red Hatrhosp-rhel8/openstack-mistral-event-enginepas de correctif indiqué
Red Hatrhosp-rhel8/openstack-mistral-executorpas de correctif indiqué
Red Hatrhosp-rhel8/openstack-nova-schedulerpas de correctif indiqué
Red Hatrhosp-rhel8/openstack-tripleoclientpas de correctif indiqué
Red Hatrhosp-rhel9/openstack-tripleoclientpas de correctif indiqué
Red Hatsatellite/iop-vmaas-rhel9pas de correctif indiqué
Red Hatsatellite/iop-vulnerability-engine-rhel9pas de correctif indiqué
alpine 3.24py3-gitpython3.1.61-r0
alpine edgepy3-gitpython3.1.61-r0
chainguardmlflow3.16.0-r0
debian 11python-gitpas de correctif indiqué
debian 12python-gitpas de correctif indiqué
debian 13python-gitpas de correctif indiqué
debian 14python-git3.1.61-1
echopython-git3.1.59
echo pip::Echo OSVgitpython3.1.59
minimoscheckov3.3.10-r0
minimosmageai0.9.80-r0
minimosmlflow3.15.2-r0
minimospy3-gitpython3.1.59-r0
rapidfort alpine 3.20py3-gitpython3.1.61-r0
rapidfort alpine 3.21py3-gitpython3.1.61-r0
rapidfort alpine 3.22py3-gitpython3.1.61-r0
rapidfort alpine 3.23py3-gitpython3.1.61-r0
rapidfort alpine 3.24py3-gitpython3.1.61-r0
rapidfort debian 12python-git0:3.1.61-1
rapidfort debian 13python-git0:3.1.61-1
seal pip::Seal Security Databasegitpython3.1.37+sp999
seal pip::Seal Security Databaseseal-gitpython3.1.37+sp999
wolfimlflow3.16.0-r0

Références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.