Skip to main content

Aqara Camera Hub G3 CVE-2025-65293

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

Attack ChainAIDerived

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

  1. Access
    Craft malicious QR with shell metacharacters
  2. Delivery
    Present QR during setup/factory reset
  3. Exploit
    Camera scans and parses payload
  4. Execution
    Command injected into root shell context
  5. Impact
    Arbitrary 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 1.1% exploitation probability (EPSS)

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

Alert me

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

Vendor (mitre) PRIMARY 6.6 MEDIUM
AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 6.6 MEDIUM

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.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

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

EPSS Score
1.1%
Top 36% exploitable
Prevalence
Medium
popular consumer smart-home brand, no enterprise 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 1.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +33
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: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