CVE-2026-40005: Apache IoTDB path traversal in unsafe API

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

Apache IoTDB, a database designed for managing large amounts of time-series data, contains a security flaw that allows an attacker to write files to unauthorized locations on the server. By exploiting an unsafe programming interface, a malicious actor could place files anywhere the database process has permission to write. This could lead to a complete system takeover, data corruption, or the disruption of database operations.

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

Quick answers

Is CVE-2026-40005 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40005 being exploited in the wild.
How severe is CVE-2026-40005?
Informational severity, published 10 July 2026.
Which products and versions are affected?
Apache Software Foundation IoTDB 1.0.0 to 2.0.9.
Is there a fix for CVE-2026-40005?
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-40005 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-40005?
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

A path traversal vulnerability (CWE-22) exists in Apache IoTDB due to improper limitation of pathnames within an unsafe API. An attacker can exploit this by providing manipulated file paths that bypass intended directory restrictions. If successful, the attacker can write arbitrary files to any location on the filesystem where the IoTDB process has write permissions. This could potentially lead to remote code execution if the attacker can overwrite executable files or configuration settings. The issue is fixed in version 2.0.10.

Affected products

  • Apache IoTDB 1.0.0 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.