9.8
Critique
CVE-2024-2952 BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint
Description
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. The vulnerability arises from the `hf_chat_template` method processing the `chat_template` parameter from the `tokenizer_config.json` file through the Jinja template engine without proper sanitization. Attackers can exploit this by crafting malicious `tokenizer_config.json` files that execute arbitrary code on the server.
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| litellm 1.23 | 1.23.2 → < 1.34.42 | 1.34.42 |
| berriai/litellm 1.34 | premières → < 1.34.42 | 1.34.42 |
Références
- huntr.com huntr.com
- github.com github.com
Chronologie
- Publiée
- Dernière modification
Autres CVE de litellm
Les 40 CVE de litellm →
CVE-2026-114612
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format
9.9
Critique
CVE-2026-108575
A vulnerability has been found in BerriAI LiteLLM up to 1.94.0
5.3
Moyenne
CVE-2026-108574
A flaw has been found in BerriAI LiteLLM up to 1.95.0
5.3
Moyenne
CVE-2026-93355
LiteLLM contains a weak authentication vulnerability that allows an attacker holding a valid JWT from the configured…
7.6
Élevée