Overview
Cybersecurity vulnerabilities are an ever-present threat in today’s digitally interconnected world. One such vulnerability, CVE-2025-58766, has been identified in Dyad, a local AI app builder. This critical security flaw affects Dyad v0.19.0 and earlier versions, potentially putting countless systems at risk.
The gravity of the situation lies in the fact that this vulnerability allows attackers the ability to execute arbitrary code on users’ systems, effectively gaining control of the system. This potential for system compromise or data leakage is an alarming prospect for users and organizations that employ Dyad in their applications.
Vulnerability Summary
CVE ID: CVE-2025-58766
Severity: Critical, CVSS Score 9.0
Attack Vector: Network
Privileges Required: None
User Interaction: Required
Impact: System compromise, data leakage
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
Dyad | v0.19.0 and earlier
How the Exploit Works
This vulnerability lies in the application’s preview window functionality. An attacker can craft web content that automatically executes when the preview loads. Because of the flaw in the preview window, this malicious content can break out of the application’s security boundaries and bypass Docker container protections. Once this happens, the attacker gains control of the system, potentially leading to system compromise or data leakage.
Conceptual Example Code
An attacker could exploit this vulnerability by crafting a malicious payload that’s executed when a user previews certain web content. Here’s a conceptual example of such a request:
GET /preview?content=<script>malicious_code_here</script> HTTP/1.1
Host: vulnerable.dyad.example.com
In this example, the malicious code embedded in the `GET` request is automatically executed when the preview loads, exploiting the vulnerability and allowing the attacker to execute arbitrary code on the user’s system.
Mitigation
A patch has been issued in Dyad v0.20.0 that fixes the vulnerability. Users are strongly advised to update to this version or later to protect their systems. As a temporary mitigation, users can apply a Web Application Firewall (WAF) or Intrusion Detection System (IDS) to help defend against potential attacks. However, these are only stopgap measures and do not address the underlying vulnerability.
