Arbitrary Argument Injection Affecting python-git package, versions <3.1.59


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.41% (33rd 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-ECHOLATEST-PYTHONGIT-19256858
  • published25 Aug 2026
  • disclosed25 Aug 2026

Introduced: 25 Aug 2026

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

How to fix?

Upgrade Echo:latest python-git to version 3.1.59 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-git package and not the python-git package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing these options to Repo.blame(). Attackers can supply revision values like --contents=/etc/passwd to leak file contents through the blame result returned to the caller.

CVSS Base Scores

version 3.1