BerriAI · LiteLLM · published 2026-05-08

CVE-2026-42203LiteLLM: Server-Side Template Injection in /prompts/test endpoint

Routine No exploitation evidence; EPSS 0.4%.

CVE-2026-42203 is not known to be exploited in the wild. EPSS estimates a 0.4% chance of exploitation in the next 30 days, higher than 32% of all CVEs. This LiteLLM vulnerability: CVSS 8.6 (v4.0), a successful attack gives total control of the component. Fixed upstream in LiteLLM 1.83.7. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in LiteLLM 1.83.7.

Patch events

  1. Patch todaySecurity release

    AI toolingLiteLLM

    LiteLLM security release: 1.83.7

    Upgrade to 1.83.7

    Why: CVE-2026-42208: Known exploited server software, exploitation is automatable, total technical impact.

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.4% (32th pct)FIRST EPSS v2026.06.15
CVSS base score8.6 (v4.0)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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 how the proxy is deployed, this could expose secrets in the process environment (such as provider API keys or database credentials) and allow commands to be run on the host. This issue has been patched in version 1.83.7.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →