Aqara Hub CVE-2025-65291
HIGHSeverity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
AC:H because a privileged on-path/MITM position is required; PR:N/UI:N as no creds or interaction needed; C:H and I:H since intercepted CoAP allows reading and forging device control; A:N as availability is not impacted.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
Aqara Hub devices including Hub M2 4.3.6_0027, Hub M3 4.3.6_0025, Camera Hub G3 4.1.9_0027 fail to validate server certificates in TLS connections for discovery services and CoAP gateway communications, enabling man-in-the-middle attacks on device control and monitoring.
AnalysisAI
Aqara Hub devices including Hub M2 4.3.6_0027, Hub M3 4.3.6_0025, and Camera Hub G3 4.1.9_0027 fail to validate TLS server certificates in discovery services and CoAP gateway communications, enabling man-in-the-middle attacks that can control or monitor connected devices. An unauthenticated on-path attacker (e.g., with a compromised router or rogue access point) can exploit this without user interaction, though the high attack complexity (AC:H) reflects the need for a MITM position. Publicly available exploit code exists, but EPSS is low (0.18%), and no active exploitation is confirmed.
Technical ContextAI
This vulnerability stems from improper certificate validation (CWE-295) in the firmware of Aqara Hub devices. The affected components are the TLS connections used for discovery services and CoAP (Constrained Application Protocol) gateway communications. CoAP is a lightweight protocol designed for IoT devices, often secured with DTLS or TLS; here, the hub does not verify the server's certificate, accepting any certificate presented. This allows an attacker in a man-in-the-middle position to intercept, decrypt, and modify traffic between the hub and its cloud/gateway endpoints, potentially controlling or monitoring connected devices. The affected firmware builds are specifically Hub M2 4.3.6_0027, Hub M3 4.3.6_0025, and Camera Hub G3 4.1.9_0027, as identified by CPEs. The attack complexity is high (AC:H) because it requires the attacker to already occupy a privileged network position, such as through ARP spoofing, DNS spoofing, or a rogue access point.
RemediationAI
No vendor-released patch has been identified at the time of analysis. Users should monitor Aqara's official channels for firmware updates and apply them promptly once available. As a compensating control, segment IoT devices like these hubs onto an isolated VLAN or network with strict egress filtering that only permits traffic to known Aqara cloud endpoints; this reduces the risk of a MITM from a compromised home network but may interfere with legitimate discovery or remote access features. Additionally, enable network monitoring to detect ARP spoofing, DNS spoofing, or rogue DHCP servers, and consider using a trusted VPN or firewall to protect CoAP traffic. Disabling discovery services, if feasible, can reduce the attack surface but may limit device functionality. Refer to the advisory at https://github.com/Chapoly1305/myCVEReports/blob/main/Aqara/CoAP-Certificate-Validation-Bypass.md for more details.
More in Hub M2 Firmware
View allRemote command execution in Aqara Hub firmware (Camera Hub G3 4.1.9_0027, Hub M2 4.3.6_0027, and Hub M3 4.3.6_0025) stem
Aqara Camera Hub G3 (4.1.9_0027), Hub M2 (4.3.6_0027), and Hub M3 (4.3.6_0025) accept firmware images without properly v
Command injection in Aqara hub firmware - Camera Hub G3 4.1.9_0027, Hub M2 4.3.6_0027, and Hub M3 4.3.6_0025 - lets an a
Aqara Hub devices - Camera Hub G3 (4.1.9_0027), Hub M2 (4.3.6_0027) and Hub M3 (4.3.6_0025) - skip TLS server-certificat
Aqara Camera Hub G3 (4.1.9_0027), Hub M2 (4.3.6_0027), and Hub M3 (4.3.6_0025) firmware automatically collect and transm
Same weakness CWE-295 – Improper Certificate Validation
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today