CVE-2026-40452: Apache IoTDB authorization bypass in fastLastQuery REST endpoint

CVE-2026-40452 · Severity: info · Published 2026-07-10

Apache IoTDB, a database designed for managing massive amounts of Internet of Things (IoT) data, contains a security flaw in its REST API. This vulnerability allows an authenticated user to bypass authorization checks and view the most recent data values (last-value data) that they should not have permission to access. This could lead to the unauthorized disclosure of sensitive operational or sensor data.

Technologies: Apache Software Foundation IoTDB. Vendors: Apache Software Foundation.

Quick answers

Is CVE-2026-40452 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40452 being exploited in the wild.
How severe is CVE-2026-40452?
Informational severity, published 10 July 2026.
Which products and versions are affected?
Apache Software Foundation IoTDB 1.3.5 to 1.3.7, 2.0.5 to 2.0.9.
Is there a fix for CVE-2026-40452?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-40452 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-40452?
Check whether you run Apache Software Foundation IoTDB at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An authorization bypass vulnerability exists in Apache IoTDB within the /rest/v2/fastLastQuery endpoint. The flaw is rooted in improper access control (CWE-284) and incorrect authorization (CWE-863) logic. An attacker with valid authentication credentials can exploit this endpoint to retrieve 'last-value' data from time-series records they are not authorized to view. The issue affects versions 1.3.5 through 1.3.7 and 2.0.5 through 2.0.9. Users are advised to upgrade to version 2.0.10 to remediate the vulnerability.

Affected products

  • Apache IoTDB 1.3.5 to 1.3.7, 2.0.5 to 2.0.9

Timeline

  • 2026-07-10: disclosed
  • 2026-07-10: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.