Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-40860

published critical CVSS 3.1 · 9.8

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

Published
27 Apr 2026, 08:03:19 UTC
Updated
10 Sep 2026, 12:04:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — org.apache.camel:camel-jmsApache Camel · 3.0.0 to < 4.14.7 · 4.15.0 to < 4.18.2 · 4.19.0 to < 4.20.0 · Other versions: unaffected Affected Not stated apache
Red Hat — camel-amqpRed Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 Unaffected Not required redhat-SADP
Red Hat — camel-jmsRed Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 Unaffected Not required redhat-SADP
Red Hat — camel-amqpRed Hat Build of Apache Camel 4.18 for Quarkus 3.33 Unaffected Not required redhat-SADP
Red Hat — camel-jmsRed Hat Build of Apache Camel 4.18 for Quarkus 3.33 Unaffected Not required redhat-SADP
Red Hat — camel-amqpRed Hat build of Apache Camel 4 for Quarkus 3 Affected Not stated redhat-SADP
Red Hat — camel-jmsRed Hat build of Apache Camel 4 for Quarkus 3 Affected Not stated redhat-SADP
Red Hat — camel-amqpRed Hat Fuse 7 Unaffected Not required redhat-SADP
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — camel-jmsRed Hat Fuse 7 Unaffected Not required redhat-SADP
Red Hat — camel-jms-starterRed Hat Fuse 7 Unaffected Not required redhat-SADP
Red Hat — camel-amqpRed Hat JBoss Enterprise Application Platform 8 Unaffected Not required redhat-SADP
Red Hat — camel-jmsRed Hat JBoss Enterprise Application Platform 8 Unaffected Not required redhat-SADP
Red Hat — camel-amqpRed Hat JBoss Enterprise Application Platform Expansion Pack Unaffected Not required redhat-SADP
Red Hat — camel-jmsRed Hat JBoss Enterprise Application Platform Expansion Pack Unaffected Not required redhat-SADP

Description

JmsBinding.extractBodyFromJms() in camel-jms, and the equivalent JmsBinding class in camel-sjms, deserialized the payload of incoming JMS ObjectMessage values via javax.jms.ObjectMessage.getObject() without applying any ObjectInputFilter, class allowlist or class denylist. Because this code path is reached whenever the mapJmsMessage option is enabled (the default) and Camel acts as a JMS consumer, an attacker able to publish a crafted ObjectMessage to a queue or topic consumed by a Camel application could achieve remote code execution when a deserialization gadget chain was present on the classpath. The same handling was reached transitively through camel-sjms2 (whose Sjms2Endpoint extends SjmsEndpoint) and through camel-amqp (whose AMQPJmsBinding extends JmsBinding), and by other JMS-family components built on JmsComponent such as camel-activemq and camel-activemq6. This issue affects Apache Camel: from 3.0.0 before 4.14.7, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0. Users are recommended to upgrade to version 4.20.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.7. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.

en · apache · cna

en · redhat-SADP · adp

A flaw was found in Apache Camel. A remote attacker could exploit a deserialization vulnerability by sending a specially crafted Java Message Service (JMS) ObjectMessage to a Camel application acting as a JMS consumer. This vulnerability arises because the application deserializes the message payload without proper validation. Successful exploitation could lead to remote code execution on the system consuming the message, provided a deserialization gadget chain is present on the classpath.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.5 high redhat-SADP · adp CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache Camel 3.0.0 to < 4.14.7 (affected · semver)4.15.0 to < 4.18.2 (affected · semver)4.19.0 to < 4.20.0 (affected · semver)Default: unaffected apache · cna
Red Hat Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 Default: unaffected redhat-SADP · adp
Red Hat Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Build of Apache Camel 4.18 for Quarkus 3.33 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Build of Apache Camel 4.18 for Quarkus 3.33 Default: unaffected redhat-SADP · adp
Red Hat Red Hat build of Apache Camel 4 for Quarkus 3 Default: affected redhat-SADP · adp
Red Hat Red Hat build of Apache Camel 4 for Quarkus 3 Default: affected redhat-SADP · adp
Red Hat Red Hat Fuse 7 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Fuse 7 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Fuse 7 Default: unaffected redhat-SADP · adp
Red Hat Red Hat JBoss Enterprise Application Platform 8 Default: unaffected redhat-SADP · adp
Red Hat Red Hat JBoss Enterprise Application Platform 8 Default: unaffected redhat-SADP · adp
Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Default: unaffected redhat-SADP · adp
Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Default: unaffected redhat-SADP · adp

Weaknesses

2
  • CWE-502 CWE-502 Deserialization of Untrusted Data (apache · cna)
  • CWE-502 Deserialization of Untrusted Data (redhat-SADP · adp)

References

7

Provider assertions

4

apache · cna

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

redhat-SADP · adp

Apache Camel: camel-jms: camel-sjms: camel-sjms2: camel-amqp: camel-activemq: camel-activemq6: Apache Camel: Remote Code Execution via deserialization of JMS ObjectMessage

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4c56a0a48a862643a1507311b6ff10514d49fbed448c84089b8359907f6d1c70
Ingested
23 Sep 2026, 09:13:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected