CVE-2025-12488

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductOobabooga Text-generation-webui
PublishedNov 6, 2025
First seenNov 6, 2025
Weakness typeCWE-807CWE-807

How to fix

Affected products

ProductAffected versionsFixed in
oobabooga text-generation-webui2.5—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.