CVE-2026-138085: ThingsBoard Report Service DashboardReportController.java downloadTestReport authorization
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.2.2.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.1.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.4.1
Event History
Frequently Asked Questions
Which deployments are affected?
ThingsBoard deployments using the Report Service are affected through versions 4.2.2.7, 4.3.1.7, and 4.4.0. The vulnerable code is the downloadTestReport function in DashboardReportController.java.
What does an attacker need to exploit this issue?
The attack can be performed remotely and requires low privileges. An attacker manipulates the userId argument to bypass authorization; no user interaction is required.
Is public exploit code available?
Yes. The exploit has been made public, increasing the likelihood of attempted attacks against exposed affected instances.
What versions fix the issue?
Upgrade to ThingsBoard version 4.2.2.8, 4.3.1.8, or 4.4.1, as appropriate for the deployed release branch. The fix is identified as patch 6d972420afead072ba094963592c02ca40b9445c.