CVE-2026-67326
HIGH
MEDIUM
Priority: 0.02
BB Relevance:
30/100
Published: 2026-08-01
Modified: 2026-10-23
First seen: 2026-10-29
Status: active
Attack Surface
No Auth
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Local
AC:
High
PR:
None
UI:
Passive
S:
X
AT:
Present
VC:
High
VI:
High
VA:
High
Description
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.
Weakness Classification (1)
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| gitpython_project | gitpython | < 3.1.50 |
References & Advisories (2)
Third Party Advisory
Exploit
Vendor Advisory