CVE-2025-12488

Source
https://cve.org/CVERecord?id=CVE-2025-12488
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12488.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-12488
Published
2025-11-06T20:11:52Z
Modified
2026-09-04T03:46:10Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability
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.

The 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. . Was ZDI-CAN-26680.

Database specific
{
    "cna_assigner": "zdi",
    "cwe_ids": [
        "CWE-807"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12488.json"
}
References

Affected packages

Git / github.com/oobabooga/textgen

Affected ranges

Type
GIT
Repo
https://github.com/oobabooga/textgen
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.5"
        },
        {
            "last_affected": "2.5"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12488.json"