Skip to main content
VulnerabilityPublished

CVE-2025-12487: 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, 17:16 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 join endpoint of the oobabooga text-generation-webui, ideally limiting it to trusted internal IP addresses or VPN users.
  2. Disable or remove the trust_remote_code functionality until a secure patch is released, preventing the loading of untrusted models.
  3. Monitor network traffic and logs for unusual activity related to model loading or unexpected code execution attempts.
  4. Employ application-layer firewalls or WAFs to detect and block suspicious payloads targeting the vulnerable parameter.
  5. Isolate the service account running the web UI with minimal privileges to limit potential damage from exploitation.
  6. Stay alert for official patches or updates from the vendor and apply them promptly once available.
  7. Conduct thorough security audits and penetration testing focusing on AI model loading mechanisms.
  8. Educate development and operations teams about the risks of loading untrusted code and enforce strict input validation policies.
  9. 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.

References

Community reviews

Loading reviews…