mediumCVSS 6.3NVD status: Analyzed

CVE-2026-12798

LiteLLM: A weakness has been identified in BerriAI litellm up to 1.82.2.

ComponentLiteLLM
Severitymedium (CVSS 6.3)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Published (NVD)2026-06-21
Last modified2026-06-24
Affected versions
litellm <= 1.82.2
Fixed insee the vendor advisory
WeaknessCWE-918
CISA KEVnot listed

NVD description

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.

Does CVE-2026-12798 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for LiteLLM.
Check my stack

What to do

  • NVD lists no fixed version yet: follow the vendor advisory below and keep LiteLLM off the public internet until a fix ships.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other LiteLLM CVEs

All LiteLLM CVEs