Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.1CVE-2026-121883

Apache Camel Netty: unsafe deserialization of DefaultExchangeHolder objects

Published 03/12/2026 · Updated 04/12/2026 · Apache Camel

Summary

In the camel-netty component of Apache Camel, when a TCP consumer uses Netty's object codec (ObjectDecoder), NettyPayloadHelper unmarshalls incoming DefaultExchangeHolder objects without checking whether transferExchange=true is enabled on the endpoint. This is deserialization of untrusted data (CWE-502).

Per the CVSS vector (8.1, high), the attack is network-based, requires no authentication and no user interaction, but has high attack complexity. By sending a crafted serialized object, an attacker can take control of the Exchange state, replacing the body, properties, variables and headers (including Camel internal control headers) while bypassing configured header filters. High impact on confidentiality, integrity and availability is possible.

Affected versions: 4.0.0 before 4.18.6, 4.19.0 before 4.22.3, and 4.23.0 before 4.24.0. The vulnerability is not listed in the CISA KEV catalog.

Who is affected

Organizations running Apache Camel 4.x with the camel-netty component and TCP consumers using ObjectDecoder (object codec).

What to do

  1. Upgrade Apache Camel to 4.24.0.
  2. Users on the 4.22.x LTS stream should upgrade to 4.22.3; users on the 4.18.x LTS stream should upgrade to 4.18.6.
  3. Inventory applications using camel-netty and check whether TCP consumers use the object codec (ObjectDecoder).
  4. Until upgraded, restrict network access to exposed Netty TCP endpoints to trusted sources only.
  5. Follow the official advisory: https://camel.apache.org/security/CVE-2026-121883.html

Vendor 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.

Original text from the vendor's CVE record.

Affected products and versions

Apache Software Foundation Apache Camel4.0.0 – < 4.18.6 · 4.19.0 – < 4.22.3 · 4.23.0 – < 4.24.0Fixed in: 4.18.6 · 4.22.3 · 4.24.0

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

  • CWE-502 Deserialization of Untrusted Data

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.