CVE-2026-42527
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDeserialization 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.**).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceApache Camel components ship with a default ObjectInputFilter pattern using 'java.**' glob that inadvertently allows java.net.URL and java.net.InetAddress classes. When deserializing HashMaps containing java.net.URL keys, the JVM triggers DNS queries to attacker-controlled servers during hashCode/equals operations, enabling an out-of-band deserialization attack side channel. Highest impact on camel-jms family where mapJmsMessage=true (default) unconditionally invokes ObjectMessage.getObject().
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 4.14.0, < 4.14.8>= 4.18.0, < 4.18.3= 4.20.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Apache Camel versionLocate the camel-core JAR file in your classpath or deployment and check its version metadata (META-INF/MANIFEST.MF, filename, or pom.xml). For Maven projects, run 'mvn dependency:tree | grep camel-core' or check your dependency management.Affected if The installed version falls within >= 4.14.0 and < 4.14.8, OR >= 4.18.0 and < 4.18.3, OR equals 4.20.0.
-
Identify usage of affected Camel componentsInspect your application dependencies or runtime classpath for any of these components: camel-jms, camel-sjms, camel-amqp, camel-netty, camel-infinispan, or Camel aggregation repository. Check your route definitions (Java DSL or XML) for references to these components.Affected if Any of the affected components (camel-jms, camel-sjms, camel-amqp, camel-netty, camel-infinispan, or aggregation repository) are included in your deployment and actively used in Camel routes.
-
Verify deserialization endpoint configurationExamine your Camel endpoint URIs or configuration for any JMS, AMQP, Netty, or Infinispan endpoints that may receive serialized objects. Look for URI patterns such as 'jms:...', 'amqp:...', 'netty:...', or 'infinispan:...' in your route definitions.Affected if Your application exposes endpoints that accept or process serialized object messages (such as JMS queues, AMQP topics, Netty connections, or Infinispan caches) without custom deserialization filters.
-
Check for custom ObjectInputFilter configurationSearch your configuration files, startup scripts, and environment variables for 'jdk.serialFilter' system property or 'deserializationFilter' endpoint parameters. Inspect any custom ObjectInputFilter implementations or allow-list configurations.Affected if No custom deserialization filter is configured (the application relies on the default Camel ObjectInputFilter pattern that includes the permissive 'java.**' glob), OR the configured filter still allows 'java.net.URL' or 'java.net.InetAddress' classes.
-
Monitor for unexpected DNS queriesUse network monitoring tools (such as tcpdump, Wireshark, or DNS logging) to observe outbound DNS queries from the Java process, particularly to unfamiliar or attacker-controlled domains during message processing.Affected if DNS resolution attempts occur to unknown external hosts during deserialization of messages containing HashMap objects with URL-based keys.
You are affected if your Apache Camel version is within the vulnerable ranges AND you use any of the affected components (camel-jms, camel-sjms, camel-amqp, camel-netty, camel-infinispan, or aggregation repository) for processing serialized messages WITHOUT a custom deserialization filter that explicitly blocks java.net.URL and java.net.InetAddress classes.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped4.14.84.18.3
Upgrade to patched versions (4.21.0, 4.18.3, or 4.14.8) containing CAMEL-23372 fix, or configure JMS-provider-side allow-lists and/or override the filter with explicit deny: '!java.net.**;java.**;javax.**;org.apache.camel.**;!*'
4.14.8 (for 4.14.x), 4.18.3 (for 4.18.x), or 4.21.0 (for 4.20.x/4.21.x)
- 1. Identify the current Apache Camel version in use by checking your project dependencies (Maven pom.xml, Gradle build file, or application classpath)
- 2. Determine which release line you are on: 4.14.x, 4.18.x, or 4.20.x/4.21.x
- 3. For 4.14.x line: upgrade to version 4.14.8 or later
- 4. For 4.18.x line: upgrade to version 4.18.3 or later
- 5. For 4.20.x or 4.21.x line: upgrade to version 4.21.0 or later
- 6. Update the version in your build configuration (Maven/Gradle) and rebuild the application
- 7. If immediate upgrade is not possible, configure a JMS-provider-side allow-list: for Apache ActiveMQ Artemis use 'deserializationAllowList' or 'deserializationDenyList', for Apache ActiveMQ Classic use 'org.apache.activemq.SERIALIZABLE_PACKAGES'
- 8. As an alternative mitigation, override the in-code default via endpoint-level 'deserializationFilter' option with pattern: '!java.net.**;java.**;javax.**;org.apache.camel.**;!*'
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-42527 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-42527 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data