{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-84452","id":"CVE-2026-84452","title":"Windows ML CLI: CORS misconfig enables localhost RCE","description":"Windows ML CLI is a command line tool for building portable, performant, and high-quality AI models for Windows ML. Prior to 0.4.0, the src/winml/modelkit/serve/cli_api.py component exposes WinML CLI commands through a localhost HTTP API without authentication and configures the allow_origins setting as a wildcard in both src/winml/modelkit/serve/cli_api.py and src/winml/modelkit/serve/app.py. A m","descriptionLong":"Windows ML CLI is a command line tool for building portable, performant, and high-quality AI models for Windows ML. Prior to 0.4.0, the src/winml/modelkit/serve/cli_api.py component exposes WinML CLI commands through a localhost HTTP API without authentication and configures the allow_origins setting as a wildcard in both src/winml/modelkit/serve/cli_api.py and src/winml/modelkit/serve/app.py. A malicious website loaded by a user can send cross-origin requests to /v1/cli/build or /v1/cli/config and set the trust_remote_code parameter to true, which is converted to the --trust-remote-code command-line flag without validation. This reaches AutoConfig.from_pretrained with trust_remote_code=True in src/winml/modelkit/loader/_autoconfig.py and imports Python code from an attacker-controlled model repository, resulting in arbitrary code execution as the server user. This issue is fixed in version 0.4.0.","published":"2026-09-02T19:22:55.672Z","updated":"2026-10-28T02:31:05.383477711Z","reserved":"2026-09-01T20:05:09.423Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"}],"rating":"high","products":["microsoft winml-cli"],"affectedProducts":[{"vendor":"microsoft","product":"winml-cli","defaultStatus":null,"versions":[{"version":"< 0.4.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"winml-cli","purl":"pkg:pypi/winml-cli","ranges":["<0.4.0"],"fixed":["0.4.0"],"advisory":"GHSA-96p9-rh4f-92cf"}],"cwes":["CWE-942","CWE-306"],"aliases":["GHSA-96p9-rh4f-92cf","PYSEC-2026-3944"],"references":[{"url":"https://github.com/microsoft/winml-cli/security/advisories/GHSA-96p9-rh4f-92cf","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/microsoft/winml-cli/pull/1321","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/microsoft/winml-cli/commit/f4073e0ef4700a25b623487e7e45c421ca0b9993","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84452.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84452","tags":["advisory"]},{"url":"https://github.com/microsoft/winml-cli","tags":["package"]},{"url":"https://pypi.org/project/winml-cli","tags":["package"]},{"url":"https://github.com/advisories/GHSA-96p9-rh4f-92cf","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.01608,"epssPercentile":0.76436,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-84452","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84452","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-84452","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-96p9-rh4f-92cf","ok":true,"note":"GHSA-96p9-rh4f-92cf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-84452","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}