# CVE-2025-64152: Apache IoTDB path traversal vulnerability

Source: https://junglewise.ai/threats/cve-2025-64152-apache-iotdb-path-traversal-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-26. Updated: 2026-06-26  
License: CC BY 4.0 with a link back

CVE-2025-64152 · Severity: critical · CVSS 9.1 · Published 2026-06-26

Apache IoTDB, a high-performance database designed for Internet of Things (IoT) data, contains a security flaw that could allow an attacker to access files outside of the intended directory. This could lead to the exposure of sensitive system information or configuration files, potentially compromising the integrity of the database server. Organizations using affected versions should upgrade to the latest releases to prevent unauthorized file access.

Technologies: [Apache Software Foundation IoTDB](https://junglewise.ai/threats/technologies/iotdb), [org.apache.iotdb:iotdb-server (Maven)](https://junglewise.ai/threats/technologies/org-apache-iotdb-iotdb-server). Vendors: [Apache Software Foundation](https://junglewise.ai/threats/vendors/apache-software-foundation), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-64152 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-64152 being exploited in the wild.

**How severe is CVE-2025-64152?** Critical severity, with a CVSS score of 9.1, published 26 June 2026.

**Which products and versions are affected?** Apache Software Foundation IoTDB 1.0.0 to 1.3.5, 2.0.0 to 2.0.6; org.apache.iotdb:iotdb-server (Maven) >= 1.0.0, < 1.3.6, ECOSYSTEM:introduced=1.0.0,fixed=1.3.6.

**Is there a fix for CVE-2025-64152?** Yes. org.apache.iotdb:iotdb-server (Maven): upgrade to 1.3.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-64152 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-64152?** Check whether you run Apache Software Foundation IoTDB or org.apache.iotdb:iotdb-server (Maven) 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.

## How to fix

- org.apache.iotdb:iotdb-server (Maven): upgrade to 1.3.6 or later

  ```sh
  # set org.apache.iotdb:iotdb-server to 1.3.6 in your pom.xml or build.gradle
  ```


## Technical details

A path traversal vulnerability (CWE-22) exists in Apache IoTDB due to improper limitation of pathnames to a restricted directory. An attacker could potentially exploit this by providing specially crafted input containing directory traversal sequences (e.g., '../') to access sensitive files on the host file system. The vulnerability affects versions 1.0.0 through 1.3.5 and 2.0.0 through 2.0.6. Users are advised to upgrade to versions 1.3.6 or 2.0.7, which implement proper path validation and sanitization.

## Affected products

- Apache IoTDB 1.0.0 to 1.3.5, 2.0.0 to 2.0.6

## Identifiers

- CVE-2025-64152
- GHSA-h548-jhj8-q85h

## Timeline

- 2026-06-26: disclosed
- 2026-06-26: advisory

## References

- [https://lists.apache.org/thread/sjms84rlt4g78fwmjcowxmtjp1q8b9q4](https://lists.apache.org/thread/sjms84rlt4g78fwmjcowxmtjp1q8b9q4)

## Related threats

- [Apache IoTDB authorization bypass in fastLastQuery REST endpoint](https://junglewise.ai/threats/cve-2026-40452-apache-iotdb-authorization-bypass-in-fastlastquery-rest-endpoint)
- [Apache IoTDB privilege escalation via account renaming](https://junglewise.ai/threats/cve-2026-40009-apache-iotdb-privilege-escalation-via-account-renaming)
- [Apache IoTDB unsafe reflection in pipe processor](https://junglewise.ai/threats/cve-2026-40008-apache-iotdb-unsafe-reflection-in-pipe-processor)
- [Apache IoTDB uncontrolled recursion in AirGap receiver](https://junglewise.ai/threats/cve-2026-40007-apache-iotdb-uncontrolled-recursion-in-airgap-receiver)
- [Apache IoTDB resource exhaustion in AirGap pipe receiver](https://junglewise.ai/threats/cve-2026-40006-apache-iotdb-resource-exhaustion-in-airgap-pipe-receiver)
