CVE-2025-12488
oobabooga text-generation-webui
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-12488 is a critical-severity Reliance on Untrusted Inputs in a Security Decision (CWE-807) vulnerability in oobabooga text-generation-webui (named in the CVE record; NVD lists no product yet). Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Rename Legitimate Utilities (T1036.003); ranked in the top 46% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
This vulnerability is AI-related — categorised as LLM Application Platforms; in the Supply Chain and Deployment risk domain.
The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2025-12488 is a remote code execution vulnerability in oobabooga text-generation-webui stemming from reliance on untrusted inputs when processing the trust_remote_code parameter supplied to the load endpoint. The flaw arises from insufficient validation of the user-supplied argument before it is used to load a model, allowing arbitrary code execution in the context of the service account. The issue affects installations of the webui and carries a CVSS score of 9.8.
Unauthenticated remote attackers can exploit the vulnerability over the network by sending a crafted request to the load endpoint, achieving full control over the affected system without requiring user interaction or credentials.
A patch addressing the issue is available in the referenced commit to the text-generation-webui repository, and further details are provided in the Zero Day Initiative advisory ZDI-25-981.
The EPSS score for this CVE rose from a low starting value to a peak of 0.0284, indicating emerging exploitation interest after disclosure. The affected software is commonly used in AI/ML text-generation workflows.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-38157
Vulnerability Data
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…
more
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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- LLM Application Platforms
- Risk Domain
- Supply Chain and Deployment
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- Matched keywords: text-generation-webui
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 1 hardening rule · 1 OS baseline
—
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Explicitly requires that every access decision be based on authoritative, protected decision data rather than caller-supplied inputs.
Input validation can reject malformed or attacker-controlled values before they reach a security decision point.
Access enforcement requires decisions to be made from trusted policy data rather than modifiable client-supplied inputs.
Information-flow enforcement applies rules to validated, internal attributes instead of untrusted external values.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Strong authentication mechanisms directly prevent security decisions from depending on modifiable, untrusted inputs.
Verification and protection of identity assertions stops reliance on attacker-controlled values for authorization decisions.
Proper management of identities/credentials reduces the chance that security decisions will be driven by untrusted inputs.
Policy-driven, least-privilege authorization reduces opportunities to bypass controls via tampered inputs.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development catches input-validation flaws before deployment.
Training developers about not trusting client-side inputs (cookies, form fields, environment variables) addresses the knowledge gap that produces this weakness, but CWE-807 is fundamentally an architectural/design flaw where the protection mechanism is built on untrusted inputs, and even trained developers can still introduce this pattern; the effect is real but a minority one, similar to A.6.3 vs CWE-598.
Monitoring can detect exploitation but does not stop the underlying weakness.
Secure coding standards directly prohibit using untrusted inputs for security-critical decisions.
A.8.3 restricts access to information based on identity and permissions, but CWE-807 bypasses security decisions by manipulating untrusted inputs like cookies or environment variables, which access controls do not validate or prevent from being exploited.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software weaknesses in delivered code the way those practices do; CWE-807 is a design/implementation weakness that secure coding/design guidance addresses, but the clause mandates a practice whose coverage depends on the supplier's rigour, leaving a nameable remainder.