MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-78676GHSA-284h-m62q-gf8w

GitPython before 3.1.59 Remote Code Execution via Config Injection

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

Summary

GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after any unrelated

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

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
  • Red Hat Source: Red Hat Security Data (CC BY 4.0)