CVE-2026-12798
published medium CVSS 4.0 · 5.3BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| BerriAI | — | litellm1.82.0 · 1.82.1 · 1.82.2 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · 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 | — |
| 3.0 | 6.3 | medium | VulDB · 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 | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| BerriAI | litellm | 1.82.0 (affected)1.82.1 (affected)1.82.2 (affected) | VulDB · cna |
Weaknesses
1- CWE-918 Server-Side Request Forgery
References
5- https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a
- 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
- 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
Provider assertions
2VulDB · cna
BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 499f6e3016b08f4f0d8c0ef6dadc096c431ebb416856dd5c44507394a7b45fd3
- Ingested
- 23 Sep 2026, 09:01:12 UTC
- Source record
- Official CVE record