`evaluation` extra caps litellm below 1.97.0, so no release fixing GHSA-7hp6-4w63-5g45 / CVE-2026-114612 (critical) can be installed

Offen Anfängerfreundlich
#7,252 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@AtharvRG arbeitet bereits daran.

Seit 31.10.2026.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
65/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
python

Rechercherichtung

Das Issue nennt die LiteLLM-Versionsgrenzen des Extras evaluation in den Paketmetadaten von 2.7.0 und gibt einen reproduzierbaren Resolver-Befehl mit uv unter Python 3.14.7 an. Suche zuerst, wo die Abhängigkeitsgrenzen dieses Extras deklariert sind, und prüfe dann die Konventionen des Pakets für Abhängigkeiten und Tests. Das Ziel ist erreicht, wenn sich das Extra auf eine gepatchte LiteLLM-Version auflösen lässt und die unterstützten Python-Einschränkungen erhalten bleiben; führe den angegebenen Dry-Run-Befehl erneut aus, um das zu überprüfen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

api: vertex-ai

The evaluation extra declares, in 2.7.0 (latest):

litellm<1.97.0,>=1.83.7; python_version < "3.14" and extra == "evaluation"
litellm<1.97.0,>=1.93.0; python_version >= "3.14" and extra == "evaluation"

litellm GHSA-7hp6-4w63-5g45 / CVE-2026-114612 (published 2026-10-27, critical, CVSS 3.1 9.9) affects 1.91.0 and later and is fixed in 1.100.4, 1.101.3, 1.102.2, 1.103.1 and 1.104.0rc2 and later series. Every allowed version is below 1.97.0, so the extra cannot be installed with a patched litellm on any Python: a resolver picks 1.96.2, which is in the affected range. On Python 3.14 the lower bound >=1.93.0 leaves no unaffected version at all; on older Pythons only the pre-1.91.0 releases of the 1.x google-cloud-aiplatform line (litellm<1.86.0) escape it.

Repro (Python 3.14.7, uv 0.13.4):

$ uv pip install --dry-run "google-cloud-aiplatform[evaluation]==2.7.0" "litellm>=1.100.4"
error: No solution found when resolving dependencies
  cause: Because google-cloud-aiplatform[evaluation]>=2.7.0 depends on litellm{python_full_version < '3.15'}>=1.93.0,<1.97.0 and you require google-cloud-aiplatform[evaluation]==2.7.0, we can conclude that you require litellm>=1.93.0,<1.97.0.
         And because you require litellm>=1.100.4, we can conclude that your requirements are unsatisfiable.

Downstream, apache-airflow-providers-google requires google-cloud-aiplatform[evaluation], so Airflow images on Python 3.14 ship the affected litellm and fail scanners on a critical finding.

Could the upper bound move to a range containing a patched release (1.104.x or 1.106.x), as #7233 and #7062 did for the earlier advisories? If something blocks it, what is it? I am not claiming the advisory is reachable through the evaluation client; it describes the LiteLLM proxy server.

Vorherrschende Sprache
Python
Sterne
914
Forks
475
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
38

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googleapis/python-aiplatform

Alle Issues in googleapis/python-aiplatform

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.