{"cve":"CVE-2026-12798","nvd":{"published":"2026-06-21T10:16:17.023","modified":"2026-10-25T23:10:00.167","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":2.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3},"cwes":["CWE-918"],"references":["https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5a","https://vuldb.com/cve/CVE-2026-12798","https://vuldb.com/submit/811290","https://vuldb.com/vuln/372560","https://vuldb.com/vuln/372560/cti"],"products":["litellm:litellm"],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-12798","score":0.004,"percentile":0.33941,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-c693-x898-5g4h","url":"https://osv.dev/vulnerability/GHSA-c693-x898-5g4h","summary":"BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader","modified":"2026-10-01T17:56:07.699173407Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<=1.82.2"],"fixed":[]}]},{"id":"PYSEC-2026-4069","url":"https://osv.dev/vulnerability/PYSEC-2026-4069","summary":"BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader","modified":"2026-10-01T17:45:03.814303345Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<=1.82.2"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}