CVE-2026-84452
Windows ML CLI: CORS misconfig enables localhost RCE
Also known as GHSA-96p9-rh4f-92cf, PYSEC-2026-3944
Mitigation
- Upgrade winml-cli to 0.4.0 or later.
Who should check
- Projects that depend on PyPI package winml-cli (< 0.4.0)
- Anyone running microsoft winml-cli < 0.4.0
Vulnerability facts
- Affected
- winml-cli < 0.4.0
- Fixed in
- 0.4.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- 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:NOpen in CVSS calculator
Show all 11 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
- EPSS
- 1.61% chance of exploitation in 30 days (percentile 76, 2026-11-26)
- CWE
- CWE-942, CWE-306
- Modified
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
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
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.