GHSA-xww8-mxqw-m84w

Suggest an improvement
Source
https://github.com/advisories/GHSA-xww8-mxqw-m84w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-xww8-mxqw-m84w/GHSA-xww8-mxqw-m84w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xww8-mxqw-m84w
Aliases
Published
2026-07-06T09:30:28Z
Modified
2026-08-26T18:11:12Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Apache Camel-Hazelcast: Unsafe Java deserialization in default-configured managed Hazelcast instances enables remote code execution
Details

Deserialization of Untrusted Data vulnerability in Apache Camel Hazelcast component.

The camel-hazelcast component creates and manages Hazelcast instances using a default configuration that applies no Java deserialization filter. When Camel builds the Hazelcast Config itself - that is, when no user-supplied HazelcastInstance, hazelcastConfigUri, or referenced Config bean is provided - neither Hazelcast's JavaSerializationFilterConfig nor a Camel-side ObjectInputFilter is configured, so objects received over the Hazelcast cluster protocol are deserialized inside Hazelcast's own serialization layer (ObjectInputStream.readObject) before Camel ever processes them. An attacker who can join or otherwise reach the Hazelcast cluster can publish a crafted serialized Java object that is then deserialized on every Camel node, resulting in remote code execution. The exposure is present by default and requires no opt-in endpoint configuration: any route using a hazelcast consumer (hazelcast-topic, hazelcast-queue, hazelcast-seda, hazelcast-map, hazelcast-multimap, hazelcast-replicatedmap, hazelcast-list, hazelcast-set), as well as the HazelcastAggregationRepository and HazelcastIdempotentRepository, is affected whenever the managed instance is created from Camel's default configuration. This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0.

Users are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix makes Camel apply a default Hazelcast JavaSerializationFilterConfig (whitelisting the java., javax. and org.apache.camel. class-name prefixes and blacklisting java.net.) to instances it creates from its own default configuration, while leaving any user-supplied Config or HazelcastInstance untouched. For deployments that cannot upgrade immediately, configure a deserialization filter on the Hazelcast instance (Hazelcast JavaSerializationFilterConfig, or the JVM-wide system property -Djdk.serialFilter=!java.net.;java.;javax.;org.apache.camel.;!*) and enable Hazelcast cluster authentication and TLS to restrict who can reach the cluster.

Database specific
{
    "cwe_ids":  [
        "CWE-502"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-26T17:54:03Z",
    "nvd_published_at":  "2026-07-06T09:16:35Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.apache.camel:camel-hazelcast

Package

Name
org.apache.camel:camel-hazelcast
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-hazelcast

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.14.8

Affected versions

4.*
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.5.0
4.6.0
4.7.0
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9
4.9.0
4.10.0
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4.10.6
4.10.7
4.10.8
4.10.9
4.11.0
4.12.0
4.13.0
4.14.0
4.14.1
4.14.2
4.14.3
4.14.4
4.14.5
4.14.6
4.14.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-xww8-mxqw-m84w/GHSA-xww8-mxqw-m84w.json"

Maven / org.apache.camel:camel-hazelcast

Package

Name
org.apache.camel:camel-hazelcast
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-hazelcast

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.18.3

Affected versions

4.*
4.15.0
4.16.0
4.17.0
4.18.0
4.18.1
4.18.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-xww8-mxqw-m84w/GHSA-xww8-mxqw-m84w.json"

Maven / org.apache.camel:camel-hazelcast

Package

Name
org.apache.camel:camel-hazelcast
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-hazelcast

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.21.0

Affected versions

4.*
4.19.0
4.20.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-xww8-mxqw-m84w/GHSA-xww8-mxqw-m84w.json"