CVE-2026-78676
GitPython before 3.1.59 Remote Code Execution via Config Injection
CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-88 |
| Vendor | gitpython-developers |
| Product | gitpython |
| Published | Aug 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitpython-developers gitpython
Be the first to know when new critical vulnerabilities affecting gitpython-developers gitpython are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
gitpython-developers / GitPython
0 < 3.1.59
References
Credits
๐ Pig-Tail