Home / Apache Software Foundation / Apache Camel / CVE-2026-78165
CVE-2026-78165: is it exploited, and which versions of Apache Software Foundation Apache Camel are affected and fixed?
CVE-2026-78165 is a deserialization of untrusted data vulnerability in Apache Software Foundation Apache Camel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Apache Camel from 2.11.0 before 4.18.5 and Apache Camel from 4.19.0 before 4.22.1 (CVE record by apache). Fixed in 4.18.5, 4.22.1 and 4.23.0 (CVE record by apache). Severity: High (8.8, CVSS 3.1, from apache).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-78165?
Apache Camel: Camel-Spring-Redis Unfiltered Java Deserialization of Redis Payloads
Deserialization of Untrusted Data vulnerability in Apache Camel Spring Redis component. This issue affects Apache Camel: from 2.11.0 before 4.18.5, from 4.19.0 before 4.22.1. RedisConfiguration.getSerializer lazily built a bare JdkSerializationRedisSerializer whenever no serializer option was configured, and that instance was used for every read the component performs. Spring's implementation delegates through DeserializingConverter to DefaultDeserializer, which reads the bytes with a ConfigurableObjectInputStream and installs no java.io.ObjectInputFilter on the stream, so an arbitrary serialized class graph was materialised and its readObject method executed. RedisConsumer.setBody applied that serializer to the raw bytes of every message published to the subscribed channels, before the Exchange was constructed and therefore before any route logic could inspect the message, so an actor able to issue PUBLISH on a subscribed channel reached the deserialization sink directly. The same default serializer backed the RedisTemplate built by RedisConfiguration.createDefaultTemplate, so the producer read commands GET, HGET, HGETALL and HVALS deserialized whatever was stored in the Redis keyspace, and SpringRedisIdempotentRepository shared that template. Configuring a custom redisTemplate did not close the consumer path, because RedisConsumer.setBody reads getSerializer directly rather than the serializer attached to the template, so a deployment that had wired a String serializer into its own template remained exposed on the consumer side unless it also set the serializer option. The component never constructed a java.io.ObjectInputStream itself, which is why earlier passes over the Camel codebase for unfiltered Java deserialization did not reach it. The behaviour dates back to the introduction of the component, first released in 2.11.0, and was unchanged until this fix. Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.1. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and earlier reached end of life before this issue was resolved and will not receive a fix, so deployments on those lines must move to a supported release. For deployments that cannot upgrade immediately, set the JVM-wide jdk.serialFilter system property, which the affected code path honours because it reads through a java.io.ObjectInputStream, for example -Djdk.serialFilter=!java.net.**;java.**;javax.**;org.apache.camel.**;!* ; or set the serializer endpoint option to a serializer that does not use Java serialization, such as StringRedisSerializer, noting that this must be set as the serializer option and not only on a custom redisTemplate. As defence in depth, require authentication on the Redis instance and restrict which clients may publish to the subscribed channels, and do not expose a Redis instance consumed by Camel to untrusted networks.
From the CVE record by apache, last updated October 20, 2026, 13:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Camel org.apache.camel:camel-spring-redis | from 2.11.0 before 4.18.5 from 4.19.0 before 4.22.1 | 4.18.5, 4.22.1, 4.23.0 |
As the CVE record by apache states it, last updated October 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-78165?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | apache |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-78165 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, October 20, 2026)
- EPSS
- 0.76% probability of exploitation activity in the next 30 days, percentile 56.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
How do I fix it? (from the CVE record)
Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.22.x releases stream should upgrade to 4.22.1. Users on the 4.18.x releases stream should upgrade to 4.18.5. The 4.14.x releases stream and earlier reached end of life before this issue was resolved and will not receive a fix, so deployments on those lines must move to a supported release. A new deserializationFilter endpoint option controls the filter applied while the default serializer reads Redis payloads; when it is not set, the JVM-wide jdk.serialFilter is honoured if present, and otherwise a conservative default allow-list is applied that permits standard Java and Apache Camel types and denies java.net. On 4.23.0 and 4.22.1 the default additionally enforces the JEP-290 graph-shape limits maxdepth, maxrefs and maxbytes; on 4.18.5 the equivalent local constant is applied without those limits. Because JdkSerializationRedisSerializer exposes no hook for installing a filter, the serializer is constructed through its Converter-based constructor with a deserializing converter that sets the filter on the stream before the graph is read. The single change covers the consumer, the producer read commands and SpringRedisIdempotentRepository.
Is there a workaround? (from the CVE record)
Set the JVM-wide jdk.serialFilter system property, which the affected code path honours because it reads through a java.io.ObjectInputStream, for example -Djdk.serialFilter=!java.net.**;java.**;javax.**;org.apache.camel.**;!* ; or set the serializer endpoint option to a serializer that does not use Java serialization, such as StringRedisSerializer, noting that this must be set as the serializer option and not only on a custom redisTemplate, because the consumer reads getSerializer directly. As defence in depth, require authentication on the Redis instance and restrict which clients may publish to the subscribed channels, and do not expose a Redis instance consumed by Camel to untrusted networks.
Where are the vendor advisories and references?
- Apache Camel Security Advisory - CVE-2026-78165 vendor-advisory
- CAMEL-24421 issue-tracking
- Fix on main, released in 4.23.0 (commit 8db602a5ee105403fa40c1b821157c8d9d0c1977) patch
- Backport to camel-4.22.x, released in 4.22.1 (commit b2ba1ed90562e10e07bfb4a3cab60b817885e6de) patch
- Backport to camel-4.18.x, released in 4.18.5 (commit e721141ddcaeb9a08892730942b1b362c2da1c5c) patch
- Upgrade-guide documentation placed on main (commit ddc7885a7add93326b3d549c565c43bbccad12dc) related
- https://github.com/oscerd/CVE-2026-78165 exploit
Who found and reported it?
- Leon Zlobecki (finder)
- Andrea Cosentino (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 23, 2026
- Published
- October 19, 2026, 10:08 UTC
- CVE record updated
- October 20, 2026, 13:08 UTC by apache
- NVD
- Undergoing Analysis, last modified October 20, 2026, 14:17 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Camel?
- Dec 3, 2026CVE-2026-135919 Apache Software Foundation Apache Camel: exposure of Data Element to Wrong Session
- Dec 3, 2026CVE-2026-135918 Apache Software Foundation Apache Camel: exposure of Data Element to Wrong Session
- Dec 3, 2026CVE-2026-135917 Apache Software Foundation Apache Camel: unintended Proxy or Intermediary
- Dec 3, 2026CVE-2026-135916 Apache Software Foundation Apache Camel: improper Neutralization of CRLF Sequences
- Dec 3, 2026CVE-2026-135915 Apache Software Foundation Apache Camel: authentication bypass (improper authentication)
- Dec 3, 2026CVE-2026-133005 Apache Software Foundation Apache Camel: deserialization of untrusted data
- Dec 3, 2026CVE-2026-132829 Apache Software Foundation Apache Camel: improper certificate validation
- Dec 3, 2026CVE-2026-132828 Apache Software Foundation Apache Camel: sensitive data sent in clear text
Questions about CVE-2026-78165
Is CVE-2026-78165 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.76% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Camel are affected by CVE-2026-78165?
Apache Camel from 2.11.0 before 4.18.5 and Apache Camel from 4.19.0 before 4.22.1, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2026-78165?
4.18.5, 4.22.1 and 4.23.0, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-78165?
High (8.8, CVSS 3.1, from apache). The severity table above shows each score with its source.
Where is the official record of CVE-2026-78165?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.