CVE-2025-26866: Apache HugeGraph-Server RAFT And Deserialization Vulnerability Vulnerability
HIGHCVE-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.
CVE-2025-26866 at a Glance
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.
<dependency>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hg-pd-core</artifactId>
<version>1.7.0</version>
</dependency>
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
CVE-2025-26866 Affected Apache HugeGraph-Server Versions
1 component(s)| 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?
Which Apache HugeGraph-Server versions are affected?
What version fixes CVE-2025-26866?
Is hg-pd-core affected?
What CWE is associated with CVE-2025-26866?
How can I check Maven dependencies for CVE-2025-26866?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}