GHSA-46cm-pfwv-cgf8 · Severity: critical · Ecosystem: pip — LiteLLM has Server-Side Template Injection vulnerability in /completions endpoint
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.
Conclusion & alert: CVE-2024-2952 is rated High Exploit Risk (82.4/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.43%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-16 | 1.45% | 1.43% | -0.02% |
| 2 | 2025-11-21 | 2.64% | 1.45% | -1.19% |
| 3 | 2025-11-18 | — | 2.64% | — |
Full EPSS history (17 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.0 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-46cm-pfwv-cgf8 · Severity: critical · Ecosystem: pip — LiteLLM has Server-Side Template Injection vulnerability in /completions endpoint
| URL | Tags |
|---|---|
| https://github.com/berriai/litellm/commit/8a1cdc901708b07b7ff4eca20f9cb0f1f0e8d0b3 | Patch |
| https://huntr.com/bounties/a9e0a164-6de0-43a4-a640-0cbfb54220a4 | Exploit Third Party Advisory |