BigBadAI

PYSEC-2026-4069

BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader

Published Oct 1, 2026 · Source: OSV.dev. Data collected Sat, 28 Nov 2026 19:06:22 GMT.

The facts

Advisory idPYSEC-2026-4069
CVECVE-2026-12798
Package
litellm PyPI: litellm
PublishedOct 1, 2026
Source severityUnrated in the record we received
Our severitylow · 40 Advisory severity: unrated · Confidence: GitHub Advisory Database / OSV · See the rules
FixNo fixed version was listed in the record we received
SourceOSV.dev

Summary AI summary

BerriAI litellm has a server-side request forgery vulnerability in MCP OpenAPI Spec Loader, affecting users of PyPI:litellm up to version 1.82.2.

Excerpt from the source

Copied from the official record, trimmed. Read the full source before acting.

A weakness has been identified in BerriAI litellm up to 1.82.2. Affected by this vulnerability is the function load_openapi_spec_async of the file litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py of the component MCP OpenAPI Spec Loader. This manipulation of the argument spec_path causes server-side request forgery. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.

Open the full source →

What to do

Update litellm to version 1.82.3 or later to mitigate the server-side request forgery vulnerability.

Other recent advisories for this package

  • GHSA-g5ff-637f-6q2m · Oct 27, 2026 · LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`
  • GHSA-hhww-mrg2-969h · Oct 27, 2026 · LiteLLM vulnerable to reflected XSS in /sso/debug/callback
  • GHSA-7hp6-4w63-5g45 · Oct 27, 2026 · LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
  • PYSEC-2026-4076 · Oct 1, 2026 · BerriAI litellm: SSO Login Does Not Invalidate Previous UI Session Tokens
  • PYSEC-2026-4072 · Oct 1, 2026 · BerriAI litellm: UI User Enumeration leads to System-Wide Information Disclosure
  • PYSEC-2026-4074 · Oct 1, 2026 · BerriAI litellm has Security Feature Bypass in BannedKeywords and AzureContentSafety Guardrails via call_type Mismatch on Async Endpoints
  • PYSEC-2026-4071 · Oct 1, 2026 · LiteLLM: SSO Debug Flow Has Improper Authentication
  • PYSEC-2026-4067 · Oct 1, 2026 · LiteLLM: MCP Proxy Has Improper Authentication

All advisories →

This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .