CVE-2026-78162
10.0CriticalPublished Oct 19, 2026 · NVD status: Undergoing Analysis · AI triage by gemini-3.8-flash
Critical
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-502
What an attacker gets
Remote attackers can execute arbitrary code on the application host by publishing serialized payloads into the connected Hazelcast cluster. The attacker only needs network access to the unauthenticated Hazelcast cluster used by the application.
Root cause
Certain internal camel-hazelcast configuration paths omit Hazelcast's JavaSerializationFilterConfig, allowing unrestricted Java object deserialization when reading data.
Affected versions
Apache Camel 4.0.0 before 4.18.5, and 4.19.0 before 4.22.1 (4.14.x and earlier are EOL and unfixed)
CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade to Apache Camel 4.18.5, 4.22.1, or 4.23.0+. If upgrading immediately is not possible, inject an explicit Hazelcast configuration with JavaSerializationFilterConfig, configure the JVM argument -Djdk.serialFilter='!java.net.*;java.*;javax.*;org.apache.camel.*;!*', and enforce cluster TLS/authentication.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Deserialization of Untrusted Data vulnerability in Apache Camel. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. The camel-hazelcast component applies a default Hazelcast JavaSerializationFilterConfig to the instances it creates from its own configuration, a protection introduced by CVE-2026-43865. That change did not reach two of the configuration paths Camel builds itself, so those paths continued to create Hazelcast instances whose Java deserialization is unrestricted. ReplicatedHazelcastAggregationRepository extends HazelcastAggregationRepository but overrides doStart() without calling super.doStart(), keeping its own copy of the bootstrap block, and therefore never received the filter: a route using it without supplying a hazelcastInstance starts a Hazelcast member that deserializes values read from the backing ReplicatedMap with no class restriction. HazelcastDefaultComponent#getOrCreateHzClientInstance() builds its own ClientConfig when hazelcastMode=client is selected and neither a referenced ClientConfig nor hazelcastConfigUri is supplied, and likewise applied no filter, so client-mode endpoints behaved differently from node-mode endpoints for an otherwise identical configuration. In both cases an attacker able to publish into the Hazelcast cluster that the affected instance is attached to can cause a serialized Java object of their choosing to be deserialized inside Hazelcast's own serialization layer, before Camel processes the exchange, resulting in remote code execution. Hazelcast clusters have neither authentication nor TLS enabled by default. Selecting client mode is a topology choice rather than a security option, so neither path required the deployment to opt in to unsafe behaviour. Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and earlier reached end of life before this issue was resolved and will not receive a fix, so deployments on those lines must move to a supported release. For deployments that cannot upgrade immediately, supply an explicit Hazelcast configuration carrying a JavaSerializationFilterConfig, or inject a pre-built HazelcastInstance, since a user-supplied configuration is never overwritten by Camel. Alternatively set the JVM-wide filter -Djdk.serialFilter=!java.net.;java.;javax.;org.apache.camel.;!* and enable Hazelcast cluster authentication and TLS to restrict who can reach the cluster.
References
- https://camel.apache.org/security/CVE-2026-43865.html
- https://camel.apache.org/security/CVE-2026-78162.html
- https://github.com/apache/camel/pull/25566
- https://github.com/apache/camel/pull/25595
- https://github.com/apache/camel/pull/25599
- https://github.com/apache/camel/pull/25600
- https://issues.apache.org/jira/browse/CAMEL-24413
- https://issues.apache.org/jira/browse/CAMEL-24420
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-936489.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in a user's browser by sending a crafted iCalendar invitation. This allows the attacker to steal mailbox data and perform actions as the logged-in user.
- CVE-2026-936469.8CriticalUnauthenticated attackers can execute arbitrary commands as the zimbra user. They only need network access to the Zimbra server to exploit the flawed token authorization.
- CVE-2026-1378379.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in the Zimbra origin to steal mailbox data or perform actions as the user. This requires a signed-in user to open a malicious XML attachment.
- CVE-2026-1378369.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in the Zimbra origin by sending a crafted XML attachment. A signed-in user must open the attachment for the script to execute, granting the attacker access to mailbox data and authenticated actions.
- CVE-2026-1378359.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in a user's browser by sending a crafted email. This allows the attacker to steal mailbox data and perform actions as the logged-in user.
- CVE-2026-887669.3CriticalLocal attackers can achieve arbitrary code execution with system privileges by sending a crafted APDU command to the VSIM service. This exploit requires local access to the device.