CVE-2026-12798

published 21 Jun 2026 · updated 22 Jun 2026

BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery

7.3HighCVSS 6.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
BerriAILiteLLM=1.82.0, =1.82.1, =1.82.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in LiteLLM, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-12798 severity on Zeptric[![CVE-2026-12798](https://zeptric.io/badge/cve/CVE-2026-12798.svg)](https://zeptric.io/cve/CVE-2026-12798)