Advisory

PYSEC-2026-4066

Also known as: CVE-2026-84377, GHSA-3cv6-jpf6-8222

Summary

LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters

Details

Impact

Any authenticated LiteLLM proxy user could redirect an outbound provider call to a destination they control and cause the proxy to send its own configured provider credentials to that destination. The proxy's request-body validation was a denylist that did not cover every sensitive parameter and did not inspect parameters nested inside other request fields, so a caller could supply a routing or credential value that the proxy applied without clearing the operator's stored key. Any authenticated user could therefore exfiltrate the operator's upstream provider credentials and other configured secrets, and perform Server-Side Request Forgery against internal services reachable from the proxy.

Patches

Fixed in 1.96.2, 1.95.1, 1.94.3, 1.93.2, 1.92.2, 1.91.5, 1.90.7, 1.89.7, and 1.88.6.

Workarounds

Set general_settings.allow_client_side_credentials to false so callers cannot override connection parameters, restrict proxy keys to trusted callers, and block the affected parameters (api_base, base_url, model_list, fallbacks, provider credential fields) at a reverse proxy or API gateway.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-10-01 16:38 UTC
Modified
2026-10-01 17:45 UTC

Affected packages and fixes

litellm

PyPI · All systems

Affected

  • introduced 0, fixed 1.88.6, introduced 1.89.0, fixed 1.89.7, introduced 1.90.0, fixed 1.90.7, introduced 1.91.0, fixed 1.91.5, introduced 1.92.0, fixed 1.92.2, introduced 1.93.0, fixed 1.93.2, introduced 1.94.0, fixed 1.94.3, introduced 1.95.0, fixed 1.95.1, introduced 1.96.0, fixed 1.96.2 (ecosystem)

Fixed versions

1.88.6, 1.89.7, 1.90.7, 1.91.5, 1.92.2, 1.93.2, 1.94.3, 1.95.1, 1.96.2

Fix

  • Fixed version 1.88.6
    pip install --upgrade litellm==1.88.6
  • Fixed version 1.89.7
    pip install --upgrade litellm==1.89.7
  • Fixed version 1.90.7
    pip install --upgrade litellm==1.90.7
  • Fixed version 1.91.5
    pip install --upgrade litellm==1.91.5
  • Fixed version 1.92.2
    pip install --upgrade litellm==1.92.2
  • Fixed version 1.93.2
    pip install --upgrade litellm==1.93.2
  • Fixed version 1.94.3
    pip install --upgrade litellm==1.94.3
  • Fixed version 1.95.1
    pip install --upgrade litellm==1.95.1
  • Fixed version 1.96.2
    pip install --upgrade litellm==1.96.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences