CVE-2026-49963 in DreameHome
Summary
by MITRE • 11/23/2026
DreameHome for Android (com.dreame.smartlife) before 2.6.4.0 contains a download of code without integrity check vulnerability in RnPluginDownloadManager.java that allows network-positioned attackers to execute arbitrary JavaScript within the application by replacing React Native feature bundles that are only validated against a client-stored MD5 checksum without publisher authentication. Attackers can replace both the downloaded bundle and its corresponding MD5 metadata to run modified code with the application's permissions and access to its bridge APIs.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified in DreameHome for Android, specifically within versions prior to 2.6.4.0, represents a critical failure in software supply chain integrity verification mechanisms. The core of this issue resides in the RnPluginDownloadManager.java component, which is responsible for retrieving and executing React Native feature bundles. These bundles contain the JavaScript code that drives much of the application's user interface and logic on Android devices. Instead of implementing robust cryptographic validation or digital signatures to ensure the authenticity and integrity of these remote resources, the application relies solely on a client-stored MD5 checksum. This approach creates a significant security gap because it assumes that the metadata file containing the expected hash is trustworthy and untampered with during transit.
From a technical perspective, the flaw allows network-positioned attackers to perform man-in-the-middle attacks or exploit compromised networks to intercept and modify the traffic between the application and its backend servers. Because the validation process only compares the downloaded bundle against an MD5 hash stored locally on the device, an attacker can simply replace both the JavaScript bundle file and its corresponding metadata file containing the matching MD5 checksum. Since the application does not verify the publisher's identity or use a secure key to sign the bundles, it accepts these modified files as legitimate. This lack of publisher authentication means that any code delivered with a validly matched hash is executed without question, bypassing standard security controls designed to prevent unauthorized code execution.
The operational impact of this vulnerability is severe, enabling arbitrary JavaScript injection within the context of the DreameHome application. Once an attacker successfully substitutes the bundle and metadata, they can execute malicious scripts that run with all the permissions granted to the Android app. This includes access to sensitive device data, IoT device controls, user credentials stored in local storage or shared preferences, and communication channels via React Native bridge APIs. The ability to manipulate these bridges allows attackers to interact directly with native modules, potentially leading to remote code execution on the host system, unauthorized control of smart home devices managed by the app, theft of personal information, or installation of further malware payloads.
This vulnerability aligns closely with Common Weakness Enumeration (CWE) ID 345, which describes Insufficient Verification of Data Authenticity, and specifically CWE 829, Inclusion of Functionality from Untrusted Control Sphere. Furthermore, in the context of the MITRE ATT&CK framework for mobile platforms, this behavior corresponds to techniques such as T1071 Application Layer Protocol: Web Protocols for command and control or data exfiltration, and potentially T1608 Link Exploitation if used to redirect users to malicious sites. The failure to implement code signing is a deviation from industry best practices recommended by OWASP Mobile Security Testing Guide (MSTG), which mandates that all downloaded content must be verified against digital signatures rather than simple hashes.
To mitigate this vulnerability, developers must immediately upgrade the DreameHome application to version 2.6.4.0 or later where these integrity checks have been addressed. For applications still running older versions, it is critical to implement server-side code signing using strong cryptographic algorithms such as RSA with SHA-256 or ECDSA. The mobile client should be configured to verify the digital signature of every downloaded bundle against a hardcoded public key before execution. Additionally, developers should enforce certificate pinning for all network communications related to bundle downloads to prevent man-in-the-middle attacks that could intercept and modify traffic. Regular security audits focusing on third-party library configurations and download managers are essential to ensure that integrity checks remain robust against evolving attack vectors.