CVE-2026-36537

ThingsBoard OAuth 2.0 Authentication Bypass and Account Takeover

Published Jun 15, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
ThingsBoard v4.3.0.1 is vulnerable to an authentication bypass during the OAuth authorization code exchange. The application improperly trusts user-supplied identity data within the user parameter of the /login/oauth2/code/ endpoint. By manipulating the email address in this JSON object, a remote attacker can bypass authentication and gain full access to any existing user account on the platform without possessing the target user's credentials. This results in a complete account takeover.

Analysis

AI-generated

Technical impact

ThingsBoard versions up to 4.3.0.1 allow a remote attacker to bypass authentication during the OAuth authorization code exchange. The application improperly trusts user‑supplied identity data within the user parameter of the /login/oauth2/code/ endpoint. By manipulating the email address in the JSON payload, an attacker can impersonate any existing user and obtain full access to that account. This vulnerability results in a complete account takeover, compromising confidentiality, integrity, and availability of the platform, while affecting any user account whose credentials are not protected by additional safeguards.

Affected Systems

The affected product is ThingsBoard, specifically version 4.3.0.1. No additional vendor or product variants are listed.

Risk and Exploitability

The CVSS score is 9.8, indicating a critical severity, while the EPSS score is less than 1%, suggesting a low probability of exploitation observed in the wild. The vulnerability is not currently listed in the CISA KEV catalog. The likely attack vector is remote, via the OAuth 2.0 login endpoint. An attacker only needs to craft a modified JSON request containing a forged email address; the application will accept it as a legitimate user. With no authentication or checks on the supplied identity data, the attacker immediately gains all privileges associated with the target account.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ThingsBoard to a version where the OAuth authorization code exchange flaw is corrected
  • Restrict or disable the /login/oauth2/code/ endpoint to trusted IP addresses or networks until the patch is applied
  • Monitor OAuth traffic for anomalous user parameters and review account activity logs for unauthorized access

Generated by OpenCVE AI on June 17, 2026 at 23:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title ThingsBoard OAuth 2.0 Authentication Bypass and Account Takeover
Type Values Removed Values Added
Weaknesses CWE-290
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Thingsboard
Thingsboard thingsboard
Vendors & Products Thingsboard
Thingsboard thingsboard
Type Values Removed Values Added
Description ThingsBoard v4.3.0.1 is vulnerable to an authentication bypass during the OAuth authorization code exchange. The application improperly trusts user-supplied identity data within the user parameter of the /login/oauth2/code/ endpoint. By manipulating the email address in this JSON object, a remote attacker can bypass authentication and gain full access to any existing user account on the platform without possessing the target user's credentials. This results in a complete account takeover.
References
Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 16, 2026, 1:19 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Jun 15, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:41 AM