CVE-2024-6587: SSRF in berriai/litellm
Vulnerability summary
CVE-2024-6587 is a high (CVSS 7.5) Server-Side Request Forgery vulnerability in berriai berriai/litellm. EPSS estimates a 34.38% chance of exploitation in the next 30 days, higher than 98.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 13-09-2024PublishedVulnerability first disclosed.
- 13-09-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
34.38%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
No change 0.00 pp
From 34.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Berriai1 product
- berriai/litellm≥ unspecified, < 1.44.9
Litellm1 product
- litellm1.38.10
PyPI1 product
- litellm< 1.44.8
3 vendors · 3 products
References
6 links- github.com/berriai/litellmPACKAGE
- pypi.org/project/litellmPACKAGE