CVE-2026-42203: LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format
CVE-2026-42203 is a high-severity flaw (CVSS 8.8) affecting litellm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.80.5 to before version 1.83.7, the POST /prompts/test endpoint accepted user-supplied prompt templates and rendered them without sandboxing. A crafted template could run arbitrary code inside the LiteLLM Proxy process. The endpoint only checks that the caller presents a valid proxy API key, so any authenticated user could reach it. Depending on ho
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42203?
litellm: upgrade to 1.83.7. Exact commands for each OS are on this page.
Is CVE-2026-42203 being exploited?
CVE-2026-42203 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42203 affect?
CVE-2026-42203 affects litellm. Severity is high (CVSS 8.8). LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.80.5 to before version 1.83.7, the POST /prompts/test endpoint accepted user-supplied prompt templates and rendered them without sandboxing
How urgent is CVE-2026-42203?
Priority 39/100. High severity
Software pages
OpenAI and LLM tools vulnerabilities
Related CVEs
- CVE-2026-40217 HIGH 8.8 UPGRADE LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /gu
- CVE-2026-42208 CRITICAL 9.8 EXPLOITED UPGRADE BerriAI LiteLLM SQL Injection Vulnerability
- CVE-2026-42271 HIGH 8.8 EXPLOITED UPGRADE UPGRADE BerriAI LiteLLM Command Injection Vulnerability
- CVE-2026-49468 CRITICAL 9.8 UPGRADE LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format
- CVE-2026-12773 HIGH 7.3 UPGRADE A weakness has been identified in BerriAI litellm up to 1.59.8