Code execution via wildcard localhost CORS
Published Sep 2, 2026 · Updated Sep 3, 2026
Code injection in Microsoft WinML CLI before 0.4.0 allows remote attackers to execute code through a malicious website. The unauthenticated localhost CLI API accepts wildcard cross-origin requests and forwards trust_remote_code=true into AutoConfig.from_pretrained, which imports Python from an attacker-controlled model repository. Exploitation requires the server to be running and a user to load attacker-controlled web content; code runs with the server user's privileges.
Summary
What happened
Code injection in Microsoft WinML CLI before 0.4.0 allows remote attackers to execute code through a malicious website. The unauthenticated localhost CLI API accepts wildcard cross-origin requests and forwards trust_remote_code=true into AutoConfig.from_pretrained, which imports Python from an attacker-controlled model repository. Exploitation requires the server to be running and a user to load attacker-controlled web content; code runs with the server user's privileges.
The record
- CVE
- CVE-2026-84452
- Published
- Sep 2, 2026
- Updated
- Sep 3, 2026
- Vendor
- Microsoft
- Product
- WinML CLI
- Classifications
- CWE-942, CWE-306, T1203, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 2, 2026CVE publishedPublication date reported by the CVE source.
- Sep 3, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.4.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-96p9-rh4f-92cf reported reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo