CVE-2025-12487: oobabooga text-generation-webui · Reliance on Untrusted Inputs in a Security Decision
Affects oobabooga text-generation-webuiSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHuboobabooga/text-generation-webuipkg:github/oobabooga/text-generation-webuiOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately restrict network access to the join endpoint of the oobabooga text-generation-webui, ideally limiting it to trusted internal IP addresses or VPN users.
- Disable or remove the trust_remote_code functionality until a secure patch is released, preventing the loading of untrusted models.
- Monitor network traffic and logs for unusual activity related to model loading or unexpected code execution attempts.
- Employ application-layer firewalls or WAFs to detect and block suspicious payloads targeting the vulnerable parameter.
- Isolate the service account running the web UI with minimal privileges to limit potential damage from exploitation.
- Stay alert for official patches or updates from the vendor and apply them promptly once available.
- Conduct thorough security audits and penetration testing focusing on AI model loading mechanisms.
- Educate development and operations teams about the risks of loading untrusted code and enforce strict input validation policies.
- Consider deploying runtime application self-protection (RASP) tools to detect and prevent exploitation attempts in real time.
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 join 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-26681.