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.