ShellCodeX vulnerability brief
HIGH
Received
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 01 Aug 2026, 13:17 UTC
Last modified 01 Aug 2026, 13:17 UTC
01
Attack profile
The conditions required to exploit this vulnerability and its potential impact.
Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
Passive
Scope
Not assessed
Confidentiality
Not assessed
Integrity
Not assessed
Availability
Not assessed
02
Affected products
Product applicability statements supplied with the NVD record.
NVD has not published structured affected-product data for this record.
03
Weakness classification
CWE categories help security teams group the underlying software weakness.
04
Source references
External advisories, patches and technical reports attached to this CVE record.