← Security advisories
Apache Camel security advisory

CVE-2026-107487

Camel-Thrift Information Disclosure via Unmuted Consumer Exceptions

Description

The Apache Camel camel-thrift component runs a Thrift RPC server for its consumer. When processing of an inbound call failed, the consumer returned the route's own exception - including its internal message - to the remote (untrusted) client, disclosing internal application and Exchange state across the consumer's trust boundary. A new muteException consumer option, enabled by default, now answers an undeclared failure with a generic Thrift error while still returning exceptions that are declared in the service IDL, so clients written against the contract keep working.

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 Shashank Mohan Jain

Notes

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

References