{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-12487",
        "assignerOrgId": "99f1926a-a320-47d8-bbb5-42feb611262e",
        "state": "PUBLISHED",
        "assignerShortName": "zdi",
        "dateReserved": "2025-10-29T19:49:54.540Z",
        "datePublished": "2025-11-06T20:12:07.187Z",
        "dateUpdated": "2025-11-06T20:29:38.307Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "99f1926a-a320-47d8-bbb5-42feb611262e",
                "shortName": "zdi",
                "dateUpdated": "2025-11-06T20:12:07.187Z"
            },
            "title": "oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "vendor": "oobabooga",
                    "product": "text-generation-webui",
                    "versions": [
                        {
                            "version": "2.5",
                            "status": "affected"
                        }
                    ],
                    "defaultStatus": "unknown"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-807",
                            "description": "CWE-807: Reliance on Untrusted Inputs in a Security Decision",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://www.zerodayinitiative.com/advisories/ZDI-25-982/",
                    "name": "ZDI-25-982",
                    "tags": [
                        "x_research-advisory"
                    ]
                },
                {
                    "url": "https://github.com/oobabooga/text-generation-webui/commit/b5a6904c4ac4049823396090360b6f566f4e4603",
                    "name": "vendor-provided URL",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "dateAssigned": "2025-10-29T19:49:54.614Z",
            "datePublic": "2025-10-30T21:03:44.053Z",
            "source": {
                "lang": "en",
                "value": "Nicholas Zubrisky (@NZubrisky) of Trend Micro Security Research"
            },
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 9.8,
                        "baseSeverity": "CRITICAL"
                    }
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-11-06T20:29:33.516674Z",
                                "id": "CVE-2025-12487",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-11-06T20:29:38.307Z"
                }
            }
        ]
    }
}