CVE-2026-12798
MEDIUM
6.3
CVSS 3.1
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.
Metadata
Severity & Metrics
6.3
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| BerriAI | litellm | — | 1.82.0, 1.82.1, 1.82.2 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-918 | cna | Server-Side Request Forgery |
CVSS scores (4)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.5 | N/D | 2.0 | cna | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| 6.3 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| 6.3 | MEDIUM | 3.0 | cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| 5.3 | MEDIUM | 4.0 | cna | CVSS: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 |
References (5)
- VDB-372560 | BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery https://vuldb.com/vuln/372560
- VDB-372560 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/372560/cti
- CVE-2026-12798 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-12798
- Submit #811290 | litellm latest Server-Side Request Forgery (SSRF) (CWE-918) https://vuldb.com/submit/811290
- https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a