☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Aqara logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.1 🐛 CWE-601
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-50089

CVE-2026-50089 Open Redirect in Aqara
📅 PUBLISHED: 2026-06-12 16:16 UTC 🔄 UPDATED: 2026-09-23 20:28 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.20%
👁️
0.20% probability
4.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1566
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: China License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-50089 is an open redirect vulnerability (CWE-601) in the Aqara IAM/SSO Gateway hosted at gw-builder.aqara.com. An unauthenticated attacker can craft a URL that, when clicked by a victim, redirects them to an arbitrary external site. This flaw is rated CVSS 6.1 (Medium) due to the requirement for user interaction and the potential for phishing attacks. The vulnerability remains unpatched as of the latest intelligence, with no official fix or workaround published by Aqara. The EPSS score is 0.0%, indicating low current exploitation activity, but the public nature of the flaw makes it a viable target for social engineering campaigns.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low – No special conditions required.
  • Privileges Required (PR): None – No authentication needed.
  • User Interaction (UI): Required – The victim must click a crafted link.
  • Scope (SC): Changed – The redirect can lead to a different security domain.
  • Confidentiality (C): Low – Limited information disclosure possible via phishing.
  • Integrity (I): Low – The redirect can alter the user’s intended destination.
  • Availability (A): None – No impact on service availability.

Threat Level: Medium. While the CVSS score is moderate, the open redirect can be weaponized in phishing campaigns to steal credentials or deliver malware, especially given the trusted Aqara domain.

Deep Dive & Mechanics

The Aqara IAM/SSO Gateway at gw-builder.aqara.com handles authentication and session management for Aqara’s ecosystem. The open redirect occurs when the application accepts a user-controlled parameter (likely redirect_uri, returnUrl, or similar) without proper validation. An attacker can craft a URL such as:

https://gw-builder.aqara.com/login?redirect_uri=https://evil.com/phish

When a victim clicks this link, they are first taken to the legitimate Aqara login page, but after authentication (or even without it, depending on the endpoint), the application redirects the browser to the attacker-controlled site. This bypasses URL filters that trust the aqara.com domain and can be used to harvest credentials or install malware.

The vulnerability is a classic instance of CWE-601, where the application fails to sanitize or whitelist redirect destinations. No authentication is required to trigger the redirect, and the attack complexity is low.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code pattern is inferred. A typical vulnerable implementation might look like:

# Vulnerable Python Flask example
@app.route('/login')
def login():
    redirect_url = request.args.get('redirect_uri')
    # No validation of redirect_url
    return redirect(redirect_url)

A patched version would validate the redirect against a whitelist:

# Patched version
ALLOWED_REDIRECTS = ['https://account.aqara.com', 'https://home.aqara.com']

@app.route('/login')
def login():
    redirect_url = request.args.get('redirect_uri')
    if redirect_url in ALLOWED_REDIRECTS:
        return redirect(redirect_url)
    else:
        return redirect('https://account.aqara.com')

Without an official patch, users must rely on external mitigations.

Exploitation & Lab Setup

Red Team

Objective: Demonstrate the open redirect for phishing.

Lab Setup:

  1. Set up a controlled environment with a domain you own (e.g., evil.com).
  2. Host a phishing page that mimics the Aqara login form.
  3. Craft the exploit URL:
https://gw-builder.aqara.com/login?redirect_uri=https://evil.com/phish
  1. Send the link to a test victim via email or social media.
  2. When the victim clicks, they are redirected to your phishing page after interacting with the legitimate Aqara site.

Proof of Concept (PoC):

# Simple curl test to verify redirect
curl -v "https://gw-builder.aqara.com/login?redirect_uri=https://evil.com"

If the response includes a Location header pointing to evil.com, the vulnerability is confirmed.

Blue Team

Detection:

  • Monitor for unusual redirect_uri parameters in logs.
  • Block outbound traffic to known malicious domains.
  • Use web application firewalls (WAF) to filter redirect parameters.

Mitigation:

  • Implement a strict whitelist of allowed redirect destinations.
  • Use relative paths instead of full URLs for redirects.
  • Add CSRF tokens to redirect parameters.

Indicators of Compromise (IOCs)

  • URL Pattern: https://gw-builder.aqara.com/*redirect_uri=*
  • Suspicious Domains: Any domain not in Aqara’s whitelist (e.g., evil.com, phish.net)
  • Log Entries: HTTP 302 responses from gw-builder.aqara.com with external Location headers.
  • Network Traffic: Outbound connections to untrusted domains shortly after a visit to gw-builder.aqara.com.

Detection Engineering

YARA Rule

rule CVE_2026_50089_Open_Redirect {
    meta:
        description = "Detects open redirect attempts targeting Aqara IAM Gateway"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2026-50089"
    strings:
        $redirect_param = /redirect_uri=https?:\/\/[^a]/
        $host = "gw-builder.aqara.com"
    condition:
        $host and $redirect_param
}

Sigma Rule

title: Aqara IAM Gateway Open Redirect Attempt
id: 8f3c2a1b-4d5e-6f7a-8b9c-0d1e2f3a4b5c
status: experimental
description: Detects HTTP requests to gw-builder.aqara.com with suspicious redirect_uri parameters
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-host: "gw-builder.aqara.com"
        cs-uri-query|contains: "redirect_uri="
    filter:
        cs-uri-query|contains:
            - "redirect_uri=https://account.aqara.com"
            - "redirect_uri=https://home.aqara.com"
    condition: selection and not filter
falsepositives:
    - Legitimate redirects to whitelisted domains
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2026-50089 Aqara IAM Gateway Open Redirect";
    flow:to_server,established;
    content:"gw-builder.aqara.com"; http_host;
    content:"redirect_uri="; http_uri;
    pcre:"/redirect_uri=https?:\/\/[^a]/";
    sid:1000001;
    rev:1;
    priority:2;
)

Remediation & Mitigation

  1. Vendor Action: Aqara must implement a whitelist of allowed redirect destinations and validate all redirect parameters server-side.
  2. User Awareness: Educate users not to click on suspicious links, even if they appear to come from Aqara.
  3. WAF Rules: Deploy WAF rules to block requests with redirect_uri pointing to external domains not in the whitelist.
  4. Monitoring: Enable logging and alerting for unusual redirect patterns.
  5. Temporary Workaround: If possible, disable the redirect functionality or use a reverse proxy to filter requests.

Valters IT
DevSecOps & Cyber Threat Intelligence

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-50089/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.