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

VendorProductVersions
gitpython-developersGitPython0, 3.1.50
gitpython-developersGitPython3.1.50, 0, 3.1.50
gitpython_projectgitpython0

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
Open in Interactive Console →
$ Console Community · 100/wk Open console ›