← AI agent vulnerabilities

CVE-2026-12798

BerriAI litellm

6.3
Severity
Medium
Published
June 21, 2026
Last modified
June 24, 2026

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.

CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Weakness

References

CVE-2026-12798 on NVD

Listed in

MediumMCP serversServer-side request forgery

More BerriAI litellm CVEs

Jun 21
CVE-2026-127746.3

A security vulnerability has been detected in BerriAI litellm up to 1.82.2.