Skip to main content

Apache Camel CVE-2026-42527

| EUVDEUVD-2026-41825 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-07-06 apache GHSA-8h6p-jvhf-9hcr
8.1
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver serialized ObjectMessage to Camel JMS consumer
  2. Delivery
    mapJmsMessage default invokes ObjectMessage.getObject()
  3. Exploit
    Deserialize HashMap with java.net.URL keys
  4. Execution
    URL.hashCode triggers host resolution
  5. Persist
    JVM issues DNS query to attacker host
  6. Impact
    Attacker 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Jul 06, 2026 - 09:27

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

Apache Camel 4.15.0 <4.18.3
Apache Camel 4.19.0 <4.21.0
Apache Camel 4.14.0 <4.14.8

Affected Packages

maven org.apache.camel:camel-amqp fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-cassandraql fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-consul fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-infinispan fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-jms fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-leveldb fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-mina fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-netty fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-netty-http fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-sjms fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-sql fix: 4.14.8, 4.18.3, 4.21.0
maven org.apache.camel:camel-vertx-http fix: 4.14.8, 4.18.3, 4.21.0
euvd apache_camel fix: 4.14.8, 4.18.3, 4.21.0

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

Vendor (apache) PRIMARY 8.1 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 3.7 LOW

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jul 06, 2026 - 19:22 NVD
8.1 (HIGH)
Patch available
Jul 06, 2026 - 10:01 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
High
widely deployed enterprise Java integration framework, common in JMS/messaging pipelines
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-33453 CRITICAL POC
10.0 Apr 27

Remote 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)

CVE-2026-40858 HIGH POC
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS

CVE-2026-71300 CRITICAL
9.8 Aug 24

Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag

CVE-2026-78329 CRITICAL
9.8 Aug 24

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

CVE-2026-47323 CRITICAL
9.8 May 19

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

CVE-2026-33454 CRITICAL
9.4 Apr 27

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

CVE-2026-46590 HIGH
8.8 Jul 06

Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and

CVE-2026-27172 HIGH
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)

CVE-2026-46591 HIGH
8.2 Jul 06

Cypher injection in Apache Camel's camel-neo4j producer allows attackers who control JSON key names in the CamelNeo4jMat

CVE-2026-43865 HIGH
8.1 Jul 06

Remote code execution in the Apache Camel camel-hazelcast component allows an attacker who can join or reach the Hazelca

CVE-2026-40859 HIGH
8.1 Jul 06

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

CVE-2026-66908 HIGH
7.5 Aug 24

JWT claim validation in Apache Camel's Platform HTTP Main component silently fails to enforce issuer and audience constr

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy