Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
microsoft winml-cli
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Windows ML CLI 是一个用于为 Windows ML 构建便携式、高性能、高质量 AI 模型的命令行工具。在 0.4.0 版本之前, 组件通过本地主机(localhost)上的 HTTP API 暴露 WinML CLI 命令,但该 API 未设置任何身份验证机制;同时,在 和 中, 配置被设置为通配符(即允许任意源)。因此,用户浏览的恶意网站可以发起跨域请求到 或 端点,并将 参数设为 ;该参数会被直接转换为 命令行标志,且未经过任何校验。此标志最终传递至 中的 方法,并设置 ,从而导入由攻击者控制的

CVSS 8.6 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
microsoft winml-cli < 0.4.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-84452

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Windows ML CLI: CORS misconfig enables localhost RCE
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
过度许可的跨域白名单
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
microsoft winml-cli < 0.4.0 -

II. Public POCs for CVE-2026-84452

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-84452

登录查看更多情报信息。

Patches & Fixes for CVE-2026-84452 (1)

Vendor Advisories for CVE-2026-84452 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-84452

No comments yet


Leave a comment