Server-Side Request Forgery in BerriAI litellm by BerriAI
CVE-2026-12798
Key Information:
Badges
What is CVE-2026-12798?
A security vulnerability exists in BerriAI's litellm product, specifically in the MCP OpenAPI Spec Loader component. This flaw occurs in the function load_openapi_spec_async, located in openapi_to_mcp_generator.py. It allows an attacker to manipulate the spec_path argument, enabling server-side request forgery attacks. This vulnerability can be exploited remotely, potentially leading to unauthorized access and data exposure. The implementation details of this vulnerability are publicly available, raising concerns about its exploitation in real-world scenarios.
Affected Version(s)
litellm 1.82.0
litellm 1.82.1
litellm 1.82.2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
