Skip to main content

Aqara IAM/SSO Gateway CVE-2026-50087

| EUVDEUVD-2026-36477 MEDIUM
Permissive Cross-domain Security Policy with Untrusted Domains (CWE-942)
2026-06-12 runZero GHSA-x4g8-9rgj-rr4r
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Identify logged-in Aqara user
  2. Delivery
    Deliver phishing link to malicious page
  3. Exploit
    Victim browser loads attacker JavaScript
  4. Install
    Credentialed fetch to gw-builder.aqara.com
  5. C2
    CORS policy returns SSO response cross-origin
  6. Execute
    Exfiltrate tokens and account data
  7. Impact
    Pivot to Aqara device control

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration CORS policy restriction
Exploitation Conditions

Exploitation requires the victim to be authenticated to the Aqara IAM/SSO gateway (an active session cookie or token at gw-builder.aqara.com) AND to visit attacker-controlled web content in the same browser while that session is valid (UI:R). The attacker does not need credentials against Aqara (PR:N) and operates entirely through the victim's browser using a credentialed cross-origin XHR/fetch; no special Aqara account configuration is required, and the misconfiguration appears to be present in the default cloud deployment. Limiting factors: the victim must be logged in at the moment of visit, must not have third-party cookie blocking or strict SameSite enforcement preventing credentialed cross-origin requests, and the attacker must successfully deliver the malicious page (phishing or watering-hole), which constrains this from being a fully automated mass-exploit primitive.

Impact

The CVSS 8.2 with S:C and C:H is consistent with an SSO-layer CORS bug - confidentiality of cross-service identity data is high, integrity is limited (I:L, since the attacker primarily reads, not forges), and availability is unaffected. AV:N/AC:L/PR:N matches a browser-driven attack with no authentication on the gateway side, while UI:R correctly captures the need for a victim to visit attacker-controlled content. There is no EPSS score, no CISA KEV entry, and no SSVC decision provided, so prioritization rests on the CVSS vector plus the runZero advisory and the linked GitHub PoC. The realistic risk is moderate-to-high for individual Aqara users (credential/token theft enabling device control) but constrained by the requirement that a victim must be coaxed into loading attacker content while authenticated - this is a targeted-phishing class issue rather than a wormable internet-scale exploit, despite the network attack vector. Because this is a cloud-side defect, defenders cannot patch endpoints themselves; the only verifiable signal is the runZero advisory, and whether Aqara has deployed a server-side fix is not stated in the input.

Exploit ScenarioDerived

An attacker hosts a malicious page and lures an Aqara user who is currently logged into the Aqara web portal to visit it (phishing email, malvertising, or a compromised forum post). The page issues a credentialed cross-origin fetch to gw-builder.aqara.com; because the gateway's CORS policy trusts the attacker's origin, the browser hands the authenticated SSO response - potentially including tokens, account identifiers, or linked-device data - back to attacker JavaScript, which exfiltrates it and uses it to pivot to smart-home device control. Public exploit code exists in the linked GitHub repository xn0tsa/theres-no-place-like-home.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 12, 2026

Cross-origin information disclosure in the Aqara IAM/SSO gateway (gw-builder.aqara.com) allows attacker-controlled web origins to read authenticated user data by exploiting a permissive CORS policy that trusts arbitrary domains. The flaw, scored CVSS 8.2 with scope change due to credential exposure crossing the browser/identity-provider trust boundary, affects all users of Aqara's centralized smart-home identity service and can be triggered when a logged-in victim visits an attacker-hosted page. A public GitHub repository (xn0tsa/theres-no-place-like-home) is linked from the advisory, so publicly available exploit code exists, though no CISA KEV listing or EPSS signal is provided.

RemediationAI

No vendor-released patch identified at time of analysis, and because the affected component is a cloud-hosted SSO endpoint operated by Aqara, end users cannot apply a fix directly - monitor https://www.runzero.com/advisories/aqara-iam-sso-cors-cve-2026-50087 and Aqara security communications for confirmation that gw-builder.aqara.com has been reconfigured to enforce a strict allowlist of first-party origins with Access-Control-Allow-Credentials handled correctly. Compensating controls for security-conscious users include signing out of the Aqara web portal when not actively using it (limits the window in which a malicious cross-origin page can read authenticated responses, at the cost of repeated logins), using a dedicated browser profile or container for Aqara sessions to isolate cookies (reduces cross-site exposure but requires user discipline), and blocking gw-builder.aqara.com from non-Aqara browser contexts via extensions such as uMatrix or NoScript (effective but high-friction). Organizations deploying Aqara at scale should consider network egress rules that restrict employee browsers from loading untrusted third-party content while Aqara sessions are active, though this is impractical outside hardened environments.

Affected VersionsENISA

Aqara IAM/SSO Gateway 2026-04-20 <0

Affected Packages

euvd aqara_iam_sso_gateway fix: 0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability sits in the gw-builder.aqara.com endpoint, which is Aqara's IAM/SSO gateway - the OAuth/single-sign-on broker used by Aqara cloud services and mobile apps to authenticate users and issue session tokens for smart-home device control. CWE-942 (Permissive Cross-domain Policy with Untrusted Domains) typically manifests as an Access-Control-Allow-Origin header that reflects the requesting Origin combined with Access-Control-Allow-Credentials: true, or as a wildcard policy that accepts arbitrary subdomains. When this misconfiguration is present on an SSO endpoint that returns tokens, profile data, or device-binding identifiers, any cross-origin script can read responses that should be confined to first-party Aqara web properties, effectively bypassing the same-origin policy that browsers rely on to isolate authenticated sessions. The single affected CPE (cpe:2.3:a:aqara:aqara_iam/sso_gateway) is a hosted cloud service rather than installable software, so all users are simultaneously affected until Aqara remediates server-side.

Know when Cors Misconfiguration 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 (runZero) PRIMARY HIGH
NVD 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 8.2 HIGH

Browser-driven cross-origin attack needs no Aqara credentials (PR:N) but requires victim visit (UI:R); credentialed CORS bypass crosses the SSO trust boundary (S:C) exposing tokens (C:H) with limited write (I:L).

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

Primary rating from Vendor (runZero).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 09, 2026 - 16:37 NVD
HIGH MEDIUM
CVSS changed
Jul 09, 2026 - 16:37 NVD
8.2 (HIGH) 6.1 (MEDIUM)
Patch available
Jun 12, 2026 - 17:01 EUVD

DescriptionNVD

The Aqara IAM/SSO gateway (gw-builder.aqara.com) exhibits a cross-origin request sharing vulnerability, which is an instance of "CWE-942: Permissive Cross-domain Policy with Untrusted Domains," and has an estimated CVSS of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N (8.2 High).

Executive ViewAI

Why It Matters

Aqara's cloud identity gateway (gw-builder.aqara.com) contains a CORS misconfiguration enabling unauthenticated attackers to steal authentication credentials and user data from logged-in Aqara customers. This vulnerability impacts all users relying on Aqara's centralized smart-home identity service, with no vendor patch currently available. Publicly available exploit code significantly elevates attack probability and demands immediate compensating controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) Deploy Web Application Firewall rules restricting CORS policy responses from gw-builder.aqara.com; (2) Enforce mandatory multi-factor authentication on all Aqara service accounts; (3) Implement restrictive Content Security Policy headers preventing cross-origin token access; (4) Enable enhanced logging and alerting on authentication events from Aqara IAM gateway; (5) Restrict network access to gw-builder.aqara.com through IP allowlisting or VPN requirements.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 No
EPSS 0.0%
Patch available Yes
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-61736 CRITICAL POC
9.3 Jul 15

Cross-origin data theft in LightRAG server versions prior to 1.5.4 allows any malicious website to make authenticated, c

CVE-2024-41657 HIGH POC
8.8 Aug 20

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.

CVE-2021-34435 HIGH POC
8.8 Sep 01

In Eclipse Theia 0.3.9 to 1.8.1, the "mini-browser" extension allows a user to preview HTML files in an iframe inside th

CVE-2026-84452 HIGH POC
8.6 Sep 02

Unauthenticated cross-origin RCE in Windows ML CLI (winml-cli < 0.4.0) is reachable when a developer runs the `serve` co

CVE-2025-30354 HIGH POC
8.7 Apr 01

Bruno is an open source IDE for exploring and testing APIs. Rated high severity (CVSS 8.7), this vulnerability is no aut

CVE-2024-41659 HIGH POC
8.1 Aug 20

memos is a privacy-first, lightweight note-taking service. Rated high severity (CVSS 8.1), this vulnerability is remotel

CVE-2026-70604 HIGH POC
7.4 Aug 05

Cross-origin read bypass in Electron's custom protocol handler exposes sensitive application data to remote pages via fe

CVE-2026-15966 CRITICAL
9.8 Jul 23

Information disclosure in Progress MOVEit Transfer (all versions before 2025.1.5, and 2026.0.0 before 2026.0.3) stems fr

CVE-2025-61163 CRITICAL
9.8 Aug 26

Sensitive-data exposure in Cohere North AI v1.1.5 stems from the server accepting cross-origin requests without validati

CVE-2024-37131 CRITICAL
9.8 Jun 13

SCG Policy Manager, all versions, contains an overly permissive Cross-Origin Resource Policy (CORP) vulnerability. Rated

CVE-2022-26969 CRITICAL
9.8 Dec 26

In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true. Rated critical severity (CVSS 9

CVE-2022-31736 CRITICAL
9.8 Dec 22

A malicious website could have learned the size of a cross-origin resource that supported Range requests. Rated critical

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