CVE-2026-42527 — Vulnerability in camel-netty-http — CVE Details
Apache Camel: Permissive default ObjectInputFilter pattern admits java.net.** and enables DNS-based information disclosure
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.67%). Schedule for your next planned update.
Does your project use an affected org.apache.camel:camel-netty-http version?
Paste your pom.xml to check it for CVE-2026-42527 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.**).
Advisory Timeline
- First published July 6, 2026 (143 days ago).
- Last revised September 10, 2026 — 66 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-netty-http -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-jms -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-amqp -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-mina -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-sjms -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-vertx-http -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-consul -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-cassandraql -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-sql -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-consul -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-netty -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-infinispan -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-mina -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-leveldb -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-sjms -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-cassandraql -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-consul -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-netty-http -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-vertx-http -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-amqp -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-leveldb -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-sql -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-netty -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-netty-http -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-infinispan -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-leveldb -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-cassandraql -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-infinispan -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-vertx-http -->
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-jms -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-amqp -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-mina -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-sjms -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-jms -->
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-sql -->
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-netty -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (36)
Affects 1 ecosystem: Maven (12).
| Package | Fixed In |
|---|---|
| org.apache.camel:camel-netty-http Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-jms Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-amqp Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-mina Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-sjms Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-vertx-http Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-consul Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-cassandraql Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-sql Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-consul Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-netty Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-infinispan Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-mina Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-leveldb Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-sjms Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-cassandraql Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-consul Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-netty-http Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-vertx-http Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-amqp Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-leveldb Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-sql Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-netty Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-netty-http Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-infinispan Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-leveldb Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-cassandraql Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-infinispan Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-vertx-http Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-jms Maven · Affected: 4.19.0, 4.20.0 | 4.21.0 |
| org.apache.camel:camel-amqp Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-mina Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-sjms Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-jms Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
| org.apache.camel:camel-sql Maven · Affected: 4.18.0, 4.18.1, 4.18.2 | 4.18.3 |
| org.apache.camel:camel-netty Maven · Affected: 4.14.0, 4.14.1, 4.14.2, 4.14.3 (+4 more) | 4.14.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-42527ADVISORY
- https://github.com/apache/camel/pull/22801WEB
- https://github.com/apache/camel/pull/22813WEB
- https://github.com/apache/camel/pull/22815WEB
- https://github.com/apache/camel/commit/1b60801edf9864465db7abf391539ee425a53e2cWEB
- https://github.com/apache/camel/commit/1ea8bf4b20898a570f0ac366c9be07ec300cce8dWEB
- https://github.com/apache/camel/commit/bc7f8cafd1d4752bf6b5a77c19fe9878258faffbWEB
- https://camel.apache.org/security/CVE-2026-42527.htmlWEB
- https://github.com/apache/camelPACKAGE
- https://github.com/apache/camel/releases/tag/camel-4.14.7WEB
- https://github.com/apache/camel/releases/tag/camel-4.18.2WEB
- https://github.com/apache/camel/releases/tag/camel-4.21.0WEB
- https://issues.apache.org/jira/browse/CAMEL-23372WEB
- https://www.openwall.com/lists/oss-security/2026/07/05/4WEB
Frequently Asked Questions
- What is CVE-2026-42527?
- Apache Camel: Permissive default ObjectInputFilter pattern admits java.net.** and enables DNS-based information disclosure. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-42527?
- CVE-2026-42527 affects org.apache.camel:camel-netty-http, org.apache.camel:camel-jms and org.apache.camel:camel-amqp (and 9 more). It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42527 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 46.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-40453CRITICAL
Apache Camel has an incomplete fix for CVE-2025-27636
- CVE-2026-40860CRITICAL
Apache camel-jms, camel-sjms, camel-sjms2 and camel-amqp: Unsafe Deserialization of JMS ObjectMessage
- CVE-2026-46455CRITICAL
Apache Camel-Keycloak: The access-token validity window is not verified because the IS_ACTIVE check is missing from the TokenVerifier, allowing expired tokens to be accepted
- CVE-2026-40859HIGH
Apache Camel-Vertx-Http and Camel-Netty-Http: Unsafe Java deserialization of HTTP response bodies via a raw ObjectInputStream when transferException is enabled
- CVE-2026-43866HIGH
Apache Camel JMS deserialization filter bypass
- CVE-2026-46592HIGH
Apache Camel-CXF: The SOAP operation-selection headers used non-Camel-prefixed names (operationName, operationNamespace) that bypass the HTTP header filter, allowing an HTTP client to redirect the invoked SOAP operation
- CVE-2026-46591HIGH
Apache Camel-Neo4j: JSON property names from the CamelNeo4jMatchProperties header are interpolated into the Cypher WHERE clause without validation, allowing Cypher injection (incomplete remediation of CVE-2025-66169)
- CVE-2026-40473HIGH
Camel-MINA Vulnerable to Deserialization of Untrusted Data