CVE-2026-12798
Last modified
CVE-2026-12798 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Litellm | Litellm | <= 1.82.2 |
References
- https://gist.github.com/YLChen-007/c1104c529975699ba347feedfbe02c5aExploit, Third Party Advisory
- https://vuldb.com/cve/CVE-2026-12798Third Party Advisory, VDB Entry
- https://vuldb.com/submit/811290Third Party Advisory, Exploit, VDB Entry
- https://vuldb.com/vuln/372560Third Party Advisory, VDB Entry
- https://vuldb.com/vuln/372560/ctiPermissions Required, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-12798?
How severe is CVE-2026-12798?
How do I fix CVE-2026-12798?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12788A vulnerability was determined in zhilink 智互联(深圳)科技有限公司 ADP …6.3
- CVE-2026-12789A vulnerability was identified in ILIAS Learning Management …4.7
- CVE-2026-1279The Employee Directory plugin for WordPress is vulnerable to…6.4
- CVE-2026-12795A vulnerability was determined in BerriAI litellm up to 1.82…7.3
- CVE-2026-12796A vulnerability was identified in BerriAI litellm up to 1.82…6.3
- CVE-2026-12797A security flaw has been discovered in BerriAI litellm up to…6.3
- CVE-2026-12799A security vulnerability has been detected in BerriAI litell…4.3
- CVE-2026-1280The Frontend File Manager Plugin for WordPress is vulnerable…7.5
- CVE-2026-12800The Premium Packages – Sell Digital Products Securely plugin…7.5
- CVE-2026-12801The Ultra Addons for Contact Form 7 plugin for WordPress is …6.4
- CVE-2026-12802In Bouncy Castle for Java before 1.85, CMS AuthEnvelopedData…8.7
- CVE-2026-12803In Bouncy Castle for Java before 1.85, KCCMBlockCipher MAC d…8.7
Are you affected by CVE-2026-12798?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
