Skip to main content

Aqara Hub CVE-2025-65292

HIGH
Command Injection (CWE-77)
2025-12-10 cve@mitre.org
7.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain low-priv local/LAN access to hub
  2. Delivery
    Craft malicious domain name payload
  3. Exploit
    Hub processes hostname in shell context
  4. Execution
    Command injection executes as root
  5. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 7.3 HIGH
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

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).

3.1 AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:A/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 45% exploitable
Prevalence
Low
popular consumer smart-home IoT brand, negligible enterprise/production footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:o:aqara:hub_m2_firmware:4.3.6_0027:*:*:*:*:*:*:*
cpe:2.3:o:aqara:hub_m3_firmware:4.3.6_0025:*:*:*:*:*:*:*
cpe:2.3:o:aqara:camera_hub_g3_firmware:4.1.9_0027:*:*:*:*:*:*:*

More in IoT

View all
CVE-2025-45988 CRITICAL POC
9.8 Jun 13

A command injection vulnerability (CVSS 9.8). Risk factors: public PoC available.

CVE-2026-29128 CRITICAL POC
10.0 Mar 05

Plaintext daemon credentials in IDC SFX2100 routing config files (zebra, bgpd, ospfd, ripd). CVSS 10.0. PoC available.

CVE-2025-65294 CRITICAL POC
9.8 Dec 10

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

CVE-2025-63624 CRITICAL POC
9.8 Feb 03

Kede Electronics IoT smart water meter monitoring platform v1.0 has a SQL injection allowing attackers to compromise the

CVE-2026-101076 CRITICAL POC
9.3 Sep 28

An unauthenticated OS command injection in the CGI handler of Netcore NR289-GE firmware 1.4.5102 lets remote attackers e

CVE-2026-101077 CRITICAL POC
9.3 Sep 28

Unauthenticated network attackers can bypass authentication in the Netcore NR289-GE router's boa_temp web handler and ab

CVE-2026-101075 CRITICAL POC
9.3 Sep 28

Remote unauthenticated OS command injection in Netcore NR289-GE firmware 1.4.5102 allows attackers to execute arbitrary

CVE-2026-101072 CRITICAL POC
9.3 Sep 28

Unauthenticated OS command injection in the Netcore NR289-GE router (firmware 1.4.5102) lets any remote attacker who can

CVE-2026-101039 CRITICAL POC
9.3 Sep 28

A stack-based buffer overflow in the devdiscover service of FAST FAC1900R firmware 20190827_2.0.2 lets unauthenticated r

CVE-2026-25139 CRITICAL POC
9.1 Feb 04

RIOT IoT operating system has an out-of-bounds read vulnerability (CVSS 9.1) that could lead to information disclosure o

CVE-2026-102792 HIGH POC
8.5 Sep 29

Command injection in the Ziroom ZHOME A0101 smart-home hub (firmware 1.0.1.0) allows an attacker with high-privilege aut

CVE-2026-102793 HIGH POC
8.5 Sep 29

Authenticated command injection in Ziroom ZHOME A0101 firmware 1.0.1.0 lets a privileged user execute arbitrary operatin

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy