Skip to content

berriai/litellm

SSRF in berriai/litellm

CVE-2024-6587Published 13 Sep 2024, 15:59 UTC

Real-world risk

8.0/ 10High

Patch this week; within 48 h if Internet-facing

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.5

scored by the vendor (CNA), CVSS 3.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from @huntr_ai)

A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. This vulnerability allows users to specify the `api_base` parameter when making requests to `POST /chat/completions`, causing the application to send the request to the domain specified by `api_base`. This request includes the OpenAI API key. A malicious user can set the `api_base` to their own domain and intercept the OpenAI API key, leading to unauthorized access and potential misuse of the API key.

Am I affected?

ProductAffected versions (from the sources)Fixed in
berriai/litellmCommon< 1.44.91.44.9

What to do

Update to a fixed version: 1.44.9.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)
  • CISA SSVC: proof of concept

EPSS 34.4% chance of exploitation in 30 days (percentile 98), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.8 × prerequisites 1 × threat 18.000
  4. Rounded to one decimal between 0.1 and 108.0

How the score works

Exploitation and evidence timeline

  1. 13 Sep 2024 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 8.0 (cvss fallback)

Weakness

CWE-918

References

Get alerts for berriai/litellm

Free email or text alerts when a vulnerability in berriai/litellm reaches risk 8 or higher. Nothing else.