CVE-2026-50086
Awaiting Analysis Awaiting Analysis - Queue
AES Round-Trips in Aqara IAM/SSO Gateway

Publication date: 2026-06-12

Last updated on: 2026-06-12

Assigner: 44488dab-36db-4358-99f9-bc116477f914

Description
The Aqara IAM/SSO gateway (gw-builder.aqara.com) exposes bidirectional AES round-trups against the platform's signing key without authentication. This is an instance of "CWE-306: Missing Authentication for Critical Function" and "CWE-327: Use of a Broken or Risky Cryptographic Algorithm," and has an estimated CVSS of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (7.5 High).
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-12
Last Modified
2026-06-12
Generated
2026-06-12
AI Q&A
2026-06-12
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
aqara iam_sso_gateway to 2026-06-30 (inc)
aqara lumi_iot_cloud_platform to 2026-06-30 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-327 The product uses a broken or risky cryptographic algorithm or protocol.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The vulnerability allows unauthenticated access to encryption and decryption functions using the platform's signing key, which can lead to unauthorized data manipulation or interception.

Such unauthorized access and potential data exposure could violate common standards and regulations like GDPR and HIPAA, which require protection of sensitive data and strong authentication controls.

Specifically, the missing authentication for critical cryptographic functions and use of a broken cryptographic algorithm increase the risk of data breaches and unauthorized data access, undermining compliance with data protection requirements.

Executive Summary

CVE-2026-50086 is a vulnerability in the Aqara IAM/SSO gateway that exposes an unauthenticated AES encryption and decryption oracle. This means attackers can encrypt or decrypt arbitrary data using the platform's signing key without needing to authenticate.

The vulnerability arises because the platform uses AES in ECB mode, which is a weak cryptographic method, and the encryption/decryption endpoints do not require authentication. This allows attackers to manipulate device communications or intercept data.

Specifically, two API endpoints are affected: one for encryption and one for decryption, both callable without authentication. Identical plaintext blocks produce identical ciphertext blocks, making it easier for attackers to analyze and exploit the data.

Impact Analysis

This vulnerability can have serious impacts including unauthorized decryption of sensitive data such as cookies or tokens, and the ability to forge new ciphertext under the platform's signing key.

Attackers could manipulate communications between devices or the cloud platform, potentially compromising the security of Aqara smart locks, cameras, and hubs.

Because the vulnerability is unauthenticated and callable cross-origin from any browser (when combined with another vulnerability), it increases the risk of remote exploitation without user interaction.

Detection Guidance

This vulnerability can be detected by checking for unauthenticated access to the AES encryption and decryption endpoints on the Aqara IAM/SSO Gateway.

Specifically, the endpoints `/iam/oauthToken/aseEncrypt` and `/iam/oauthToken/aseDecrypt` can be tested to see if they allow encryption or decryption requests without authentication.

A simple detection method is to send HTTP requests to these endpoints and observe if encryption or decryption occurs without requiring credentials.

  • Use curl or similar tools to send POST requests to the endpoints, for example:
  • curl -X POST https://gw-builder.aqara.com/iam/oauthToken/aseEncrypt -d '{"data":"test"}'
  • curl -X POST https://gw-builder.aqara.com/iam/oauthToken/aseDecrypt -d '{"data":"<ciphertext>"}'

If these requests succeed without authentication and return encrypted or decrypted data, the vulnerability is present.

Mitigation Strategies

Immediate mitigation steps include applying the official patch released by Aqara, which addresses the unauthenticated AES oracle vulnerability.

If patching is not immediately possible, restrict access to the vulnerable endpoints by implementing network-level controls such as firewall rules to block external access to `/iam/oauthToken/aseEncrypt` and `/iam/oauthToken/aseDecrypt`.

Additionally, monitor and audit access logs for any suspicious or unauthorized requests to these endpoints.

Ensure that any cryptographic operations require proper authentication and avoid using ECB mode encryption, as it is insecure.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-50086. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart