# PYSEC-2026-4066: LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters

- Database: PyPA
- Published: 2026-10-01
- Modified: 2026-10-01

## Tracked as

- [CVE-2026-84377](https://cve.now/CVE-2026-84377.md): LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters

## Also published as

- [GHSA-3CV6-JPF6-8222](https://cve.now/GHSA-3CV6-JPF6-8222.md) (GitHub)

## Affected versions

- litellm (PyPI): fixed in 1.88.6; from 1.89.0, fixed in 1.89.7; from 1.90.0, fixed in 1.90.7; from 1.91.0, fixed in 1.91.5; from 1.92.0, fixed in 1.92.2; from 1.93.0, fixed in 1.93.2; from 1.94.0, fixed in 1.94.3; from 1.95.0, fixed in 1.95.1; from 1.96.0, fixed in 1.96.2

## Description

### 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.

## References

- https://github.com/BerriAI/litellm/security/advisories/GHSA-3cv6-jpf6-8222
- https://nvd.nist.gov/vuln/detail/CVE-2026-84377
- https://github.com/BerriAI/litellm/pull/36011
- https://github.com/BerriAI/litellm/pull/36314
- https://github.com/BerriAI/litellm/pull/36494
- https://github.com/BerriAI/litellm/commit/473f72e63a9777d793fbbf57194d8ec4fb97bc1b
- https://github.com/BerriAI/litellm/commit/820f247a6abba55cd87d130bef7bba7be3b29d37
- https://github.com/BerriAI/litellm/commit/c898d341c02299cf2506d0d8e84cc67953043593
- https://github.com/BerriAI/litellm
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-3cv6-jpf6-8222

Page: https://cve.now/PYSEC-2026-4066

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
