Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2026-12798cvecve-2026-12798
Published: 06/21/2026 (06/21/2026, 09:30:08 UTC)
Source: CVE Database V5
Vendor/Project: BerriAI
Product: litellm

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.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

litellm/litellm
pkg:npm/litellm/litellm
Affected versions
=1.82.0=1.82.1=1.82.2
CPE configurations
cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/21/2026, 10:12:40 UTC

Technical Analysis

CVE-2026-12798 is a server-side request forgery vulnerability in BerriAI litellm affecting versions 1.82.0 through 1.82.2. The vulnerability resides in the load_openapi_spec_async function within litellm/proxy/_experimental/mcp_server/openapi_to_mcp_generator.py, specifically in the MCP OpenAPI Spec Loader component. By manipulating the spec_path argument, an attacker can cause the server to make unintended requests, potentially accessing internal resources or services. The vulnerability is remotely exploitable and public exploit code has been released. The vendor was notified early, but no official fix or remediation level has been published as of the data provided.

Potential Impact

The SSRF vulnerability allows an attacker with low privileges to induce the server to make arbitrary HTTP requests. This can lead to unauthorized access to internal systems or services that are otherwise inaccessible externally. The CVSS 4.0 score of 5.3 (medium severity) reflects limited impact due to required privileges and low complexity of attack but with potential for information disclosure or further exploitation. There is no indication of known active exploitation in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting network access from the affected component to sensitive internal resources and monitor for unusual outbound requests. Avoid exposing the vulnerable function to untrusted inputs where possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-06-20T17:12:20.743Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a37b9055ae2df37ef7fc32a

Added to database: 06/21/2026, 10:12:21 UTC

Last enriched: 06/21/2026, 10:12:40 UTC

Last updated: 06/21/2026, 11:18:53 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses