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
- Upgrade Apache Camel to 4.24.0.
- 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.
- Inventory applications using camel-netty and check whether TCP consumers use the object codec (ObjectDecoder).
- Until upgraded, restrict network access to exposed Netty TCP endpoints to trusted sources only.
- 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
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
- camel.apache.org/security/CVE-2026-121883.html vendor advisory
- issues.apache.org/jira/browse/CAMEL-26587
- github.com/apache/camel/pull/29165 patch
- github.com/apache/camel/pull/29188 patch
- github.com/apache/camel/pull/29189 patch
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.