Improper Neutralization of Special Elements Used in a Template Engine in LiteLLM - CVE-2026-42203

 

Improper Neutralization of Special Elements Used in a Template Engine in LiteLLM - CVE-2026-42203

Published: April 21, 2026 / Updated: April 30, 2026


Vulnerability identifier: #VU126619
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-42203
CWE-ID: CWE-1336
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to server-side template injection (SSTI) issue in /prompts/test endpoint. A remote user can execute arbitrary code on the system.


Affected software

LiteLLM

How to mitigate CVE-2026-42203

Install updates from vendor's website.

LiteLLM - update to 1.83.7

External References

Related Security Bulletins