Severity:
CVSS 3.1: 8.8 (high) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected versions:
- Apache Camel (org.apache.camel:camel-redis) 4.0.0 before 4.18.6
- Apache Camel (org.apache.camel:camel-redis) 4.19.0 before 4.22.3
- Apache Camel (org.apache.camel:camel-redis) 4.23.0 before 4.24.0
Description:
Deserialization of Untrusted Data vulnerability in Apache Camel Redis component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before
4.22.3, from 4.23.0 before 4.24.0.
camel-redis RedisAggregationRepository.doStart() built its Redisson client
without setting a codec, so Redisson installed Kryo5Codec with registration not
required and a JavaSerializer registered for Throwable, and every value the
repository read back from Redis (at route start-up, from the aggregation
interval task, and during recovery) was deserialized through unrestricted Kryo
instantiation and an unfiltered ObjectInputStream, even with useRecovery=false.
An attacker able to write to the Redis store used as the aggregation repository
could place a crafted serialized value that leads to remote code execution when
a usable gadget chain is present on the classpath. The fixed releases apply a
class allow-list to the codec and an ObjectInputFilter on the
Java-serialization path.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS
release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream
should upgrade to 4.18.6.
Solution:
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS
release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream
should upgrade to 4.18.6.
Credit:
Mario Madersbacher (finder)
Claus Ibsen (remediation developer)
References:
https://camel.apache.org/security/CVE-2026-133005.html
https://issues.apache.org/jira/browse/CAMEL-27225
https://github.com/apache/camel/pull/30368
https://github.com/apache/camel/pull/30393
https://github.com/apache/camel/pull/30394
https://camel.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-133005