← Security advisories
Apache Camel security advisory

CVE-2026-120400

Camel-Netty-HTTP endpoints that differ only in options share one producer, reusing another endpoint's TLS and header filter

Description

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.

Mitigation

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

This issue was discovered by Claus Ibsen from Apache Software Foundation

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26485 refers to the various commits that resolved the issue, and have more details.

References