CVE-2025-48459: Apache IoTDB Deserialization Of Untrusted Data Vulnerability

CRITICAL
Advisory Identifier: GHSA-776q-jw43-fhjx
CVSS 5.3
CWE-502
Published
Advisory Summary

CVE-2025-48459 is a CRITICAL (CVSS 5.3) deserialization of untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Apache IoTDB libraries in the Maven ecosystem. The issue involves deserialization of untrusted data. Remediation is available by upgrading affected packages to version 2.0.5.

CVE-2025-48459 at a Glance

CVE Identifier CVE-2025-48459
GHSA Identifier GHSA-776q-jw43-fhjx
Severity CRITICAL
CVSS v3.1 Base Score 5.3
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Apache IoTDB
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-48459

To remediate this vulnerability, upgrade all affected Apache IoTDB dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.iotdb:iotdb-confignode fixed: 2.0.5
<dependency>
    <groupId>org.apache.iotdb</groupId>
    <artifactId>iotdb-confignode</artifactId>
    <version>2.0.5</version>
</dependency>
apache-iotdb fixed: 2.0.5
pip install apache-iotdb>=2.0.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.iotdb

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-48459, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.iotdb

Analyze the terminal output to locate any version of Apache IoTDB in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.5), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.iotdb command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Apache IoTDB, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Apache IoTDB deserializes data from external inputs without sufficient validation, allowing attacker-controlled serialized objects to be processed. In environments where a compatible gadget chain is reachable, this can be abused to execute arbitrary code or alter server state; at minimum it enables high-impact integrity and confidentiality compromise on the IoTDB process. ### Affected Apache IoTDB **from 1.0.0 before 2.0.5**. ### Remediation Upgrade to **2.0.5**, which addresses the flaw. If immediate upgrade is not possible, restrict exposure of IoTDB endpoints to trusted networks and disable or sanitize any feature paths that accept serialized payloads. These mitigations are defense-in-depth only; upgrading to 2.0.5 is the definitive fix.

CVE-2025-48459 Affected Apache IoTDB Versions

2 component(s)
Fixed Versions:
2.0.5
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.iotdb:iotdb-confignode
Maven
≥ 1.0.0
< 2.0.5
2.0.5
apache-iotdb
PyPI
≥ 1.0.0
< 2.0.5
2.0.5

References

Frequently Asked Questions

What is CVE-2025-48459?
CVE-2025-48459 is a security vulnerability in Apache IoTDB involving Deserialization of untrusted Data under CWE-502: Deserialization of Untrusted Data.
Which Apache IoTDB versions are affected?
Affected versions include releases prior to 2.0.5 across affected packages: org.apache.iotdb:iotdb-confignode, apache-iotdb.
What version fixes CVE-2025-48459?
Upgrading to 2.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is iotdb-confignode affected?
Yes, org.apache.iotdb:iotdb-confignode is affected in releases prior to 2.0.5. Upgrade your dependency to 2.0.5 or later.
Is apache-iotdb affected?
Yes, apache-iotdb is affected in releases prior to 2.0.5. Upgrade your dependency to 2.0.5 or later.
What is the CVSS score of CVE-2025-48459?
CVE-2025-48459 has a CVSS v3.1 base score of 5.3 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-48459?
CVE-2025-48459 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Maven dependencies for CVE-2025-48459?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.iotdb'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-776q-jw43-fhjx",
  "modified" : "2026-06-05T14:16:09Z",
  "published" : "2025-09-24T09:30:19Z",
  "aliases" : [ "CVE-2025-48459" ],
  "summary" : "Apache IoTDB: Deserialization of untrusted Data",
  "details" : "### Summary\n\nApache IoTDB deserializes data from external inputs without sufficient validation, allowing attacker-controlled serialized objects to be processed. In environments where a compatible gadget chain is reachable, this can be abused to execute arbitrary code or alter server state; at minimum it enables high-impact integrity and confidentiality compromise on the IoTDB process.\n\n### Affected\n\nApache IoTDB **from 1.0.0 before 2.0.5**.\n\n### Remediation\n\nUpgrade to **2.0.5**, which addresses the flaw. If immediate upgrade is not possible, restrict exposure of IoTDB endpoints to trusted networks and disable or sanitize any feature paths that accept serialized payloads. These mitigations are defense-in-depth only; upgrading to 2.0.5 is the definitive fix.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.iotdb:iotdb-confignode"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "2.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "apache-iotdb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "2.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48459"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/iotdb/commit/5ad4a940ed84abca27c7e8be86cb371a49900491"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-776q-jw43-fhjx"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/iotdb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/apache-iotdb/PYSEC-2025-88.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/mr84n19nv8d0bmcrfsj3mm5ff5qn4q2f"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/09/24/8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-24T18:58:41Z",
    "nvd_published_at" : "2025-09-24T08:15:32Z"
  }
}