CVE-2026-67326
GitPython before 3.1.50 fails to validate newline characters in the section parameter of config_writer(), allowing attackers to inject arbitrary section headers into .git/config. Attackers can inject newlines to create a forged [core] section with hooksPath pointing to attacker-controlled directories, achieving remote code execution when git hooks are triggered.
Published:Aug 1, 2026
Last Modified:Aug 14, 2026
EPS:Aug 1, 2026
EPSS Score:0.00191
CVSS Score:7
Affected Products
Vendor
Product
Action
Vendor
Gitpython-developers
Product
Gitpython
Gitpython-developers
Gitpython
Vendor
Gitpython Project
Product
Gitpython
Gitpython Project
Gitpython
Vendor
Redhat
Product
Hummingbird
Redhat
Hummingbird
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
