SecurityContext

CVE-2025-12487: oobabooga text-generation-webui - Remote Code Execution

  • Cve: CVE-2025-12487
  • Name: oobabooga text-generation-webui - Remote Code Execution
  • 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.
  • Impact: Remote attackers can execute arbitrary code with service account privileges, potentially compromising the entire system.
  • Remediation: Update to the latest version of oobabooga text-generation-webui.
  • Vulnerability type: remote_code_execution
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00706
  • Epss percentile: 0.54324
  • Assignee: [email protected]
  • Published at: 2025-11-06T21:15:39Z
  • Age in days: 383
  • Modified at: 2026-10-18T21:10:00Z
  • References total: 2
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-12487
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-807Reliance on Untrusted Inputs in a Security Decision

References

UrlSourceTags
https://github.com/oobabooga/text-generation-webui/commit/b5a6904c4ac4049823396090360b6f566f4e4603nvd
https://www.zerodayinitiative.com/advisories/ZDI-25-982/nvd

Projects

RepositoryLink kindsIndexedUrl
oobabooga/text-generation-webuicommityes/v1/repositories/oobabooga/text-generation-webui
oobabooga/textgenfixyes/v1/repositories/oobabooga/textgen

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts