6.5

CVE-2026-12798: BerriAI litellm MCP OpenAPI Spec Loader openapi_to_mcp_generator.py load_openapi_spec_async server-side request forgery

Analyzed
AliasesGHSA-c693-x898-5g4hPYSEC-2026-4069
Published 21-06-2026Last modified 22-06-2026

Vulnerability summary

CVE-2026-12798 is a medium (CVSS 6.5) Server-Side Request Forgery vulnerability in berriai litellm. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19.1% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v2.0 (CVE.org)
EPSS score
0.26%
0%100%
Low · -0.14 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, reference

Timeline

  1. 21-06-2026
    PublishedVulnerability first disclosed.
  2. 22-06-2026
    Last modifiedVulnerability information updated.

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 metrics

9 scores · 3 sources · 4 versions

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

Decrease -0.14 pp

From 0.40% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    C1104C529975699Ba347Feedfbe02C5A

    Maturity: poc

  • referenceUnverified

    Exploit Reference (vuldb.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Berriai1 product
Litellm1 product
PyPI1 product
  • litellm≤ 1.82.2

3 vendors · 3 products

References

9 links