CVE-2026-40452
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIncorrect Authorization, Improper Access Control vulnerability in Apache IoTDB. Authorization bypass in /rest/v2/fastLastQuery exposes last-value data to unauthorized authenticated users. This issue affects Apache IoTDB: from 1.3.5 before 1.3.8, from 2.0.5 before 2.0.10. Users are recommended to upgrade to version 2.0.10, which fixes the issue.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is an authorization bypass vulnerability in Apache IoTDB's REST API endpoint /rest/v2/fastLastQuery. The improper access control allows authenticated users to retrieve last-value data from time series they are not authorized to access, exposing sensitive data to unauthorized authenticated users.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify IoTDB installation and versionCheck for IoTDB installation directory or running process. Common paths include /opt/iotdb, /usr/local/iotdb, or check running Java processes with: ps aux | grep iotdb. Look for version in conf/iotdb-common.properties or startup logs.Affected if The installed version is below 1.3.8 (1.x branch) or below 2.0.10 (2.x branch)
-
Verify REST API service is enabledCheck iotdb-config.properties or iotdb-common.properties for property 'iotdb.rpc.enable' set to true, or confirm port 6667 (default REST API) is listening with: netstat -tlnp | grep 6667 or ss -tlnp | grep 6667.Affected if REST API is enabled and port 6667 is open
-
Confirm authorization is configuredCheck if authentication is enabled in conf/iotdb-common.properties: look for 'iotdb.auth.enforce=true' or similar authorization enforcement settings. Also verify users have been configured.Affected if Authorization is configured but the /rest/v2/fastLastQuery endpoint bypasses it
-
Check endpoint exposureInspect REST module configuration in conf/iotdb-rest.properties or equivalent. Verify the /rest/v2/fastLastQuery endpoint is available. Test with curl: curl -u <user> http://localhost:6667/rest/v2/fastLastQuery -X POST -d '{"paths":["/unauthorized/series"]}'Affected if The endpoint responds and returns data without proper authorization checks for the requested series
A user is affected if they run Apache IoTDB versions prior to 1.3.8 or 2.0.10, have the REST API enabled, and the /rest/v2/fastLastQuery endpoint is accessible to authenticated users who should not have access to certain time series data.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Apache IoTDB to version 2.0.10 (or 1.3.8 for the 1.x branch) which contains the proper authorization fix for the /rest/v2/fastLastQuery endpoint.
2.0.10 (or 1.3.8 for 1.x branch)
- Download Apache IoTDB version 2.0.10 (or 1.3.8 for the 1.x branch) from the official Apache IoTDB distribution repository
- Stop the currently running IoTDB instance
- Backup the existing IoTDB installation directory and any important data
- Extract the new version to replace the existing installation
- Migrate any necessary configuration files from the old version to the new version if required
- Start the IoTDB service with the new version
- Verify the /rest/v2/fastLastQuery endpoint now properly enforces authorization
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation4.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,504.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-40452 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-40452 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data