CVE-2025-58766: CWE-94: Improper Control of Generation of Code ('Code Injection') in dyad-sh dyad
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.
CVE-2025-58766: CWE-94: Improper Control of Generation of Code ('Code Injection') in dyad-sh dyad
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.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-09-04T19:18:09.500Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68caf2f2822eeeec0bbb2583
Added to database: 9/17/2025, 5:42:10 PM
Last updated: 9/17/2025, 5:42:10 PM
Views: 1
Related Threats
CVE-2025-58431: CWE-250: Execution with Unnecessary Privileges in IceWhaleTech ZimaOS
MediumCVE-2025-10603: SQL Injection in PHPGurukul Online Discussion Forum
MediumCVE-2025-10602: SQL Injection in SourceCodester Online Exam Form Submission
MediumCVE-2025-35436: CWE-248 Uncaught Exception in CISA Thorium
MediumCVE-2025-35435: CWE-369 Divide By Zero in CISA Thorium
MediumActions
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.