Home

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.

PUBLISHED Reserved 2026-06-20 | Published 2026-06-21 | Updated 2026-06-21 | Assigner VulDB




MEDIUM: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
MEDIUM: 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
MEDIUM: 6.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
6.5AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Problem types

Server-Side Request Forgery

Product status

1.82.0
affected

1.82.1
affected

1.82.2
affected

Timeline

2026-06-20:Advisory disclosed
2026-06-20:VulDB entry created
2026-06-20:VulDB entry last update

Credits

Eric-c (VulDB User) reporter

VulDB CNA Team coordinator

References

vuldb.com/vuln/372560 (VDB-372560 | BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery) vdb-entry technical-description

vuldb.com/vuln/372560/cti (VDB-372560 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/cve/CVE-2026-12798 (CVE-2026-12798 | CVE Analysis and Report) third-party-advisory

vuldb.com/submit/811290 (Submit #811290 | litellm latest Server-Side Request Forgery (SSRF) (CWE-918)) third-party-advisory

gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a exploit

cve.org (CVE-2026-12798)

nvd.nist.gov (CVE-2026-12798)

Download JSON