CVE-2026-78165: Apache Camel · Deserialization of Untrusted Data
Affects Apache CamelSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 4.22.1 or 4.18.5 soon.
Data as of 2 Dec 2026, 18:37 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.22.1, 4.18.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade Apache to 4.22.1 or 4.18.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apache Camelorg.apache.camel:camel-spring-redis | Affected
| Fixed in
|
| Apache Camelorg.apache.camel:camel-spring-redis | Affected
| Fixed in
|
MavenApache Software Foundation/org.apache.camel:camel-spring-redispkg:maven/Apache Software Foundation/org.apache.camel:camel-spring-redisOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade Apache Camel to version 4.18.5, 4.22.1, or later (such as 4.23.0) where the issue is fixed. For deployments unable to upgrade immediately, set the JVM-wide jdk.serialFilter system property to restrict deserialization of untrusted classes. Alternatively, configure the serializer endpoint option to use a non-Java serializer like StringRedisSerializer (note this must be set as the serializer option, not only on a custom redisTemplate). Additionally, require authentication on the Redis instance, restrict which clients can publish to subscribed channels, and avoid exposing Redis instances consumed by Camel to untrusted networks. These mitigations reduce the risk until a full upgrade can be performed.
Description
CVE-2026-78165 is a deserialization of untrusted data vulnerability in the Apache Camel Spring Redis component affecting versions from 2.11.0 before 4.18.5 and from 4.19.0 before 4.22.1. The vulnerability arises because the component uses a default Java serialization mechanism without applying any object input filtering, allowing arbitrary serialized objects to be deserialized and their readObject methods executed. This occurs before any route logic can inspect the message, exposing the system to potential remote code execution if an attacker can publish messages to subscribed Redis channels. The issue is fixed in Apache Camel versions 4.18.5, 4.22.1, and later 4.23.0. Mitigations include upgrading to fixed versions, setting JVM-wide serialization filters, configuring non-Java serializers, and restricting Redis access.
References
- camel.apache.org/security/CVE-2026-78165.html (opens in a new tab)
- issues.apache.org/jira/browse/CAMEL-24421 (opens in a new tab)
- github.com/apache/camel/pull/25587 (opens in a new tab)
- github.com/apache/camel/pull/25588 (opens in a new tab)
- github.com/apache/camel/pull/25589 (opens in a new tab)
- github.com/apache/camel/pull/25734 (opens in a new tab)
- github.com/oscerd/CVE-2026-78165 (opens in a new tab)