Skip to main content
← All vulnerabilities
CVE-2024-6587PYSEC-2026-1547GHSA-G26J-5385-HHW3

SSRF in berriai/litellm

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.44.9, 1.44.8
1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • berriai berriai/litellm

    fixed in 1.44.9

  • litellmPyPI

    fixed in 1.44.8

  • litellmPyPI

    fixed in 1.44.8

References 3

huntr.com

GitHub · berriai/litellm

GitHub · projectdiscovery/nuclei-templates