Skip to main content

CVE-2026-43866 — Vulnerability in org.apache.camel:camel-jms

HIGH

Apache Camel JMS deserialization filter bypass

Published July 6, 2026Updated August 26, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.65%). Schedule for your next planned update.

Does your project use an affected org.apache.camel:camel-jms version?

Paste your pom.xml to check it for CVE-2026-43866 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.

Check my pom.xml

Summary

Deserialization of Untrusted Data vulnerability in Apache Camel, Apache Camel JMS component.

JmsBinding.extractBodyFromJms() in camel-jms - and the equivalent JmsBinding in camel-sjms - deserializes the payload of an incoming JMS ObjectMessage via jakarta.jms.ObjectMessage.getObject() whenever the mapJmsMessage option is enabled (the default) and Camel acts as a JMS consumer. The CVE-2026-40860 hardening added a post-deserialization class check that rejects classes outside the default allow-list java.;javax.;org.apache.camel.;!*. However org.apache.camel.support.DefaultExchangeHolder itself lives in the allow-listed org.apache.camel. namespace, so an ObjectMessage whose top-level object is a DefaultExchangeHolder passes the check. The receiving side then calls DefaultExchangeHolder.unmarshal() on it without requiring the transferExchange option to be enabled - an asymmetric trust boundary, since the sending side gates ObjectMessage and transferExchange handling but the receiving side did not - writing every non-null field of the holder into the Exchange: the message body, the IN and OUT headers, the exchange properties, the variables, the exchange id and the exception. An attacker who can publish an ObjectMessage to a queue or topic consumed by an affected Camel application can therefore inject arbitrary Exchange state using only universally-trusted java.lang and java.util types, with no deserialization gadget chain required, to manipulate routing and headers, exchange properties and error handling. The same handling applies to camel-sjms and camel-sjms2, and to the JMS-family components built on JmsComponent and JmsBinding: camel-amqp, camel-activemq and camel-activemq6. This is a bypass of the CVE-2026-40860 fix rather than a flaw in it. This issue affects Apache Camel: from 3.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0; Apache Camel: from 3.0.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 version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. After upgrading, JMS ObjectMessage handling is disabled by default in camel-jms, camel-sjms and the JMS-family components (a new objectMessageEnabled option defaults to false at the component and endpoint level), so an incoming ObjectMessage - including a DefaultExchangeHolder payload - is no longer deserialized unless the option is explicitly enabled; only set objectMessageEnabled=true when the consumed JMS destination is fed exclusively by trusted producers. For deployments that cannot upgrade immediately, restrict publish access to the queues and topics consumed by Camel to trusted producers via JMS broker authorization, and do not expose JMS consumers that map ObjectMessage bodies to untrusted networks; a JMS-provider deserialization allow-list does not mitigate this specific bypass because the crafted payload uses only universally-trusted classes.

Advisory Timeline

  • First published July 6, 2026 (143 days ago).
  • Last revised August 26, 2026 — 51 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.camel:camel-jms to 4.14.8 or later
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-jms -->
Maven
Update org.apache.camel:camel-activemq to 4.14.8 or later
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-activemq -->
Maven
Update org.apache.camel:camel-amqp to 4.14.8 or later
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-amqp -->
Maven
Update org.apache.camel:camel-sjms2 to 4.14.8 or later
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-sjms2 -->
Maven
Update org.apache.camel:camel-sjms to 4.18.3 or later
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-sjms -->
Maven
Update org.apache.camel:camel-sjms to 4.21.0 or later
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-sjms -->
Maven
Update org.apache.camel:camel-amqp to 4.18.3 or later
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-amqp -->
Maven
Update org.apache.camel:camel-activemq6 to 4.14.8 or later
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-activemq6 -->
Maven
Update org.apache.camel:camel-amqp to 4.21.0 or later
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-amqp -->
Maven
Update org.apache.camel:camel-sjms2 to 4.18.3 or later
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-sjms2 -->
Maven
Update org.apache.camel:camel-activemq to 4.18.3 or later
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-activemq -->
Maven
Update org.apache.camel:camel-activemq to 4.21.0 or later
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-activemq -->
Maven
Update org.apache.camel:camel-sjms2 to 4.21.0 or later
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-sjms2 -->
Maven
Update org.apache.camel:camel-jms to 4.18.3 or later
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-jms -->
Maven
Update org.apache.camel:camel-jms to 4.21.0 or later
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-jms -->
Maven
Update org.apache.camel:camel-activemq6 to 4.21.0 or later
<!-- Update pom.xml dependency version to 4.21.0 for org.apache.camel:camel-activemq6 -->
Maven
Update org.apache.camel:camel-activemq6 to 4.18.3 or later
<!-- Update pom.xml dependency version to 4.18.3 for org.apache.camel:camel-activemq6 -->
Maven
Update org.apache.camel:camel-sjms to 4.14.8 or later
<!-- Update pom.xml dependency version to 4.14.8 for org.apache.camel:camel-sjms -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (18)

Affects 1 ecosystem: Maven (6).

PackageFixed In
org.apache.camel:camel-jms Maven · Affected: 3.0.0, 3.0.1, 3.1.0, 3.10.0 (+132 more)4.14.8
org.apache.camel:camel-activemq Maven · Affected: 3.0.0, 3.0.1, 3.1.0, 3.10.0 (+129 more)4.14.8
org.apache.camel:camel-amqp Maven · Affected: 3.0.0, 3.0.1, 3.1.0, 3.10.0 (+132 more)4.14.8
org.apache.camel:camel-sjms2 Maven · Affected: 3.0.0, 3.0.1, 3.1.0, 3.10.0 (+132 more)4.14.8
org.apache.camel:camel-sjms Maven · Affected: 4.15.0, 4.16.0, 4.17.0, 4.18.0 (+2 more)4.18.3
org.apache.camel:camel-sjms Maven · Affected: 4.19.0, 4.20.04.21.0
org.apache.camel:camel-amqp Maven · Affected: 4.15.0, 4.16.0, 4.17.0, 4.18.0 (+2 more)4.18.3
org.apache.camel:camel-activemq6 Maven · Affected: 4.10.0, 4.10.1, 4.10.2, 4.10.3 (+29 more)4.14.8
org.apache.camel:camel-amqp Maven · Affected: 4.19.0, 4.20.04.21.0
org.apache.camel:camel-sjms2 Maven · Affected: 4.15.0, 4.16.0, 4.17.0, 4.18.0 (+2 more)4.18.3
org.apache.camel:camel-activemq Maven · Affected: 4.15.0, 4.16.0, 4.17.0, 4.18.0 (+2 more)4.18.3
org.apache.camel:camel-activemq Maven · Affected: 4.19.0, 4.20.04.21.0
org.apache.camel:camel-sjms2 Maven · Affected: 4.19.0, 4.20.04.21.0
org.apache.camel:camel-jms Maven · Affected: 4.15.0, 4.16.0, 4.17.0, 4.18.0 (+2 more)4.18.3
org.apache.camel:camel-jms Maven · Affected: 4.19.0, 4.20.04.21.0
org.apache.camel:camel-activemq6 Maven · Affected: 4.19.0, 4.20.04.21.0
org.apache.camel:camel-activemq6 Maven · Affected: 4.15.0, 4.16.0, 4.17.0, 4.18.0 (+2 more)4.18.3
org.apache.camel:camel-sjms Maven · Affected: 3.0.0, 3.0.1, 3.1.0, 3.10.0 (+132 more)4.14.8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Frequently Asked Questions

What is CVE-2026-43866?
Apache Camel JMS deserialization filter bypass. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.3/10).
How do I check if my project is affected by CVE-2026-43866?
CVE-2026-43866 affects org.apache.camel:camel-jms, org.apache.camel:camel-activemq and org.apache.camel:camel-amqp (and 3 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-43866 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.3

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.65%
EPSS percentile: 46

This is a below-median EPSS score — only 46% 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

GHSA-f755-xp6r-8q84

Related CVEs

  • CVE-2026-48204
    CRITICAL

    Apache Camel: camel-mongodb-gridfs producer allows GridFS operation override and NoSQL operator injection via unfiltered  gridfs.*  HTTP headers

  • CVE-2026-48205
    CRITICAL

    Apache Camel DNS Has Improper Input Validation, Leading to Server-Side Request Forgery (SSRF)

  • CVE-2026-40453
    CRITICAL

    Apache Camel has an incomplete fix for CVE-2025-27636

  • CVE-2026-71300
    CRITICAL

    Apache Camel-Atmosphere-Websocket: WebSocket dispatch header injection - the producer selected its target peers through Exchange headers whose names sat outside the filtered Camel namespace

  • CVE-2026-40860
    CRITICAL

    Apache camel-jms, camel-sjms, camel-sjms2 and camel-amqp: Unsafe Deserialization of JMS ObjectMessage

  • CVE-2026-40859
    HIGH

    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-42527
    HIGH

    Apache Camel: Permissive default ObjectInputFilter pattern admits java.net.** and enables DNS-based information disclosure

  • CVE-2026-46592
    HIGH

    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

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml