Arbitrary Argument Injection The advisory has been revoked - it doesn't affect any version of package GitPython  (opens in a new tab)


Threat Intelligence

EPSS
0.56% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-GITPYTHON-19523103
  • published4 Sept 2026
  • disclosed25 Aug 2026

Introduced: 25 Aug 2026

CVE-2026-78676  (opens in a new tab)
CWE-88  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream GitPython package and not the GitPython package as distributed by RHEL.

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.