{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-58766 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-58766 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-58766 is a critical code injection vulnerability in dyad-sh dyad, published on 17 Sep 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-58766 and fix it if it is affected.\n\nWhat it is: CVE-2025-58766 is a critical code injection vulnerability in dyad-sh dyad, published on 17 Sep 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-58766 in the wild and no public exploit code.\n\nAffected product: dyad-sh dyad. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2025-58766/ (Markdown: https://insights.sbomify.com/CVE-2025-58766/index.md)","id":"CVE-2025-58766","markdown":"https://insights.sbomify.com/CVE-2025-58766/index.md","name":"CVE-2025-58766","record":{"aliases":["GHSA-7fxm-c5xx-7vpq"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"AI app builder","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code on user systems by crafting malicious web content that bypasses security boundaries in the preview window.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Dyad is a local AI app builder. A critical security vulnerability has been discovered that affected Dyad v0.19.0 and earlier versions that allows attackers to execute arbitrary code on users' systems. The vulnerability affects the application's preview window functionality and can bypass Docker container protections.  An attacker can craft web content that automatically executes when the preview loads. The malicious content can break out of the application's security boundaries and gain control of the system. This has been fixed in Dyad v0.20.0 and later.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Dyad Vulnerable to Remote Code Execution via Top-level Navigation in Preview Window","id":"CVE-2025-58766","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"REXML has a DoS condition when parsing malformed XML file","id":"CVE-2025-58767"},"packages":[],"prev":{"headline":"wabac.js has XSS vulnerability in 404 error handling logic","id":"CVE-2025-58765"},"products":["dyad"],"published":"2025-09-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-17","vendors":["dyad-sh"]},"summary":"Attackers can execute arbitrary code on user systems by crafting malicious web content that bypasses security boundaries in the preview window.","url":"https://insights.sbomify.com/CVE-2025-58766/"}