9.8critical
oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability
- Severity
- 9.8critical CVSS:3.0 by zdi
- Exploit likelihood
- 0.71% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- zdi
Description
oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of oobabooga text-generation-webui. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the trust_remote_code parameter provided to the load endpoint. The issue results from the lack of proper validation of a user-supplied argument before using it to load a model. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-26680.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| oobabooga text-generation-webui | 2.5 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of oobabooga text-generation-webui. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the trust_remote_code parameter provided to the load endpoint. The issue results from the lack of proper validation of a user-supplied argument before using it to load a model. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-26680.
NVD (es)
Vulnerabilidad de ejecución remota de código en oobabooga text-generation-webui trust_remote_code por dependencia de entradas no confiables. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en instalaciones afectadas de oobabooga text-generation-webui. La autenticación no es necesaria para explotar esta vulnerabilidad. La falla específica existe en el manejo del parámetro trust_remote_code proporcionado al endpoint de carga. El problema resulta de la falta de validación adecuada de un argumento proporcionado por el usuario antes de usarlo para cargar un modelo. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la cuenta de servicio. Fue ZDI-CAN-26680.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12488 changed 2025-11-06 | CVE Terms of Use |
| NVD | CVE-2025-12488 changed 2026-10-18 | Public domain |