{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "last_affected": "4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.1"
                  },
                  {
                    "last_affected": "4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.2"
                  },
                  {
                    "last_affected": "4.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.2.2.1"
                  },
                  {
                    "last_affected": "4.2.2.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.2.2.2"
                  },
                  {
                    "last_affected": "4.2.2.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.2.2.3"
                  },
                  {
                    "last_affected": "4.2.2.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.2.2.4"
                  },
                  {
                    "last_affected": "4.2.2.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.2.2.5"
                  },
                  {
                    "last_affected": "4.2.2.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.2.2.6"
                  },
                  {
                    "last_affected": "4.2.2.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.2.2.7"
                  },
                  {
                    "last_affected": "4.2.2.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.3"
                  },
                  {
                    "last_affected": "4.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.3.1.1"
                  },
                  {
                    "last_affected": "4.3.1.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.3.1.2"
                  },
                  {
                    "last_affected": "4.3.1.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.3.1.3"
                  },
                  {
                    "last_affected": "4.3.1.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.3.1.4"
                  },
                  {
                    "last_affected": "4.3.1.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.3.1.5"
                  },
                  {
                    "last_affected": "4.3.1.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.3.1.6"
                  },
                  {
                    "last_affected": "4.3.1.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.3.1.7"
                  },
                  {
                    "last_affected": "4.3.1.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "6d972420afead072ba094963592c02ca40b9445c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.4.1",
                "range": [
                  {
                    "fixed": "cbdf47ff8d7a03c87838525c2e0abad4164e0503"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "89b2b68c509daed1af4085dabf4537a70d4518de"
            },
            {
              "last_affected": "6590991200068ad8c3a6f4ebdba37272df2e0b1a"
            },
            {
              "fixed": "6d972420afead072ba094963592c02ca40b9445c"
            },
            {
              "fixed": "cbdf47ff8d7a03c87838525c2e0abad4164e0503"
            }
          ],
          "repo": "https://github.com/thingsboard/thingsboard",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.0",
        "4.1",
        "4.2",
        "4.2.2.1",
        "4.2.2.2",
        "4.2.2.3",
        "4.2.2.4",
        "4.2.2.5",
        "4.2.2.6",
        "4.2.2.7",
        "4.3",
        "4.3.1.1",
        "4.3.1.2",
        "4.3.1.3",
        "4.3.1.4",
        "4.3.1.5",
        "4.3.1.6",
        "4.3.1.7"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-285",
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138085.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "4.2.2.0"
              },
              {
                "last_affected": "4.2.2.0"
              },
              {
                "introduced": "4.3.1.0"
              },
              {
                "last_affected": "4.3.1.0"
              },
              {
                "introduced": "4.4.0"
              },
              {
                "last_affected": "4.4.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-138085",
  "modified": "2026-11-28T22:45:31.400066759Z",
  "published": "2026-11-28T21:00:47.716Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138085.json"
    },
    {
      "type": "WEB",
      "url": "https://github.com/thingsboard/thingsboard/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/thingsboard/thingsboard/commit/6d972420afead072ba094963592c02ca40b9445c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/thingsboard/thingsboard/releases/tag/v4.4.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138085"
    },
    {
      "type": "EVIDENCE",
      "url": "https://rcn42oazznuk.feishu.cn/file/HB60bv8NnoBtnbx1mFBcPi0Hn5e"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-138085"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1071345"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/445001"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/445001/cti"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ThingsBoard Report Service DashboardReportController.java downloadTestReport authorization"
}