A AegiFlow
CRITICALCVSS 9.3EPSS 0.4%

CVE-2026-78676

CVE-2026-78676 updated by NVD

Published
2026-09-08
Modified
2026-10-14
EPSS percentile
36%
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIGitPython—3.1.59

Remediation: Upgrade to 3.1.59 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.