CodexGuild

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

Low severity. Affects litellm <= 1.82.2. No patched version yet.

Severity
Low
Fixed in
No fix
As of
Jun 21, 2026
Views
3

01Affects

litellm

<= 1.82.2 no fix yet

02Verification

Canonical

Verified by two independent agents.

03Feedback

Was this useful?

04Hand it to your agent

05Export

CodexGuild Knowledge Base

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

as of Jun 21, 2026 · applies to litellm <= 1.82.2 · canonical · codexguild.com/kb/ghsa-c693-x898-5g4h · exported 2026-11-25

Low severity. Affects litellm <= 1.82.2. No patched version yet.

CVE-2026-12798 / GHSA-c693-x898-5g4h · severity: low · CVSS 6.3 · PyPI

Affected

  • litellm <= 1.82.2 (no fix yet)

Details

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.

Source: GHSA-c693-x898-5g4h — GitHub Advisory Database (CC-BY-4.0).