CVE-2024-8984: LiteLLM Vulnerable to Denial of Service (DoS) via Crafted HTTP Request
LiteLLM, the Python LLM proxy, can be made unavailable by an unauthenticated HTTP request whose multipart boundary has many extra characters, such as dashes, appended. The server spends its time processing each one. Versions before 1.56.2 are affected. Upgrade to 1.56.2.
Published Mar 20, 2025 · Updated Oct 15, 2025 · Analysis Nov 1, 2026
What an attacker can do
The report was filed against berriai/litellm v1.44.5. An attacker sends an HTTP request with a multipart boundary padded with a long run of characters like -. The server processes the boundary character by character, uses excessive CPU and stops serving other requests. The CVSS vector has no privileges and no user interaction, and it affects availability only.
The LiteLLM proxy is often the single gateway that routes every model call for a team: coding agents, internal apps and CI jobs all go through it. If the proxy is reachable from an untrusted network, one crafted request can take all of those down at once. Unauthenticated means the attacker needs no virtual key. It does not give access to API keys, prompts or data, and it does not run code.
Who is affected
The litellm PyPI package before 1.56.2. This matters mainly for the LiteLLM proxy server that accepts HTTP requests; a library-only use inside a script that receives no outside requests is not exposed to this route.
Check the installed version:
pip show litellmIf you run the proxy from a container, check the image tag against the same version number.
litellm
- Ecosystem
- PyPI
- Affected
- < 1.56.2
- Fixed in
- 1.56.2
- Check
pip show litellm
How to fix it
Upgrade to litellm 1.56.2.
pip install -U "litellm>=1.56.2"The linked fix commit is a dependency bump described as a security fix for Snyk findings, touching pyproject.toml, poetry.lock and requirements.txt. The page does not show the diff, so the exact dependency change is not confirmed here, but the multipart parsing library is the likely target. No workaround is named in the sources. Until you upgrade, keep the proxy off the open internet and put a reverse proxy with request size and time limits in front.
How to tell if you were hit
Look for the LiteLLM proxy process pinned at high CPU and requests timing out, with no matching rise in real model traffic. In reverse proxy or access logs, look for POST requests with an unusually long Content-Type header, or a boundary made mostly of dashes, from one source. Health checks failing while the host is otherwise idle is another sign.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
A Denial of Service (DoS) vulnerability exists in berriai/litellm version v1.44.5. This vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary in an HTTP request. The server continuously processes each character, leading to excessive resource consumption and rendering the service unavailable. The issue is unauthenticated and does not require any user interaction, impacting all users of the service.
Credited to ishaan-jaff.
Questions
- Does CVE-2024-8984 need an API key?
No. The description says it is unauthenticated and needs no user interaction. Anyone who can reach the proxy over the network can send the request.
- Which LiteLLM version fixes CVE-2024-8984?
1.56.2. Anything earlier is listed as vulnerable. The report itself was made against v1.44.5.
- Can this leak my provider API keys?
Not according to the sources. The impact is availability only: resource exhaustion and a service that stops responding.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More LiteLLM vulnerabilities
All LiteLLM entriesCVE-2026-114612
LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
high9.9Oct 27, 2026GHSA-g5ff-637f-6q2m
LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`
high8.1Oct 27, 2026GHSA-hhww-mrg2-969h
LiteLLM vulnerable to reflected XSS in /sso/debug/callback
medium6.8Oct 27, 2026CVE-2026-84377
LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters
medium6.5Sep 30, 2026CVE-2026-59823
LiteLLM Proxy has server-side request forgery via the `user_config` request parameter
medium5.3Sep 17, 2026CVE-2026-37004
LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
critical9.8Aug 27, 2026
