Aqara Camera Hub G3 CVE-2025-65293
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious QR with shell metacharacters
-
DeliveryPresent QR during setup/factory reset
-
ExploitCamera scans and parses payload
-
ExecutionCommand injected into root shell context
-
ImpactArbitrary command execution as root
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 physical/local proximity to feed a crafted QR code to the Camera Hub G3's scanner, and it only works during the device setup (initial pairing/provisioning) or factory-reset flow - the specific windows where the firmware processes QR codes. Limiting factors: AV:P means the attacker must get the target device to scan the malicious QR (no remote/network path), UI:R means a legitimate user or operator must perform the setup/reset scan action, and the device must be running the affected firmware 4.1.9_0027. This is not exploitable against an already-provisioned, running device in normal operation. |
| Impact | The CVSS 3.1 vector (6.6, AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is internally consistent and the AV:P (Physical) attack vector is the dominant risk-limiting signal: exploitation requires the attacker to present a malicious QR code that the Camera Hub G3 physically scans, and only during the device setup or factory-reset window (UI:R). Despite the high technical impact (root-level C:H/I:H/A:H), the physical + narrow-timing gating makes mass or remote exploitation infeasible - this is a targeted, hands-on-device or social-engineering scenario, not a wormable network flaw. EPSS is 1.11% (64th percentile), modestly elevated and consistent with a public PoC existing, but this reflects PoC availability rather than observed mass exploitation. No CISA KEV listing; a PoC/writeup is publicly available (Chapoly1305/myCVEReports). Net: a genuine root-code-execution bug but LOW real-world priority for most fleets because of AV:P and the setup/reset precondition - prioritize only where devices are provisioned in untrusted physical settings. |
| Exploit ScenarioDerived | An attacker crafts a QR code embedding shell metacharacters and induces a victim to scan it with an Aqara Camera Hub G3 during initial setup or after a factory reset (e.g., a QR posted as 'setup instructions' or presented to the camera physically); the unsanitized QR payload is passed to a shell context and executes as root. A public write-up/PoC (Chapoly1305/myCVEReports) documents the QR command-injection technique, lowering the barrier to reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 26, 2026
Arbitrary command execution with root privileges is possible on Aqara Camera Hub G3 devices running firmware 4.1.9_0027 when the hub scans a maliciously crafted QR code during initial device setup or a factory reset. Because the attack vector is physical (CVSS AV:P) and requires a user or operator to perform the scan action (UI:R), exploitation is limited to those provisioning windows and is not possible against an already-configured hub in normal operation; the CVSS 3.1 base score is 6.6. Publicly available exploit code exists (a detailed PoC write-up is published), but the vulnerability is not confirmed as actively exploited (not in CISA KEV), and EPSS is low at 1.11% (64th percentile).
RemediationAI
No vendor-released patch was identified at the time of analysis, so remediation depends on compensating controls. First, treat QR provisioning as an untrusted input channel: only scan QR codes generated by the official Aqara Home app on a device you control, and never scan QR codes supplied by third parties, printed flyers, or shared images on a Camera Hub G3 that is in setup or factory-reset mode - this directly closes the AV:P/UI:R window and is the single most effective mitigation. Second, perform all pairing and factory resets in a physically controlled, non-public location (e.g., not in a retail or shared space where an attacker could swap in a malicious code), since the attack requires physical proximity to the scanner. Third, until a fixed firmware is confirmed, isolate the hub on a dedicated VLAN/IoT SSID and disable any unnecessary outbound access to limit post-exploitation reach if the device is compromised; note this reduces but does not prevent the root command execution itself. Fourth, monitor Aqara's firmware release channel for a patched version beyond 4.1.9_0027 and apply it as soon as it is published, since no CVE-specific patch version is provided in the available data. The public PoC at https://github.com/Chapoly1305/myCVEReports/blob/main/Aqara/QR-Command-Injection.md can be used to validate whether a given firmware build remains vulnerable.
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 affected component is the firmware of the Aqara Camera Hub G3 (CPE cpe:2.3:o:aqara:camera_hub_g3_firmware:4.1.9_0027), a smart-home camera/hub that is provisioned by scanning a QR code with its onboard camera during initial pairing or after a factory reset. CWE-77 (Improper Neutralization of Special Elements used in a Command) indicates that the QR payload is passed to a shell command without sanitization, so embedded shell metacharacters are interpreted by the underlying embedded Linux runtime rather than treated as inert data. Successful injection executes in the context of the firmware process that handles provisioning, which runs with root privileges, giving full control of the device (C:H/I:H/A:H). The CVSS vector CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H is consistent: PR:N reflects that no authentication is required, but AV:P and UI:R confine the attack to a physically present attacker who induces the legitimate setup/reset scan, making the provisioning flow the true vulnerability surface rather than the device's normal network-facing services.
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:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:P because the QR code must be physically scanned by the camera; UI:R and the setup/reset window gate it; command injection yields full root so C/I/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Command injection vulnerabilities in Aqara Camera Hub G3 4.1.9_0027 allow attackers to execute arbitrary commands with root privileges through malicious QR codes during device setup and factory reset.
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