Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver serialized ObjectMessage to Camel JMS consumer
-
DeliverymapJmsMessage default invokes ObjectMessage.getObject()
-
ExploitDeserialize HashMap with java.net.URL keys
-
ExecutionURL.hashCode triggers host resolution
-
PersistJVM issues DNS query to attacker host
-
ImpactAttacker observes query as out-of-band channel
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an affected Camel component (4.14.0-4.14.7, 4.15.0-4.18.2, or 4.19.0-4.20.x) that deserializes attacker-controlled Java-serialized input; the highest exposure is camel-jms/camel-sjms/camel-amqp routes with mapJmsMessage=true (the default), where JmsBinding.extractBodyFromJms unconditionally calls ObjectMessage.getObject(). The attacker must be able to deliver a serialized payload (e.g., an ObjectMessage) to the vulnerable consumer - typically meaning access to publish to the JMS destination/queue or to the relevant network endpoint (mina/netty/vertx-http/infinispan or a JDBC/Cassandra/Consul/LevelDB aggregation repository fed with untrusted data). Exploitation is LIMITED by: the CVSS AC:H (a crafted serialized object must reach a listening consumer), reliance on the vulnerable default filter still being in place (any provider-side allow-list or overridden deserializationFilter/-Djdk.serialFilter neutralizes it), and the demonstrated impact being a blind DNS out-of-band channel rather than direct code execution. No end-user interaction is required (UI:N) and no Camel-level authentication is modeled (PR:N), though publishing to a broker destination may in practice require broker credentials. |
| Impact | Signals conflict and should be weighed carefully. The vendor CVSS of 8.1 (AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:H) rates confidentiality, integrity, and availability all High, but the concretely described impact is a blind DNS out-of-band side channel (leaking whether/where a lookup occurs), which is far narrower than the full compromise those C:H/I:H/A:H ratings imply - treat the high C/I/A as generous relative to the described mechanism, or as an acknowledgement that the same allow-list weakness could enable broader gadget chains not detailed here. AC:H reflects that an attacker must actually deliver a crafted serialized object to a listening consumer and rely on default configuration. EPSS is low at 0.31% (23rd percentile) and the CVE is not in CISA KEV, consistent with no known active exploitation; no public exploit was identified. Net: this is a real, patch-worthy issue for organizations running affected camel-jms deployments that accept serialized messages, but the low EPSS, high attack complexity, and side-channel-only demonstrated impact place it below drop-everything priority - prioritize based on whether untrusted parties can reach your JMS/consumer endpoints. |
| Exploit ScenarioDerived | An attacker with the ability to publish messages to a JMS destination consumed by a vulnerable Camel route (mapJmsMessage=true by default) sends an ObjectMessage whose body is a serialized HashMap keyed on java.net.URL objects pointing to an attacker-controlled DNS domain. When Camel calls ObjectMessage.getObject(), the JVM deserializes the map and resolves the URL host during hashCode, and the attacker observes the resulting DNS query on their authoritative name server, confirming reachability and enabling blind out-of-band signalling. No public exploit was identified at time of analysis, and the CVSS AC:H reflects the need to reach a listening consumer with a crafted serialized payload. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 06, 2026
Blind out-of-band data exfiltration in Apache Camel 4.14.0-4.20.x arises because the default ObjectInputFilter pattern bundled with several components ('java.;javax.;org.apache.camel.;!*') uses a recursive java. glob that allow-lists java.net.URL and java.net.InetAddress. Remote attackers who can deliver a Java-serialized payload to an affected Camel consumer - most notably the camel-jms family, where JmsBinding.extractBodyFromJms calls ObjectMessage.getObject() by default (mapJmsMessage=true) - can force the JVM to issue DNS queries to an attacker-controlled host during deserialization side-effects, yielding an observable out-of-band channel. Reported by Apache; there is no public exploit identified at time of analysis, EPSS is low (0.31%, 23rd percentile), and it is not listed in CISA KEV.
Earlier versions of this analysis (1)
DNS side-channel exfiltration via Java deserialization in Apache Camel affects multiple messaging and networking components across versions 4.14.0-4.14.7, 4.15.0-4.18.2, and 4.19.0-4.20.x. The default ObjectInputFilter allowlist (CAMEL-23372) admits the entire java.** class hierarchy, permitting java.net.URL and java.net.InetAddress - classes whose hashCode/equals methods silently perform DNS resolution - to pass the filter check and trigger out-of-band DNS queries to attacker-controlled nameservers during deserialization. Vendor-confirmed fixes are available in 4.14.8, 4.18.3, and 4.21.0; no public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to the fixed release containing the CAMEL-23372 fix for your line - 4.14.8 for the 4.14.x line, 4.18.3 for the 4.15.0-4.18.x line, and 4.21.0 for the 4.19.x-4.21.x line. For deployments that cannot upgrade immediately, the primary mitigation is a JMS-provider-side allow-list: on Apache ActiveMQ Artemis use 'deserializationAllowList'/'deserializationDenyList', and on ActiveMQ Classic set 'org.apache.activemq.SERIALIZABLE_PACKAGES'; this blocks dangerous classes at the broker but requires enumerating legitimately-serialized classes and can break applications that rely on Java object messages. Alternatively, override the vulnerable in-code default via the endpoint-level 'deserializationFilter' option or the JVM-wide '-Djdk.serialFilter' property with an explicit deny of the network gadget: '!java.net.;java.;javax.;org.apache.camel.;!*' (or '!java.net.;java.;org.apache.camel.;!*' for aggregation-repository components, which omit javax.) - note the JVM-wide flag affects all serialization in the process, so validate it does not reject classes other workloads legitimately deserialize. Where feasible, also restrict which parties can publish to the affected consumers/queues. See https://camel.apache.org/security/CVE-2026-42527.html.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 13 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-502 Deserialization of Untrusted Data issue in Apache Camel's integration components. Camel ships a defense-in-depth ObjectInputFilter (JDK serialization filter) intended to constrain which classes may be deserialized, but the pattern relies on a recursive 'java.**' glob. Because the class-level filter only checks the concrete resulting class (e.g., HashMap, which is allow-listed), it does not prevent element classes like java.net.URL whose hashCode/equals/readObject perform network I/O. Deserializing a HashMap keyed on java.net.URL objects causes the JVM to resolve the URL host during hashCode computation, emitting a DNS query. The CPE cpe:2.3:a:apache_software_foundation:apache_camel:*:*:*:*:*:*:*:* identifies Apache Camel as the sole affected product. Exposure is broadest in camel-jms/camel-sjms/camel-amqp because ObjectMessage bodies are deserialized unconditionally when mapJmsMessage is enabled (the default), and also affects camel-mina, camel-netty, camel-netty-http, camel-vertx-http, camel-infinispan, and the aggregation-repository components camel-leveldb, camel-cassandraql, camel-consul, and camel-sql.
Know when Apache Camel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-delivered serialized payload with AC:H (must reach a listening consumer under default filter); PR:N at the Camel layer; demonstrated impact is a blind DNS out-of-band side channel, so only C:L with I/A none.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Deserialization of Untrusted Data vulnerability in Apache Camel.
The default ObjectInputFilter pattern shipped with several Apache Camel components for defense-in-depth deserialization filtering ('java.;javax.;org.apache.camel.;!*', or the no-'javax.' variant in the aggregation-repository components) uses a recursive 'java.**' glob that admits classes whose hashCode/equals/readObject methods perform network I/O, notably java.net.URL and java.net.InetAddress. When an attacker can deliver a Java-serialized payload to an affected Camel consumer, deserialization of a HashMap (or any collection that calls hashCode on its elements) containing java.net.URL keys causes the JVM to issue DNS queries to the attacker-supplied host during the deserialization side-effect. The class-level filter check passes because the resulting object's class (HashMap) is allow-listed; the DNS query is observable on an attacker-controlled DNS server, providing an out-of-band side channel. The exposure is highest on the camel-jms family because JmsBinding.extractBodyFromJms invokes ObjectMessage.getObject() unconditionally when mapJmsMessage=true (default). Affected components: camel-jms, camel-sjms, camel-amqp, camel-mina, camel-netty, camel-netty-http, camel-vertx-http, camel-infinispan, and the aggregation repository components camel-leveldb, camel-cassandraql, camel-consul, camel-sql (JDBC aggregation repository). This issue affects Apache Camel: from 4.14.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 a version that contains the CAMEL-23372 fix once available: 4.21.0 for the 4.21.x line, 4.18.3 for the 4.18.x line, and 4.14.8 for the 4.14.x line. For deployments that cannot upgrade immediately, configure a JMS-provider-side allow-list (Apache ActiveMQ Artemis 'deserializationAllowList' / 'deserializationDenyList', Apache ActiveMQ Classic 'org.apache.activemq.SERIALIZABLE_PACKAGES') as the primary mitigation, and/or override the in-code default via the endpoint-level 'deserializationFilter' option or the JVM-wide '-Djdk.serialFilter' system property with an explicit deny: '!java.net.;java.;javax.;org.apache.camel.;!*' (or '!java.net.;java.;org.apache.camel.;!*' for the aggregation-repository components, which do not include javax.).
Executive ViewAI
Apache Camel versions 4.14.0 through 4.20.x contain a blind out-of-band data exfiltration vulnerability in object deserialization filtering that affects organizations using Camel JMS components. Remote attackers could force Java-based message handlers to leak sensitive data through DNS queries to attacker-controlled servers; no public exploit identified at time of analysis. With a CVSS score of 8.1, this represents a material risk to data confidentiality and requires prompt patching across affected deployments.
Apply vendor patch. Interim mitigations if patching is delayed: restrict outbound DNS resolution to authorized internal resolvers only; disable JMS message serialization in favor of text-based formats where feasible; enforce network segmentation to limit attacker connectivity to external servers.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
More in Apache Camel
View allRemote code execution in Apache Camel's camel-coap component (versions 4.14.0-4.14.5, 4.18.0 before 4.18.1, and 4.19.0)
Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS
Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag
Header-filter bypass in the Apache Camel Undertow component (4.11.0-4.14.8, 4.15.0-4.18.3, and 4.19.0-4.21.x) lets remot
Remote code execution in Apache Camel 3.18.0-4.14.5 and 4.15.0-4.18.1 stems from CXF and Knative HeaderFilterStrategy im
Message header injection in Apache Camel's camel-mail component (3.0.0 before 4.14.6 and 4.15.0 before 4.18.1) lets an a
Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and
Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)
Cypher injection in Apache Camel's camel-neo4j producer allows attackers who control JSON key names in the CamelNeo4jMat
Remote code execution in the Apache Camel camel-hazelcast component allows an attacker who can join or reach the Hazelca
Remote code execution in Apache Camel's camel-vertx-http component (4.0.0-4.14.7, 4.15.0-4.18.2, 4.19.0) arises when a p
JWT claim validation in Apache Camel's Platform HTTP Main component silently fails to enforce issuer and audience constr
EUVD-2026-41825
GHSA-8h6p-jvhf-9hcr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB