/

CVE-2026-49965

Severity:

HIGH RISK

(7.1)

IDOR (CWE-639) in DreameHome Cloud Camera Binding API

CVE-2026-49965

Received

Vulnerability type

Category:

Insecure Direct Object Reference (IDOR)

CWE:

CWE-639

Impact:

Unauthorized camera reassignment and denial of the owner's access

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

DreameHome's cloud API had an authorization flaw in its camera-binding endpoint that could let an authenticated user reassign a camera belonging to someone else to their own account. If the attacker knows the camera's identifiers, the owner may lose access to the device through DreameHome.

Affected context

The issue concerns the DreameHome cloud API's POST /smart-app/meari-cloud/bindDevice endpoint. It affects API behavior where a binding request can be accepted without verifying that the authenticated account is authorized to manage the specified camera. The described vulnerable API behavior was present before 2026-11-19.

Exploit preconditions

  • Attack surface: The DreameHome cloud API's camera-binding endpoint
  • Required access: An authenticated DreameHome account and knowledge of the target camera's identifiers
  • Trigger point: A binding request to POST /smart-app/meari-cloud/bindDevice
  • Why exploitation is possible: The endpoint accepts a request from an account that does not own the camera, allowing the supplied user identity to become its master account.

Why this happens

The endpoint fails to enforce object-level authorization for the camera being bound. It accepts a user-supplied camera identifier and changes the camera's account association without confirming that the authenticated user owns the camera or is otherwise authorized to manage it. This is an insecure direct object reference and maps to CWE-639: Authorization Bypass Through User-Controlled Key.

Potential impact

  • An attacker could reassign another user's camera to their own account.
  • The legitimate owner may lose access to the camera through DreameHome.
  • The attacker may gain control or access to camera functions available to the newly associated account.
  • Repeated or targeted reassignment could disrupt users' access to their devices.

General mitigation guidance

Defensive patterns focus on validating authorization for each requested camera, rather than trusting identifiers or identity values supplied in a request.

  • Derive the acting user identity from the authenticated session, not a caller-controlled field.
  • Verify that the authenticated user owns the camera or has an explicitly authorized role before changing its association.
  • Apply authorization checks consistently to binding, unbinding, and other device-management operations.
  • Use secure-by-default access controls and least privilege for account and device-management functions.
  • Keep authorization checks close to the state change and make reassignment operations resistant to race conditions.

How teams detect issues like this

  • Review device-management handlers for object lookups using request-supplied identifiers without an ownership or authorization check.
  • Use static analysis or code review rules to flag account or device association changes that trust caller-supplied identity fields.
  • Test authorization policies by verifying that one account cannot bind, unbind, or modify another account's devices.
  • Monitor audit logs for camera ownership changes that lack an expected owner-initiated or authorized administrative action.
  • Enforce API policies requiring authenticated identity and object-level authorization for device mutations.

Sources

SourceLink
github.comgithub.com/je-lv/dreame-security-research
play.google.complay.google.com/store/apps/details?id=com.dreame.smartlife
vulncheck.comvulncheck.com/advisories/dreamehome-cloud-api-idor-via-binddevice-endpoint

Frequently asked

questions

The described attack requires an authenticated DreameHome account and knowledge of the target camera's identifiers.

The described prerequisite is access to the cloud endpoint and the camera identifiers; physical access is not specified as necessary.

Verify server-side that the authenticated user is authorized to manage the specific camera before changing its account association.

Enforce object-level authorization on every device operation, avoid trusting user-supplied identity values, and test that users cannot modify resources owned by other accounts.

Find out what's already
exploitable in your codebase.