CVE-2026-138085

ThingsBoard Report Service DashboardReportController.java downloadTestReport authorization

Published Nov 28, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
Description
A weakness has been identified in ThingsBoard up to 4.2.2.7/4.3.1.7/4.4.0. The affected element is the function downloadTestReport of the file application/src/main/java/org/thingsboard/server/controller/DashboardReportController.java of the component Report Service. Executing a manipulation of the argument userId can lead to authorization bypass. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 4.2.2.8, 4.3.1.8 and 4.4.1 is sufficient to fix this issue. This patch is called 6d972420afead072ba094963592c02ca40b9445c. The affected component should be upgraded.

Analysis

AI-generated

Technical impact

A weakness in the downloadTestReport method of ThingsBoard’s Report Service allows an attacker to manipulate the userId argument and bypass authorization checks, thereby downloading test reports that belong to other users. This flaw permits a non‑privileged user to read potentially sensitive analytical data, violating confidentiality of tenant data. The vulnerability is rooted in improper access control (CWE‑285) and inadequate handling of user‑supplied identifiers (CWE‑639).

Affected Systems

ThingsBoard versions up to 4.2.2.7, 4.3.1.7, and 4.4.0 are impacted. Upgrading to 4.2.2.8, 4.3.1.8, or 4.4.1—which incorporates commit 6d972420afead072ba094963592c02ca40b9445c—removes the flaw.

Risk and Exploitability

The vulnerability can be exploited remotely by sending a crafted request that includes a modified userId. A public exploit reference exists, indicating that attackers have demonstrated the attack. With a CVSS score of 5.3, the severity is moderate; the EPSS score is not available, and the flaw is not listed in the CISA KEV catalog. The attack requires only network access to the API endpoint and does not depend on any local privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the ThingsBoard installation to version 4.2.2.8, 4.3.1.8, or 4.4.1 to apply the security patch
  • If an upgrade is delayed, temporarily disable or restrict the dashboard report download API endpoint until the fix can be applied
  • Implement logging and monitoring for anomalous report download activity to detect potential exploitation attempts

Generated by OpenCVE AI on November 28, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A weakness has been identified in ThingsBoard up to 4.2.2.7/4.3.1.7/4.4.0. The affected element is the function downloadTestReport of the file application/src/main/java/org/thingsboard/server/controller/DashboardReportController.java of the component Report Service. Executing a manipulation of the argument userId can lead to authorization bypass. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 4.2.2.8, 4.3.1.8 and 4.4.1 is sufficient to fix this issue. This patch is called 6d972420afead072ba094963592c02ca40b9445c. The affected component should be upgraded.
Title ThingsBoard Report Service DashboardReportController.java downloadTestReport authorization
First Time appeared Thingsboard
Thingsboard thingsboard
Weaknesses CWE-285
CWE-639
CPEs cpe:2.3:a:thingsboard:thingsboard:*:*:*:*:*:*:*:*
Vendors & Products Thingsboard
Thingsboard thingsboard
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 28, 2026, 9:00 PM
Reserved
Nov 27, 2026, 8:18 PM
Status
Deferred
Published
Nov 28, 2026, 9:17 PM
Modified
Nov 28, 2026, 9:17 PM