CVE-2026-78676: Schwachstelle in Gitpython Project Gitpython
Kritisch. 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.
PyPI, CWE-88, CWE-94
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 9,8 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Korrigierte Version bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-284h-m62q-gf8w
- Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Fehlerklasse
- CWE-88, CWE-94
- Veröffentlicht
- 25. Aug. 2026
- Letzte Änderung
- 12. Okt. 2026
- Ökosystem
- PyPI
Betroffene Produkte
Betroffene Versionen und erste korrigierte Version
- Gitpython Project Gitpython Vor 3.1.59. Behoben in 3.1.59
Betroffene Pakete
Anfällige Versionsbereiche und korrigierte Versionen
- GitPython PyPI, Betroffen: Bis 3.1.58. Behoben in 3.1.59
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-284h-m62q-gf8w
- github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3786.yaml
- vulncheck.com/advisories/gitpython-before-remote-code-execution-via-config-injection
Weiter
- Schwachstellen in Gitpython Aktuelle Hinweise, Produkt beobachten