{"id":"CVE-2025-12487","published":"2025-11-06T20:12:07Z","modified":"2025-11-06T20:29:38Z","title":"oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability","vendor":"oobabooga","product":"text-generation-webui","tier":"tail","description":{"text":"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.\n\nThe 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00706,"percentile":0.54302,"provenance":"source"},"cwes":[{"id":"CWE-807","name":"Reliance on Untrusted Inputs in a Security Decision"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-25-982/","tags":["x_research-advisory"]},{"url":"https://github.com/oobabooga/text-generation-webui/commit/b5a6904c4ac4049823396090360b6f566f4e4603","tags":["vendor-advisory"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":10.86},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"oobabooga","affectedVersions":[{"vendor":"oobabooga","product":"text-generation-webui","versions":["2.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-11-06T20:29:33.516674Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-38158","exploited":false,"provenance":"source"}}