Security Flaw in GitPython Affects Multiple Versions
CVE-2026-78676

9.3CRITICAL

Key Information:

Status
Vendor
CVE Published:
25 August 2026

What is CVE-2026-78676?

GitPython, up to version 3.1.58, contains a vulnerability that allows attackers to inject malicious directives during git configuration write operations. By exploiting the flawed handling of multi-line values, attackers can alter dormant quoted structures, introducing live Git commands that execute arbitrary code through hook invocations. This security risk highlights the importance of maintaining updated software and understanding the implications of version management in code execution environments.

Affected Version(s)

GitPython 0 < 3.1.59

GitPython 3.1.59

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Pig-Tail
.