llamaCVEVulnerability Intelligence
/
litellm

CVE-2026-42203

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

Parche disponibletemplate injection
Descargar PNG JSON
CVSS 4.0
8.6
Alta
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 Fuente: CNA
8.8adp · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos11 fuente
Parche1 versiónPrimer parche a -25 d de la divulgación
Exposición195 dDesde la divulgación, 7 may 2026, 10:36 p. m.
Detección193 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Evaluación SSVC +1
Modificada
Explotación
Remediación
Parche 1.83.7
Monitoreo
Detectada
13 abr 26
8 may 26
15 jul 26
17 nov 26
19 nov 26
13 abr 26
7 jun 26
1 ago 26
25 sept 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.83.7 litellm · -25 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Publicada CVE-2026-42203 divulgada · CVSS 8.6 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

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.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · adp
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
litellm≥ 1.80.5 < 1.83.7
1.80.5
1.83.7
1.109.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilitellm
Corregida 1.83.7 -25 d 1.109.1 no afectada
Versiones corregidas1.83.7
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
Astianjy/CVE-2026-42203
1
Ver los 1 repositorios de GitHub
Astianjy/CVE-2026-42203

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Registro
MitigaciónMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.redhat-SADP
Referencias
Fabricantehttps://github.com/BerriAI/litellm/security/advisories/GHSA-xqmj-j6mv-4862
Análisishttps://bugzilla.redhat.com/show_bug.cgi?id=2467917
Exploithttps://github.com/Astianjy/CVE-2026-42203
Otrahttps://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
Otrahttps://access.redhat.com/security/cve/CVE-2026-42203
Otrahttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42203.json

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.