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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.61% (percentile 76, 2026-11-26)
- **CWE:** CWE-942, CWE-306
- **Aliases:** GHSA-96p9-rh4f-92cf, PYSEC-2026-3944
- **Published:** 2026-09-02T19:22:55.672Z
- **Modified:** 2026-09-28T23:10:00.143Z

## Who should check

- Projects that depend on PyPI package winml-cli (\< 0.4.0)
- Anyone running microsoft winml-cli \< 0.4.0

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

## Affected and fixed versions

- PyPI `winml-cli`: affected \< 0.4.0; fixed 0.4.0 (osv)
- microsoft winml-cli: \< 0.4.0 (cvelist)

## Mitigation

- Upgrade winml-cli to 0.4.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-84452. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-84452.md
Affected: winml-cli < 0.4.0
Fixed in: 0.4.0

Steps:
1. Search this machine and project for winml-cli (PyPI), microsoft winml-cli: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-84452 being exploited?

There is no confirmed exploitation: CVE-2026-84452 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.61% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-84452?

High: CVSS 8.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-84452?

winml-cli \< 0.4.0.

### Is there a fix for CVE-2026-84452?

Yes. Fixed in 0.4.0. Upgrade winml-cli to 0.4.0 or later.

### How do I check if I'm affected by CVE-2026-84452?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/microsoft/winml-cli/security/advisories/GHSA-96p9-rh4f-92cf>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-84452>
- vendor: <https://github.com/advisories/GHSA-96p9-rh4f-92cf>
- patch: <https://github.com/microsoft/winml-cli/pull/1321>
- patch: <https://github.com/microsoft/winml-cli/commit/f4073e0ef4700a25b623487e7e45c421ca0b9993>
- other: <https://github.com/microsoft/winml-cli>
- other: <https://pypi.org/project/winml-cli>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-84452>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-96p9-rh4f-92cf> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3944> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-84452> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-84452>
