Server-Side Request Forgery in BerriAI litellm by BerriAI
CVE-2026-12798

5.3MEDIUM

Key Information:

Vendor

Berriai

Status
Vendor
CVE Published:
21 June 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

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

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Eric-c (VulDB User)
VulDB CNA Team
.