5.3medium
BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-c693-x898-5g4hPYSEC-2026-4069
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| BerriAI litellm | 1.82.0, 1.82.1, 1.82.2 | CVE List |
| litellm (PyPI) | up to 1.82.2 | GitHub Advisory Database, PyPA Advisory Database |
| litellm litellm | up to 1.82.2 | NVD |
All scores
| VulDB | 5.3medium CVSS:4.0 | 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 |
| VulDB | 6.3medium 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 |
| VulDB | 6.3medium CVSS:3.0 | 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 |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 6.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low CVSS:4.0 | 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 |
| PyPA Advisory Database | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se ha identificado una debilidad en BerriAI litellm hasta la versión 1.82.2. Afectada por esta vulnerabilidad es la función load_openapi_spec_async del archivo litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py del componente MCP OpenAPI Spec Loader. Esta manipulación del argumento spec_path causa falsificación de petición del lado del servidor. Es posible iniciar el ataque de forma remota. El exploit ha sido puesto a disposición del público y podría ser utilizado para ataques. El proveedor fue contactado con antelación sobre esta divulgación.
References
| https://vuldb.com/vuln/372560 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/vuln/372560/cti | permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/cve/CVE-2026-12798 | third-party-advisory, vdb-entry, web | |
| https://vuldb.com/submit/811290 | exploit, third-party-advisory, vdb-entry, web | |
| https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-12798 | advisory | |
| https://github.com/BerriAI/litellm | package | |
| https://pypi.org/project/litellm | package | |
| https://github.com/advisories/GHSA-c693-x898-5g4h | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12798 changed 2026-06-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c693-x898-5g4h changed 2026-10-01 | CC-BY-4.0 |
| NVD | CVE-2026-12798 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-4069 changed 2026-10-01 | CC-BY-4.0 |