CVE-2026-84452CWE-306CWE-942

CVE-2026-84452

published September 3, 2026

CVSS
8.6
EPSS
1%
Percentile
58.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
8.6 · NONE
CVSS v4.0
8.6 · 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
EPSS
0.00945 · 58.8th percentile
Weaknesses
CWE-306 · Missing Authentication for Critical Function; CWE-942 · Permissive Cross-domain Security Policy with Untrusted Domains
Published
2026-09-03T00:17Z
References (4)
EPSS history
Timeline
  • 04 SEP 03:44Z
    EPSS moved — → 1%
    epss
  • 02 SEP 19:22Z
    Windows ML CLI: CORS misconfig enables localhost RCE
    cvelistv5