Input validation error in Text Generation Web UI - #VU127430
Published: April 24, 2026
Text Generation Web UI
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper input validation in the API extension when handling requests to the /v1/internal/model/load endpoint. A remote attacker can send a specially crafted request with a trust_remote_code argument to execute arbitrary code.
By default, authentication is not required to exploit this vulnerability.