Vulnerabilities · 2024 · Litellm
CVE-2024-6587
Litellm vulnerability
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.
Affected products
Litellm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Litellm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Litellm products
CVE-2025-45809CVE-2025-0330CVE-2024-9606CVE-2024-8984CVE-2024-6825CVE-2024-5751CVE-2024-5710CVE-2024-5225All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.