Aqara Hub CVE-2025-65292
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-priv local/LAN access to hub
-
DeliveryCraft malicious domain name payload
-
ExploitHub processes hostname in shell context
-
ExecutionCommand injection executes as root
-
ImpactFull device takeover (C/I/A:H)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to cause the Aqara hub to process an attacker-controlled ('malicious') domain name/hostname that is passed into a command context, yielding root code execution. Per the CVSS vector, this is gated by local access (AV:L), low-privilege access (PR:L, e.g. a paired/authenticated companion-app session on the local network), and user interaction (UI:R, a triggering action). Only the exact listed firmware builds are confirmed affected (Camera Hub G3 4.1.9_0027, Hub M2 4.3.6_0027, Hub M3 4.3.6_0025). A public POC lowers the practical barrier. Note the unresolved tension: 'malicious domain names' implies network/DNS-borne delivery, so real delivery may be over the local network rather than physical console access - defenders should treat LAN-adjacent app access as the likely entry path. |
| Impact | This is a legitimate high-severity flaw with meaningful mitigating factors. The vendor CVSS vector (7.3, AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H) describes command injection yielding full root compromise (C:H/I:H/A:H) of the hub - a strong technical impact. However, the vector marks the attack as local (AV:L), low-privileged (PR:L), and requiring user interaction (UI:R), which sharply narrows realistic exploitation versus a pure remote-unauth bug. A publicly available POC exists (GitHub Chapoly1305/myCVEReports, 'DNS-Command-Injection'), which raises real-world risk and lowers the barrier to weaponization, but this is NOT the same as active exploitation - there is no CISA KEV listing. EPSS is moderate at 0.80% (55th percentile), consistent with a disclosed-with-POC IoT bug that is not seeing mass automated exploitation. CONFLICT TO VERIFY: the description attributes exploitation to 'malicious domain names' (implying network/DNS-borne delivery), yet the vendor scored AV:L (local); these are hard to reconcile and suggest delivery is actually via the local-network companion app or an on-path DNS response rather than pure physical/local console access - verify the true attack surface with the vendor/POC. Net: a real priority for anyone running these specific Aqara hubs given root impact plus public POC, but the local-vector and user-interaction gating keep it below emergency 'internet-wide worm' territory. |
| Exploit ScenarioDerived | An attacker with low-privileged local access (e.g., via the paired companion app on the local network) supplies or induces the hub to process a maliciously crafted domain name; the hostname string is passed unsanitized into a shell context, executing attacker commands as root on the hub. A public POC ('DNS-Command-Injection') documents the technique, so exploitation does not require novel research. Because CVSS marks UI:R and AV:L, the attacker needs local reachability and a triggering action rather than a purely remote unauthenticated request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
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 attacker who can get the device to process an attacker-controlled domain name/hostname execute arbitrary commands with root privileges. Delivery is gated: the CVSS vector (AV:L/AC:L/PR:L/UI:R) indicates local-network-adjacent access, low-privileged credentials (e.g. a paired companion-app session), and a user-triggered action are required; our own assessment raises the access vector to AV:A (adjacent network) because 'malicious domain names' implies DNS/network-borne delivery rather than physical console access. Publicly available exploit code exists (a detailed GitHub write-up), but the flaw is not in CISA KEV and EPSS is modest at 0.80% (55th percentile), so exploitation in the wild is not confirmed; only the exact firmware builds listed are confirmed affected.
RemediationAI
No vendor-released patch was identified at time of analysis, so remediate through containment and hardening of the local network path this flaw depends on. Because exploitation requires attacker-influenced domain-name resolution plus a low-privileged local/adjacent session and user interaction, the highest-value mitigations are: isolate Aqara hubs on a dedicated IoT VLAN or SSID that cannot reach management workstations or NAS appliances, with inter-VLAN traffic denied (trade-off: no direct LAN access to the hub from trusted hosts, so admin must use the isolated segment); block outbound and inbound DNS to untrusted resolvers and force the hubs through a controlled resolver with domain allow-listing (trade-off: may break cloud/Aqara app functionality and firmware updates if the allow-list is too narrow); and treat any paired companion-app account as privileged - rotate Aqara account credentials, review paired users, and remove unused sessions, since PR:L indicates a low-privileged authenticated path is sufficient. Monitor the vendor advisory and the public report at https://github.com/Chapoly1305/myCVEReports/blob/main/Aqara/DNS-Command-Injection.md for a fixed firmware version, and apply it as soon as Aqara releases one; until then, do not expose these hubs to untrusted networks and avoid actions that let third parties influence hostname or domain resolution on the device.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-77 (Improper Neutralization of Special Elements used in a Command), the classic command-injection class in which untrusted input is concatenated into a shell/OS command without sanitization or escaping. Here the injected input is a domain name or hostname supplied by an attacker - the hub firmware passes it into a command execution context in a way that permits shell metacharacter or argument injection, and because the vulnerable process runs as root, successful injection yields full device compromise (C:H/I:H/A:H with S:U). The affected components are the Aqara hub firmware images identified by CPE as aqara:camera_hub_g3_firmware:4.1.9_0027, aqara:hub_m2_firmware:4.3.6_0027, and aqara:hub_m3_firmware:4.3.6_0025. The delivery model - attacker-controlled domain names - suggests the injection surfaces through name resolution or a DNS/hostname-handling feature rather than serial console access, which is why a network-adjacent (AV:A) assessment is more realistic than the NVD-published AV:L, even though both agree on low privileges (PR:L) and required user interaction (UI:R).
Know when IoT gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Malicious-domain delivery points to local-network (companion-app/on-path DNS) reach rather than console-only, so AV:A over vendor's AV:L; low-priv paired access (PR:L) and a triggering action (UI:R) yield root (C/I/A:H).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Command injection vulnerability in Aqara Hub devices including Camera Hub G3 4.1.9_0027, Hub M2 4.3.6_0027, and Hub M3 4.3.6_0025 allows attackers to execute arbitrary commands with root privileges through malicious domain names.
Executive ViewAI
Aqara Camera Hub G3 (4.1.9_0027), Hub M2 (4.3.6_0027), and Hub M3 (4.3.6_0025) are affected by a high-severity command injection flaw that can let a local-network-adjacent actor with low-privileged access and a user-triggered action obtain root-level control of the hub. Publicly available exploit code exists, but active exploitation is not confirmed and no vendor-released patch identified at time of analysis; these hubs should be treated as untrusted endpoints because a compromise can expose camera/video data and provide a foothold into the broader network.
No vendor-released patch identified at time of analysis. Interim mitigations include isolating affected Aqara hubs on a dedicated VLAN or guest network; blocking inbound access and restricting outbound DNS/network traffic to trusted destinations; disabling remote access, UPnP, and unnecessary hostname-processing features; enforcing strong unique credentials and minimizing or revoking paired companion-app sessions; monitoring DNS queries and outbound connections for malicious domains; and, where risk tolerance is low, decommissioning or replacing affected devices until a fixed firmware version is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
A command injection vulnerability (CVSS 9.8). Risk factors: public PoC available.
Plaintext daemon credentials in IDC SFX2100 routing config files (zebra, bgpd, ospfd, ripd). CVSS 10.0. PoC available.
Remote 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
Kede Electronics IoT smart water meter monitoring platform v1.0 has a SQL injection allowing attackers to compromise the
An unauthenticated OS command injection in the CGI handler of Netcore NR289-GE firmware 1.4.5102 lets remote attackers e
Unauthenticated network attackers can bypass authentication in the Netcore NR289-GE router's boa_temp web handler and ab
Remote unauthenticated OS command injection in Netcore NR289-GE firmware 1.4.5102 allows attackers to execute arbitrary
Unauthenticated OS command injection in the Netcore NR289-GE router (firmware 1.4.5102) lets any remote attacker who can
A stack-based buffer overflow in the devdiscover service of FAST FAC1900R firmware 20190827_2.0.2 lets unauthenticated r
RIOT IoT operating system has an out-of-bounds read vulnerability (CVSS 9.1) that could lead to information disclosure o
Command injection in the Ziroom ZHOME A0101 smart-home hub (firmware 1.0.1.0) allows an attacker with high-privilege aut
Authenticated command injection in Ziroom ZHOME A0101 firmware 1.0.1.0 lets a privileged user execute arbitrary operatin
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB