Vulnerabilities in pkg:maven/org.apache.hugegraph/hg-pd-core

PACKAGE
Advisory Identifier: GHSA-q37j-3367-fwv7
Advisory Summary

CVE-2025-26866 is a HIGH raft and deserialization vulnerability vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Apache HugeGraph-Server libraries in the Maven ecosystem. The issue involves raft and deserialization vulnerability. Remediation is available by upgrading affected packages to version 1.7.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.hugegraph/hg-pd-core

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.hugegraph/hg-pd-core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-q37j-3367-fwv7 CVE-2025-26866 HIGH Apache HugeGraph-Server: RAFT and deserialization vulnerability

CVE-2025-26866 at a Glance

CVE Identifier CVE-2025-26866
GHSA Identifier GHSA-q37j-3367-fwv7
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Apache HugeGraph-Server
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-26866

To remediate this vulnerability, upgrade all affected Apache HugeGraph-Server 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.hugegraph:hg-pd-core fixed: 1.7.0
<dependency>
    <groupId>org.apache.hugegraph</groupId>
    <artifactId>hg-pd-core</artifactId>
    <version>1.7.0</version>
</dependency>
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.hugegraph

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.hugegraph 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 HugeGraph-Server, 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

A remote code execution vulnerability exists where a malicious Raft node can exploit insecure Hessian deserialization within the PD store. The fix enforces IP-based authentication to restrict cluster membership and implements a strict class whitelist to harden the Hessian serialization process against object injection attacks. Users are recommended to upgrade to version 1.7.0, which fixes the issue.

CVE-2025-26866 Affected Apache HugeGraph-Server Versions

1 component(s)
Fixed Versions:
1.7.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.hugegraph:hg-pd-core
Maven
< 1.7.0
1.7.0

References

Frequently Asked Questions

What is CVE-2025-26866?
CVE-2025-26866 is a security vulnerability in Apache HugeGraph-Server involving RAFT and deserialization vulnerability under CWE-502: Deserialization of Untrusted Data.
Which Apache HugeGraph-Server versions are affected?
Affected versions include releases prior to 1.7.0 across affected packages: org.apache.hugegraph:hg-pd-core.
What version fixes CVE-2025-26866?
Upgrading to 1.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hg-pd-core affected?
Yes, org.apache.hugegraph:hg-pd-core is affected in releases prior to 1.7.0. Upgrade your dependency to 1.7.0 or later.
What CWE is associated with CVE-2025-26866?
CVE-2025-26866 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-26866?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.hugegraph'. 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-q37j-3367-fwv7",
  "modified" : "2025-12-12T16:46:05Z",
  "published" : "2025-12-12T12:30:25Z",
  "aliases" : [ "CVE-2025-26866" ],
  "summary" : "Apache HugeGraph-Server: RAFT and deserialization vulnerability",
  "details" : "A remote code execution vulnerability exists where a malicious Raft node can exploit insecure Hessian deserialization within the PD store. The fix enforces IP-based authentication to restrict cluster membership and implements a strict class whitelist to harden the Hessian serialization process against object injection attacks.\n\nUsers are recommended to upgrade to version 1.7.0, which fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.hugegraph:hg-pd-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-26866"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/incubator-hugegraph/pull/2735"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/incubator-hugegraph"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/ko8jkwbjbb99m45pg4sgo5xsm8gx9nsq"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/12/09/1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-12T16:46:05Z",
    "nvd_published_at" : "2025-12-12T10:15:49Z"
  }
}