Improper access control in Text Generation Web UI - #VU127418

 

Improper access control in Text Generation Web UI - #VU127418

Published: April 24, 2026


Vulnerability identifier: #VU127418
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: N/A
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: oobabooga
Affected software:
Text Generation Web UI

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper access control in the trust_remote_code check for the transformers loader when handling HTTP POST requests to /queue/join that load a model. A remote attacker can send a specially crafted request to execute arbitrary code.

The issue arises because enforcement of the trust_remote_code restriction is performed only in the client-side web interface.


Remediation

Install security update from vendor's website.

Sources