Skip to content
HighVulnerability

GHSA-96p9-rh4f-92cf: Windows ML CLI: CORS misconfig enables localhost RCE

Published
Record updated
View JSON
Affected
  • winml-cli < 0.4.0
Fixed in
0.4.0
  • released October 20, 2026, 43 days after disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.6%

Summary

The winml-cli project's serve/cli_api.py exposes all winml CLI commands over HTTP without authentication and sets allow_origins to a wildcard, so any website can call the localhost endpoint. Combined with the --trust-remote-code flag in the build and config commands, an attacker hosting a malicious model repository can run arbitrary code as the server user. The report's proof of concept demonstrates execution from a cross-origin request.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.