CVE-2026-12798
mediumpriority · track · 0EPSS 0.004 · 34 %ileEUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.3–6.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-c693-x898-5g4hBerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader2026-06-21ghsa · osvUS
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.
- PYSEC-2026-4069BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader2026-10-01vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5acnnvd
- https://github.com/BerriAI/litellm/releasesPatchcnnvd
- https://vuldb.com/cve/CVE-2026-12798cnnvd
- https://vuldb.com/submit/811290cnnvd
- https://vuldb.com/vuln/372560cnnvd
- https://vuldb.com/vuln/372560/cticnnvd
- https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5aenisa_euvd
- https://vuldb.com/cve/CVE-2026-12798enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan