CVE-2026-138085
ThingsBoard Report Service DashboardReportController.java downloadTestReport authorization
AI summary AI generated
An attacker can bypass authorization by manipulating the userId argument in the downloadTestReport function of ThingsBoard's Report Service, remotely.
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running ThingsBoard 4.0; 4.1; 4.2; 4.2.2.0; 4.2.2.1; 4.2.2.2; 4.2.2.3; 4.2.2.4; 4.2.2.5; 4.2.2.6; …
Vulnerability facts
- Affected
- ThingsBoard 4.0; 4.1; 4.2; 4.2.2.0; 4.2.2.1; 4.2.2.2; 4.2.2.3; 4.2.2.4; 4.2.2.5; 4.2.2.6; …
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 5.3 (v4.0, CNA)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:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Proof of concept
- CWE
- CWE-639, CWE-285
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ThingsBoard | 4.0; 4.1; 4.2; 4.2.2.0; 4.2.2.1; 4.2.2.2; 4.2.2.3; 4.2.2.4; 4.2.2.5; 4.2.2.6; … | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Affected: thingsboard up to 4.2.2.7/4.3.1.7/4.4.0
ThingsBoard up to 4.2.2.7/4.3.1.7/4.4.0
- Fixed: thingsboard 4.2.2.8
Upgrading to version 4.2.2.8, 4.3.1.8 and 4.4.1 is sufficient to fix this issue.
- Fixed: thingsboard 4.3.1.8
Upgrading to version 4.2.2.8, 4.3.1.8 and 4.4.1 is sufficient to fix this issue.
- Fixed: thingsboard 4.4.1
Upgrading to version 4.2.2.8, 4.3.1.8 and 4.4.1 is sufficient to fix this issue.
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-138085. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-138085.md Affected: ThingsBoard 4.0; 4.1; 4.2; 4.2.2.0; 4.2.2.1; 4.2.2.2; 4.2.2.3; 4.2.2.4; 4.2.2.5; 4.2.2.6; … Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for ThingsBoard: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Patches
Exploits and PoCs
Articles
FAQ
Is CVE-2026-138085 being exploited?
There is no confirmed exploitation: CVE-2026-138085 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available.
How serious is CVE-2026-138085?
Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-138085?
ThingsBoard 4.0; 4.1; 4.2; 4.2.2.0; 4.2.2.1; 4.2.2.2; 4.2.2.3; 4.2.2.4; 4.2.2.5; 4.2.2.6; ….
Is there a fix for CVE-2026-138085?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-138085?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.