CVE-2026-84452 Details
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.
A remote code execution vulnerability exists in Microsoft WinML CLI versions prior to 0.4.0. The issue arises in the 'serve/cli_api.py' component, which exposes WinML CLI commands via a localhost HTTP API without authentication. The 'allow_origins' setting is configured as a wildcard, allowing any website to send cross-origin requests to specific CLI endpoints. This vulnerability can be exploited by loading a malicious model repository that takes advantage of the '--trust-remote-code' command-line flag, leading to arbitrary code execution on the server.
Users are advised to update to WinML CLI version 0.4.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 2, 2026CISA-ADP
Assessed Sep 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/microsoft/winml-cli/security/advisories/GHSA-96p9-rh4f-92cf | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/microsoft/winml-cli/commit/f4073e0ef4700a25b623487e7e45c421ca0b9993 | [email protected] | Source CodeVendor |
| https://github.com/microsoft/winml-cli/pull/1321 | [email protected] | Issue TrackingVendor |
| https://github.com/microsoft/winml-cli/security/advisories/GHSA-96p9-rh4f-92cf | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-942 | Permissive Cross-domain Policy with Untrusted Domains | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Microsoft Windows ML CLI | < 0.4.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | CVE Modified | CISA-ADP |
| Sep 2, 2026 | New CVE Received | [email protected] |
Volerion