Skip to main content
VulnerabilityPublished

CVE-2025-12488: oobabooga text-generation-webui · Reliance on Untrusted Inputs in a Security Decision

Affects oobabooga text-generation-webuiSource CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.0 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHuboobabooga/text-generation-webuipkg:github/oobabooga/text-generation-webuiOther threatsAffected
  • =2.5
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately restrict network access to the oobabooga text-generation-webui load endpoint, ideally by placing it behind a firewall or VPN accessible only to trusted users.
  2. Disable or avoid using the 'trust_remote_code' parameter until a secure patch is released. If dynamic model loading is necessary, implement strict validation and whitelisting of trusted models and sources.
  3. Monitor logs and network traffic for unusual requests targeting the load endpoint or attempts to exploit the trust_remote_code parameter.
  4. Employ application-layer security controls such as Web Application Firewalls (WAFs) with custom rules to detect and block suspicious payloads.
  5. Isolate the service account running the web UI with minimal privileges and consider running the application in a sandboxed or containerized environment to limit the blast radius of potential exploitation.
  6. Stay updated with vendor advisories and apply patches promptly once available.
  7. Conduct security awareness training for administrators managing AI infrastructure to recognize and respond to exploitation attempts.
  8. Consider implementing network segmentation to separate AI services from critical enterprise systems.

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.

References

Community reviews

Loading reviews…