{"id":"CVE-2026-42527","published":"2026-07-06T07:55:06Z","modified":"2026-07-06T18:47:30Z","title":"Apache Camel: Permissive default ObjectInputFilter pattern admits java.net.** and enables DNS-based information…","vendor":"Apache","product":"Apache Camel","tier":"tail","description":{"text":"Deserialization of Untrusted Data vulnerability in Apache Camel.\n\nThe 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).\nThis 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.\n\nUsers 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.**).","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00668,"percentile":0.52842,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-42527.html","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/05/4","tags":[]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":10.57},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-11","earliestUrl":"https://github.com/oscerd/CVE-2026-42527","repos":[{"name":"oscerd/CVE-2026-42527","url":"https://github.com/oscerd/CVE-2026-42527","stars":0,"created":"2026-07-11"}]},"first":{"date":"2026-07-11","source":"PoC-in-GitHub","url":"https://github.com/oscerd/CVE-2026-42527"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Camel","versions":[">= 4.14.0, < 4.14.8",">= 4.15.0, < 4.18.3",">= 4.19.0, < 4.21.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-06T18:47:03.658679Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.camel:camel-jms","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-sjms","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-amqp","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-mina","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-netty","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-netty-http","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-vertx-http","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-infinispan","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-leveldb","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.camel:camel-cassandraql","vulnerableRanges":[">=4.14.0, <4.14.8",">=4.18.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-8h6p-jvhf-9hcr"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-41825","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-camel-cve-2025-30177","parents":[{"from":"CVE-2026-25747","to":"CVE-2026-42527","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-leveldb","fromFixed":"4.14.5","toFixed":"4.14.8","daysApart":133},{"kind":"same-code","provenance":"machine","files":["catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/LevelDBAggregationRepository.json","components/camel-leveldb/src/generated/resources/META-INF/services/org/apache/camel/bean/LevelDBAggregationRepository.json","components/camel-leveldb/src/main/java/org/apache/camel/component/leveldb/LevelDBAggregationRepository.java","components/camel-leveldb/src/main/java/org/apache/camel/component/leveldb/LevelDBSerializer.java"],"commits":["https://github.com/apache/camel/commit/0e3ac39e20416c91af6df2cfce3f7d795e75ad89","https://github.com/apache/camel/commit/5f343367f7b25646b7d12be26c3e87381c7a7ecb","https://github.com/apache/camel/commit/1b60801edf9864465db7abf391539ee425a53e2c","https://github.com/apache/camel/commit/1ea8bf4b20898a570f0ac366c9be07ec300cce8d"],"basis":"shared function","functions":["LevelDBAggregationRepository","serializeExchange"]},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same package + description similarity"}]},{"from":"CVE-2026-40473","to":"CVE-2026-42527","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-mina","fromFixed":"4.14.6","toFixed":"4.14.8","daysApart":70},{"kind":"same-code","provenance":"machine","files":["components/camel-mina/src/main/java/org/apache/camel/component/mina/MinaConverter.java"],"commits":["https://github.com/apache/camel/commit/8e7f6335d2b4b096df26f8221723405ceaee275a","https://github.com/apache/camel/commit/b605816d11c253d22989abc290c198be83e3f817","https://github.com/apache/camel/commit/1b60801edf9864465db7abf391539ee425a53e2c","https://github.com/apache/camel/commit/1ea8bf4b20898a570f0ac366c9be07ec300cce8d"],"basis":"rarely changed file"}]},{"from":"CVE-2026-40860","to":"CVE-2026-42527","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-jms","fromFixed":"4.14.7","toFixed":"4.14.8","daysApart":70},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-sjms","fromFixed":"4.14.7","toFixed":"4.14.8","daysApart":70},{"kind":"same-code","provenance":"machine","files":["catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq6.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/amqp.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jms.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json"],"commits":["https://github.com/apache/camel/commit/0c06142c46a1422b6b49fab784a1087c50e48ee8","https://github.com/apache/camel/commit/107e8c279cf9bf488843e33fb6333cc2d7f37c67","https://github.com/apache/camel/commit/1b60801edf9864465db7abf391539ee425a53e2c","https://github.com/apache/camel/commit/1ea8bf4b20898a570f0ac366c9be07ec300cce8d"],"basis":"shared function","functions":["JmsBinding","JmsConfiguration","SjmsEndpoint","errorHandlerLogStackTrace","transferException"]},{"kind":"similar","provenance":"machine","score":0.35,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2026-40859","to":"CVE-2026-42527","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-vertx-http","fromFixed":"4.20.0","toFixed":"4.21.0","daysApart":0},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-netty-http","fromFixed":"4.20.0","toFixed":"4.21.0","daysApart":0},{"kind":"same-code","provenance":"machine","files":["catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/vertx-http.json","components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json","components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpConfiguration.java","components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpHelper.java"],"commits":["https://github.com/apache/camel/commit/04019cf90a4b09e263d2df4ad4cacea85a9d72ee","https://github.com/apache/camel/commit/a3835afef108fef9eaf04165faed91784889407f","https://github.com/apache/camel/commit/1b60801edf9864465db7abf391539ee425a53e2c","https://github.com/apache/camel/commit/1ea8bf4b20898a570f0ac366c9be07ec300cce8d"],"basis":"shared function","functions":["lazyStartProducer","workerGroup"]},{"kind":"similar","provenance":"machine","score":0.27,"basis":"same product + CWE + description similarity"}]}],"children":[{"from":"CVE-2026-42527","to":"CVE-2026-43866","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq6.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/amqp.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jms.json","catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json"],"commits":["https://github.com/apache/camel/commit/1b60801edf9864465db7abf391539ee425a53e2c","https://github.com/apache/camel/commit/1ea8bf4b20898a570f0ac366c9be07ec300cce8d","https://github.com/apache/camel/commit/844bbf8c894c5e2bfa023579db80dcd3354c0e1b","https://github.com/apache/camel/commit/81449eb6ef3edf856c84117ce708beb2ada8f650"],"basis":"shared function","functions":["JmsBinding","JmsConfiguration","SjmsComponent","SjmsEndpoint"]}]}],"packageHistory":[{"cve":"CVE-2026-40453","published":"2026-04-27","fixed":"4.20.0","kev":false,"link":{"from":"CVE-2026-40453","to":"CVE-2026-42527","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-jms","fromFixed":"4.18.2","toFixed":"4.18.3","daysApart":70},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-sjms","fromFixed":"4.18.2","toFixed":"4.18.3","daysApart":70}]}},{"cve":"CVE-2026-40860","published":"2026-04-27","fixed":"4.20.0","kev":false},{"cve":"CVE-2026-42527","published":"2026-07-06","fixed":"4.21.0","kev":false},{"cve":"CVE-2026-43866","published":"2026-07-06","fixed":"4.21.0","kev":false}],"package":"Maven:org.apache.camel:camel-jms"}}