Authorization-code theft via suffix-matched redirect URI
Published Jun 12, 2026 · Updated Jun 12, 2026
OAuth redirect validation bypass in Aqara Cloud OAuth Authorization Endpoint allows remote attackers to steal authorization codes. The /oauth/authorize handler accepts any redirect_uri whose hostname string ends in aqara.com, so aqara.com.evil.example.com passes and receives the code. A victim must grant consent through a valid client integration; the stolen code enables access-token issuance and account takeover.
Summary
What happened
OAuth redirect validation bypass in Aqara Cloud OAuth Authorization Endpoint allows remote attackers to steal authorization codes. The /oauth/authorize handler accepts any redirect_uri whose hostname string ends in aqara.com, so aqara.com.evil.example.com passes and receives the code. A victim must grant consent through a valid client integration; the stolen code enables access-token issuance and account takeover.
The record
- CVE
- CVE-2026-50090
- Published
- Jun 12, 2026
- Updated
- Jun 12, 2026
- Vendor
- Aqara
- Product
- Aqara Cloud OAuth Authorization Endpoint
- Classifications
- CWE-1289, T1528
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 12, 2026CVE publishedPublication date reported by the CVE source.
- Jun 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2026-04-20 <0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Aqara OAuth Redirect Suffix Match Reproductionfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo