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


Threat Intelligence

EPSS
1.04% (62nd 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-PYTHON312GITPYTHON-19144287
  • published21 Aug 2026
  • disclosed1 Aug 2026

Introduced: 1 Aug 2026

CVE-2026-67323  (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 python3.12-gitpython package and not the python3.12-gitpython package as distributed by RHEL.

GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.