{"answers":{"affected":"3 open source packages ship an affected version, including winml-cli.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-84452 exists.","fix":"Upgrade winml-cli to 0.4.0 or later.","what":"CVE-2026-84452 is a high-severity code injection vulnerability in microsoft winml-cli, published on 2 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-84452 and fix it if it is affected.\n\nWhat it is: CVE-2026-84452 is a high-severity code injection vulnerability in microsoft winml-cli, published on 2 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-84452 exists.\n\nAffected packages and fixed versions:\n- winml-cli (PyPI): affected all versions; fixed in 0.4.0\n- winml-cli (PyPI): affected all versions; fixed in 0.4.0\n- winml-cli (PyPI): affected all versions; fixed in 0.4.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-84452/ (Markdown: https://insights.sbomify.com/CVE-2026-84452/index.md)","id":"CVE-2026-84452","markdown":"https://insights.sbomify.com/CVE-2026-84452/index.md","name":"CVE-2026-84452","record":{"aliases":["GHSA-96p9-rh4f-92cf","PYSEC-2026-3944"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Windows ML CLI","requires_auth":"none","summary":"A malicious website can trigger arbitrary code execution in Windows ML CLI via a CORS misconfiguration and unvalidated trust_remote_code parameter.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Windows ML CLI: CORS misconfig enables localhost RCE","id":"CVE-2026-84452","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Zammad: Account takeover via unverified email matching during SSO auto-link","id":"CVE-2026-84458"},"packages":[{"ecosystem":"PyPI","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"winml-cli","purl":null,"source":"GHSA-96p9-rh4f-92cf"},{"ecosystem":"PyPI","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"winml-cli","purl":"pkg:pypi/winml-cli","source":"GHSA-96p9-rh4f-92cf"},{"ecosystem":"PyPI","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"winml-cli","purl":"pkg:pypi/winml-cli","source":"PYSEC-2026-3944"}],"prev":{"headline":"libheif: Incomplete fix for CVE-2026-62292 leaves libheif vulnerable to an out-of-bounds read","id":"CVE-2026-84451"},"products":["winml-cli"],"published":"2026-09-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-03","vendors":["microsoft"]},"summary":"A malicious website can trigger arbitrary code execution in Windows ML CLI via a CORS misconfiguration and unvalidated trust_remote_code parameter.","url":"https://insights.sbomify.com/CVE-2026-84452/"}