gcdRadar
archive/Patch now/AIR-2026-0780
closedclosed 21 Jun 2026Patch now2 Disclosed vulnerabilityAI

CVE-2026-12798: BerriAI litellm SSRF via spec_path URL loader

litellm

BerriAI litellm contains a server-side request forgery vulnerability in its MCP OpenAPI Spec Loader. An attacker can exploit unvalidated spec_path URLs to initiate arbitrary requests remotely.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

CVSS
6.3
EPSS
<0.01 · top 66% · 2026-11-13
fix status
Fix status unknown
first report
21 Jun 2026
last update
21 Jun 2026

Timeline · 2

  1. 21 Jun 2026CVE-2026-12798: BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader
  2. 21 Jun 2026CVE-2026-12798: A weakness has been identified in BerriAI litellm up to 1.82.2.

Sources · 2

Advisories and databases

  1. 2026-06-21
    CVE-2026-12798: BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader
    GitHub Advisory Database · github.com/advisories/GHSA-c693-x898-5g4h
  2. 2026-06-21

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
tags
ssrf
dates
happened 21 Jun 2026 · first reported 21 Jun 2026
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2026-12798: BerriAI litellm SSRF via spec_path URL loader

https://gcdradar.vercel.app/incidents/cve-2026-12798-berriai-litellm-ssrf-via-spec-path-url-loader · AIR-2026-0780 · closed 2026-06-21

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2026-06-21
- AI role: Attack on AI
- Products: litellm
- CVE ids: CVE-2026-12798
- CVSS: 6.3

## Summary

BerriAI litellm contains a server-side request forgery vulnerability in its MCP OpenAPI Spec Loader. An attacker can exploit unvalidated spec_path URLs to initiate arbitrary requests remotely.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2026-06-21: CVE-2026-12798: A weakness has been identified in BerriAI litellm up to 1.82.2. (https://nvd.nist.gov/vuln/detail/CVE-2026-12798)
- 2026-06-21: CVE-2026-12798: BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader (https://github.com/advisories/GHSA-c693-x898-5g4h)

## Sources

- 2026-06-21 GitHub Advisory Database: CVE-2026-12798: BerriAI litellm has SSRF via Unvalidated spec_path URL in MCP OpenAPI Spec Loader https://github.com/advisories/GHSA-c693-x898-5g4h
- 2026-06-21 NVD: CVE-2026-12798: A weakness has been identified in BerriAI litellm up to 1.82.2. https://nvd.nist.gov/vuln/detail/CVE-2026-12798

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed6.3
    LiteLLM CVE-2026-12774: SSRF vulnerability in BerriAI LiteLLM MCP server

    Patch now · Disclosed · since 21 Jun 2026 · CVE-2026-12774

    AI
  2. closed8.1
    LiteLLM CVE-2025-0628: LiteLLM Improper Authorization and Privilege Escalation

    Patch now · Disclosed · since 20 Mar 2025 · CVE-2025-0628

    AI
  3. closed8.7
    Ollama CVE-2026-65315: Uncontrolled Memory Allocation in Ollama GGUF Parser

    Patch now · Disclosed · since 21 Jul 2026 · CVE-2026-65315

    AI
  4. closed9.8
    GPT-SoVITS CVE-2026-63766: OS Command Injection in GPT-SoVITS webui.py

    Patch now · Disclosed · since 20 Jul 2026 · CVE-2026-63766

    AI
  5. closed6.3
    AI
  6. closed7.7
    MCP servers & tools CVE-2026-46555: WhatsApp MCP Server Unauthenticated API Vulnerability

    Patch now · Disclosed · since 20 Jul 2026 · CVE-2026-46555

    AI