Server-side request forgeryin BerriAI LiteLLM.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade berriai/litellm to 1.44.9 or later.
- Upgrade litellm (PyPI) to 1.44.8 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 8 Jul 2024CVE ID reserved by @huntr_ai.
- 13 Sep 2024Published in the CVE List.
- 13 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other LiteLLM vulnerabilities
Same weakness: Server-side request forgery
Patchminder. CVE-2024-6587: Server-side request forgery in BerriAI LiteLLM. https://patchminder.com/cve/cve-2024-6587/ (accessed 5 December 2026).