ADVISORIES

Vulnerability

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.

16 advisories report this vulnerability, across 7 ecosystems.

Advisories in openSUSE

  • SUSEVEX-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…

    Important CVE-2026-67326 SUSEopenSUSE Updated 24 September 2026
  • openSUSE-SU-2026:11466-1

    python313-GitPython-3.1.58-1.1 on GA media

    CVE-2026-67322CVE-2026-67325CVE-2026-67326CVE-2026-69097 openSUSE Updated 7 August 2026
  • openSUSE-SU-2026:21874-1

    Security update for python-GitPython

    CVE-2026-67322CVE-2026-67323CVE-2026-67325CVE-2026-67326 openSUSE Updated 25 September 2026

References