# CVE-2026-84452: Windows ML CLI: CORS misconfig enables localhost RCE

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.24%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-02T19:22:55.672Z
- Modified: 2026-09-28T23:10:00.143Z
- Also known as: GHSA-96p9-rh4f-92cf, PYSEC-2026-3944
- Weaknesses: CWE-306, CWE-942
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- microsoft winml-cli: < 0.4.0
- winml-cli (PyPI): before 0.4.0

## Every score

- GitHub_M: CVSS:4.0 8.6 High `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`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/microsoft/winml-cli/security/advisories/GHSA-96p9-rh4f-92cf> (exploit, web)
- <https://github.com/microsoft/winml-cli/pull/1321> (web)
- <https://github.com/microsoft/winml-cli/commit/f4073e0ef4700a25b623487e7e45c421ca0b9993> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84452> (advisory)
- <https://github.com/microsoft/winml-cli> (package)
- <https://pypi.org/project/winml-cli> (package)
- <https://github.com/advisories/GHSA-96p9-rh4f-92cf> (advisory)

## Sources

- CVE List: [CVE-2026-84452](https://www.cve.org/CVERecord?id=CVE-2026-84452), CVE Terms of Use, modified 2026-09-03
- GitHub Advisory Database: [GHSA-96p9-rh4f-92cf](https://github.com/advisories/GHSA-96p9-rh4f-92cf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-84452](https://nvd.nist.gov/vuln/detail/CVE-2026-84452), Public domain, modified 2026-09-28
- PyPA Advisory Database: [PYSEC-2026-3944](https://osv.dev/vulnerability/PYSEC-2026-3944), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-84452 · Whole record: https://cve.day/CVE-2026-84452.json · Rebuilt by cve.day 2026-11-25T22:59:36.145Z
