VDB
CVE-2026-67326
CVE-2026-67326
PUBLISHED
CVSS 7.3 HIGH
Reported by VulnCheck · Published August 1, 2026
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.
Risk Scores
CVSS 4.0
7.3
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| gitpython-developers | GitPython | 0, 3.1.50 |
| gitpython-developers | GitPython | 3.1.50, 0, 3.1.50 |
| gitpython_project | gitpython | 0 |
Timeline
- Aug 1, 2026 Coalition ESS Score
- Aug 1, 2026 CVE Published
- Aug 2, 2026 EPSS Score
- Aug 3, 2026 Security Advisory
- Aug 5, 2026 CVE Updated
References
- GitHub Security Advisory (GHSA-mv93-w799-cj2w) vendor-advisory
- VulnCheck Advisory: GitPython before 3.1.50 Newline Injection via config_writer section third-party-advisory