{"id":"CVE-2024-6587","aliases":["GHSA-g26j-5385-hhw3","PYSEC-2026-1547"],"title":"LiteLLM Server-Side Request Forgery (SSRF) vulnerability","summary":"LiteLLM Server-Side Request Forgery (SSRF) vulnerability","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","vendor":"litellm","product":"litellm","ecosystem":"pip","affected":["litellm < 1.44.8"],"patched":["litellm 1.44.8"],"published":"2024-09-13","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:56.061352411Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-g26j-5385-hhw3","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6587"},{"url":"https://github.com/berriai/litellm/commit/ba1912afd1b19e38d3704bb156adf887f91ae1e0"},{"url":"https://github.com/berriai/litellm"},{"url":"https://huntr.com/bounties/4001e1a2-7b7a-4776-a3ae-e6692ec3d997"}],"tags":["osv","pip","exploit-available"],"epss":0.35316,"epssPercentile":0.98417,"exploits":{"nuclei":["CVE-2024-6587"],"checkedAt":"2026-09-21T15:26:50.501Z"},"exploitAvailable":true,"ingestedAt":"2026-07-08T18:25:49.178Z","slug":"CVE-2024-6587","body":"## Overview\n\nA 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.\n\n## Affected packages\n\n- `litellm < 1.44.8`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `litellm 1.44.8`","depth":"midnight","depthScore":60,"depthScoreParts":{"impact":41.3,"likelihood":7.1,"exploitation":12,"ransomware":0},"changes":[{"seq":4748,"id":"CVE-2024-6587","ts":1788887203490,"field":"exploit_available","old":"false","new":"true"},{"seq":3631,"id":"CVE-2024-6587","ts":1788886319663,"field":"exploit_available","old":"true","new":"false"},{"seq":2482,"id":"CVE-2024-6587","ts":1788882988193,"field":"exploit_available","old":"false","new":"true"},{"seq":1511,"id":"CVE-2024-6587","ts":1788882401773,"field":"exploit_available","old":"true","new":"false"},{"seq":625,"id":"CVE-2024-6587","ts":1788881838453,"field":"exploit_available","old":"false","new":"true"}]}