Skip to main content

Apache IoTDB CVE-2026-40009

| EUVDEUVD-2026-42837 MEDIUM
Improper Privilege Management (CWE-269)
2026-07-10 apache GHSA-hmrq-mg25-fh98
6.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege account
  2. Delivery
    Invoke self user-rename operation
  3. Exploit
    Rename account to __internal_auditor
  4. Execution
    Inherit reserved auditor authority
  5. Impact
    Gain full tree-path access to all data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated Apache IoTDB account on a server running an affected version (2.0.8 or 2.0.9) and the ability to invoke the user self-rename functionality; the concrete trigger is renaming one's own account to the reserved identity '__internal_auditor', which the system fails to protect. Limiting factors: the attacker must already possess working credentials (no anonymous/unauthenticated path is described), the target must be an unpatched 2.0.8-2.0.9 instance, and deployments that heavily restrict account creation or user-management privileges shrink the population of users able to perform the rename. There is no user-interaction or platform-specific dependency beyond the affected version range.

Impact

No CVSS vector, EPSS score, KEV entry, or POC was provided, so quantitative signals are absent and the assessment relies on the description and CWE. The prerequisite of an existing authenticated account meaningfully limits blast radius - this is a vertical privilege-escalation primitive, not an unauthenticated network compromise - but the payoff is severe: full tree-path access effectively defeats the entire per-user authorization model, exposing and potentially altering all time-series data. The mechanism (renaming to a known fixed reserved string) is trivially low-complexity and deterministic, so any actor with even minimal account access can reliably achieve escalation. Absent EPSS/KEV data, real-world exploitation likelihood is unquantified; treat this as a high-impact insider/post-authentication risk that is straightforward to weaponize once any account is obtained, rather than a mass-scanning internet threat. Because CVSS is N/A in the input, authentication qualifiers here are drawn from the explicit description ('Authenticated users'), not from a PR metric.

Exploit ScenarioDerived

An attacker who holds any legitimate low-privilege IoTDB account - for example a contractor, a compromised application service account, or a curious internal user - issues a user-rename operation changing their own username to '__internal_auditor'. The system then treats them as the reserved auditor principal, granting full tree-path access to read and manipulate all time-series data across the database. No public exploit code is known, but the technique requires only a single documented rename command and no memory corruption or special tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 10, 2026

Privilege escalation in Apache IoTDB 2.0.8 through 2.0.9 allows any authenticated low-privilege user to rename their own account to the reserved '__internal_auditor' identity and thereby inherit full tree-path access across all stored time-series data. The flaw stems from the system trusting a reserved auditor username without protecting it from ordinary user-driven renames, so a normal database user can self-promote to auditor-level authority. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV; it was reported and fixed by the Apache project in 2.0.10.

RemediationAI

Vendor-released patch: Apache IoTDB 2.0.10 - upgrade all 2.0.8 and 2.0.9 deployments to 2.0.10 or later, which fixes the reserved-name handling. Until the upgrade can be scheduled, reduce exposure by tightly restricting who can obtain authenticated accounts and by monitoring or auditing user-rename operations for any account attempting to take the '__internal_auditor' name; treat such a rename as a security event. Enforce least-privilege account provisioning and network-restrict the IoTDB service to trusted operators so the pool of potential attackers with valid credentials stays minimal - the trade-off is added administrative overhead and no guarantee of full protection, since these are compensating controls rather than a code fix. The authoritative advisory is https://lists.apache.org/thread/65hh7dh28rcxlzdzwdpt630321tr8b61.

Affected VersionsENISA

Apache IoTDB 2.0.8 <2.0.10

Affected Packages

euvd apache_iotdb fix: 2.0.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache IoTDB is an open-source time-series database purpose-built for IoT and industrial telemetry workloads, organizing data hierarchically along storage groups and measurement 'tree paths' with a role/user permission model layered on top. The vulnerability is a CWE-269 Improper Privilege Management issue compounded by Improper Access Control: the system reserves a special principal named '__internal_auditor' that carries broad tree-path access, but the user-management logic fails to forbid a regular authenticated user from renaming their own account to that reserved name. Because access decisions key off the username/identity rather than an immutable internal role binding, adopting the reserved name grants the escalated authority. The single affected CPE is cpe:2.3:a:apache_software_foundation:apache_iotdb, confirming the Apache IoTDB server as the sole impacted product.

Know when Apache Iotdb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 6.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 8.8 HIGH

Network-reachable database service exploited by an authenticated low-privilege user (PR:L) via a deterministic rename (AC:L, no UI); escalation to full tree-path access yields high confidentiality, integrity, and availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jul 10, 2026 - 09:16 EUVD

DescriptionCVE.org

Improper Privilege Management, Improper Access Control vulnerability in Apache IoTDB. Authenticated users can escalate to full tree-path access by renaming themselves to __internal_auditor.

This issue affects Apache IoTDB: from 2.0.8 before 2.0.10.

Users are recommended to upgrade to version 2.0.10, which fixes the issue.

Executive ViewAI

Why It Matters

Apache IoTDB 2.0.8-2.0.9 contains a privilege escalation flaw enabling any database user to obtain full administrative access and view all time-series data by renaming their account; no public exploit identified. Organizations face complete data confidentiality breach risk from any authenticated user.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche Apache time-series database for IoT/industrial telemetry
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

CVE-2026-40008 CRITICAL
9.8 Jul 10

Unsafe reflection in Apache IoTDB's pipe processor lets a user-supplied fully qualified Java class name be loaded and in

CVE-2026-28564 CRITICAL
9.8 Jul 10

Authentication bypass via capture-replay in Apache IoTDB (1.0.0 through 2.0.9) lets attackers reuse stale credentials ag

CVE-2026-24014 CRITICAL
9.8 Jul 06

Arbitrary file write in Apache IoTDB DataNode (versions 1.3.3 up to but not including 2.0.8) allows attackers who can re

CVE-2026-40005 CRITICAL
9.1 Jul 10

Arbitrary file write in Apache IoTDB (versions 1.0.0 through 2.0.9) lets remote attackers plant files anywhere the IoTDB

CVE-2026-44630 HIGH
7.5 Aug 10

Denial of service in Apache IoTDB's Thrift-based RPC service allows remote unauthenticated attackers to crash the databa

CVE-2026-40006 HIGH
7.5 Jul 10

Unauthenticated denial of service in Apache IoTDB (1.0.0 through 2.0.9) allows remote attackers to crash or degrade the

CVE-2026-24012 HIGH
7.5 Jul 06

Denial of service in Apache IoTDB versions 1.3.3 through 2.0.7 lets remote attackers crash the DataNode process by submi

CVE-2026-40452 HIGH
7.5 Jul 10

Authorization bypass in Apache IoTDB's REST API endpoint /rest/v2/fastLastQuery allows authenticated users to access las

CVE-2026-40007 HIGH
7.5 Jul 10

Denial of service in Apache IoTDB versions 1.0.0 up to (but not including) 2.0.10 lets an unauthenticated network attack

CVE-2026-24013 CRITICAL
9.1 Jul 06

Authentication bypass via sessionId spoofing in Apache IoTDB (1.3.3 through versions before 2.0.8) lets a remote, unauth

CVE-2025-64152 CRITICAL
9.1 Jun 26

Path traversal in Apache IoTDB (1.0.0 before 1.3.6 and 2.0.0 before 2.0.7) allows remote attackers to read and write fil

CVE-2025-55017 CRITICAL
9.1 Jun 26

Path traversal in Apache IoTDB (versions 1.0.0–1.3.5 and 2.0.0–2.0.5) lets remote unauthenticated attackers reference fi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy