CVE-2026-12798
LOW 2.1CVSS 4.0BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader
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
- 21 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-c693-x898-5g4hPYSEC-2026-4069
- Sources
- NVDJSONOSV GHSA-c693-x898-5g4hJSONOSV PYSEC-2026-4069JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | LOW 2.1 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | litellm | litellmcpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* |
<= 1.82.2 | |
| OSV | PyPI | litellm | <= 1.82.2 |
References
- https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a · Exploit, Third Party Advisory, WEB
- https://vuldb.com/cve/CVE-2026-12798 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/submit/811290 · Third Party Advisory, Exploit, VDB Entry, WEB
- https://vuldb.com/vuln/372560 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/vuln/372560/cti · Permissions Required, VDB Entry, 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
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 21 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jun 2026)