PoC Monitor
← All CVEs
CVE-2026-78676published 25 Aug 2026 01:30 UTCData: JSON · API

Gitpython-developers GitPython

GitPython before 3.1.59 Remote Code Execution via Config Injection

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 GitPython config write, enabling arbitrary code execution via hook invocation.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by CNA · CWE-88
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

gitpython-developers GitPython
  • < 3.1.59

Fixed in 3.1.59

Mitigation

Upgrade GitPython to 3.1.59 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published25 Aug 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.