Server-side Request Forgery (SSRF) Affecting litellm package, versions [,1.84.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.26% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LITELLM-17393722
  • published22 Jun 2026
  • disclosed21 Jun 2026
  • creditEric-c

Introduced: 21 Jun 2026

NewCVE-2026-12798  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.84.0 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the load_openapi_spec_async() function of the MCP OpenAPI Spec Loader component when processing the spec_path argument. An attacker can access internal resources or services by supplying crafted URLs to the vulnerable parameter.

CVSS Base Scores

version 4.0
version 3.1