Arbitrary Argument Injection Affecting py3.13-gitpython package, versions <3.1.61-r0


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-MINIMOSLATEST-PY313GITPYTHON-19889696
  • published18 Sept 2026
  • disclosed9 Sept 2026

Introduced: 9 Sep 2026

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

How to fix?

Upgrade Minimos:latest py3.13-gitpython to version 3.1.61-r0 or higher.

NVD Description

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

GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with -I/--ignore-matching-lines to create a content-dependent Boolean oracle, repeatedly querying local files to recover single-line secrets through distinguishable success or error responses.

CVSS Base Scores

version 3.1