MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-67326

GitPython before 3.1.50 Newline Injection via config_writer section

Not on CISA KEVCVSS 7.0 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)