Advisory

GHSA-c693-x898-5g4h

Also known as: CVE-2026-12798, PYSEC-2026-4069

Summary

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

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-06-21 12:30 UTC
Modified
2026-10-01 17:56 UTC

Affected packages and fixes

litellm

PyPI · All systems

Affected

  • introduced 0, last affected 1.82.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences