CVE-2024-6587
High PUBLISHEDSSRF in berriai/litellm
Not yet in CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Sep 13, 2024
- Exploitation Reported
- Sep 13, 2024
- CVSS
- 7.5 High
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| berriai |
litellm
|
0 to < 1.44.9 |
Affected |
| berriai |
berriai/litellm
|
unspecified to < 1.44.9 |
Affected |
CVE References
- huntr.com/bounties/4001e1a2-7b7a-4776-a3ae-e6692ec3d997 huntr.com · CVE Record https://huntr.com/bounties/4001e1a2-7b7a-4776-a3ae-e6692ec3d997
- GitHub — berriai/litellm github.com · CVE Record https://github.com/berriai/litellm/commit/ba1912afd1b19e38d3704bb156a...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| The Shadowserver First | 2024-09-13 15:59 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6587.yaml | Apr 25, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users via the Pro API.
Learn About Virtual PatchesCVSS Scores
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploitation Status
Exploited in the wild
Recorded 2024-09-13 15:59:53 UTC · The Shadowserver
Proof of concept available
Recorded 2026-06-12 14:20:49 UTC · Nuclei Templates
Weaknesses (CWE)
-
Server-Side Request Forgery (SSRF)
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6587.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
14:20 UTC about 1 month ago14:20 UTC · about 1 month ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
15:59 UTC almost 2 years ago15:59 UTC · almost 2 years ago
CVE published
Vulnerability disclosed publicly
-
15:59 UTC almost 2 years ago15:59 UTC · almost 2 years ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
21:33 UTC about 2 years ago21:33 UTC · about 2 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2024-6587
{
"cve_id": "CVE-2024-6587",
"title": "SSRF in berriai/litellm",
"affected_vendor": "berriai",
"affected_product": "berriai/litellm",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "High",
"cvss_score": 7.5,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}