Reliance on Untrusted Inputs in a Security Decision in Text Generation Web UI - CVE-2025-12488

 

Reliance on Untrusted Inputs in a Security Decision in Text Generation Web UI - CVE-2025-12488

Published: October 31, 2025


Vulnerability identifier: #VU117873
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-12488
CWE-ID: CWE-807
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to lack of proper validation of a user-supplied argument before using it to load a model within the handling of the trust_remote_code parameter provided to the load endpoint. A remote attacker can execute arbitrary code on the system.


Affected software

Text Generation Web UI

How to mitigate CVE-2025-12488

Install updates from vendor's website.

Text Generation Web UI - update to 3.16

External References

Related Security Bulletins