CVE-2026-120400: Apache Camel: Camel-Netty-HTTP endpoints that differ only in options share one producer, reusing another endpoint's TLS and header filter
Exposure of Resource to Wrong Sphere vulnerability in Apache Camel Netty HTTP 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.
In camel-netty-http, endpoints that differed only in options shared a single producer when invoked through a ProducerTemplate or toD, because NettyHttpComponent.createEndpoint built a cache key that omitted the security-relevant options, so one endpoint could reuse another endpoint's TLS settings, hostname verification, trust store, client certificate and header filter instead of its own. The fixed releases include those options in the producer cache key so each endpoint uses its own security configuration.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.24.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are exposed in practice?
Deployments using camel-netty-http through a ProducerTemplate or toD are exposed when they invoke endpoints that differ only in options. The issue is security-relevant where those options define TLS settings, hostname verification, a trust store, a client certificate, or a header filter.
What must occur for an attacker to benefit from this issue?
The affected application must cause one endpoint to reuse a producer created for another endpoint whose configuration differs only in omitted options. This can result in requests using the other endpoint's TLS or header-filter configuration rather than their intended configuration.
How can I determine whether my Apache Camel version is affected and remediate it?
Affected versions are 4.0.0 through before 4.18.6, 4.19.0 through before 4.22.3, and 4.23.0 through before 4.24.0. Upgrade to 4.18.6 for the 4.18.x LTS stream, 4.22.3 for the 4.22.x LTS stream, or 4.24.0.