{"id":"CVE-2025-12488","details":"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 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.\n. Was ZDI-CAN-26680.","modified":"2026-03-14T12:41:26.184334Z","published":"2025-11-06T21:15:39.657Z","references":[{"type":"ADVISORY","url":"https://www.zerodayinitiative.com/advisories/ZDI-25-981/"},{"type":"FIX","url":"https://github.com/oobabooga/text-generation-webui/commit/b5a6904c4ac4049823396090360b6f566f4e4603"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/oobabooga/text-generation-webui","events":[{"introduced":"0"},{"fixed":"b5a6904c4ac4049823396090360b6f566f4e4603"}]}],"versions":["1.6.1","installers","snapshot-2023-10-15","snapshot-2023-10-22","snapshot-2023-10-29","snapshot-2023-11-05","snapshot-2023-11-12","snapshot-2023-11-19","snapshot-2023-11-26","snapshot-2023-12-03","snapshot-2023-12-10","snapshot-2023-12-17","snapshot-2023-12-24","snapshot-2023-12-31","snapshot-2024-01-07","snapshot-2024-01-14","snapshot-2024-01-21","snapshot-2024-01-28","snapshot-2024-02-04","snapshot-2024-02-11","snapshot-2024-02-18","snapshot-2024-02-25","snapshot-2024-03-03","snapshot-2024-03-10","snapshot-2024-03-17","snapshot-2024-03-24","snapshot-2024-03-31","snapshot-2024-04-07","snapshot-2024-04-14","snapshot-2024-04-21","snapshot-2024-04-28","v1.0","v1.1","v1.1.1","v1.10","v1.10.1","v1.11","v1.12","v1.13","v1.14","v1.15","v1.16","v1.2","v1.3","v1.3.1","v1.4","v1.5","v1.6","v1.7","v1.8","v1.9","v1.9.1","v2.0","v2.1","v2.2","v2.3","v2.4","v2.5","v2.6","v2.7","v2.8","v2.8.1","v3.0","v3.1","v3.10","v3.11","v3.12","v3.13","v3.2","v3.3","v3.3.1","v3.3.2","v3.4","v3.4.1","v3.5","v3.6","v3.6.1","v3.7","v3.7.1","v3.8","v3.9","v3.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12488.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}