Summary
CVE-2026-46454 is an Improper Input Validation vulnerability (CWE-20) in the Apache Camel CometD component (camel-cometd), assigned a CVSS v3.1 score of 9.8 (Critical). The flaw allows unauthenticated remote attackers to inject arbitrary Camel internal control headers into a Camel Exchange by exploiting the complete absence of a HeaderFilterStrategy in the CometD message binding layer. Depending on the producers configured in a given route, successful exploitation can lead to Server-Side Request Forgery (SSRF), arbitrary file path manipulation, or JMS destination override.
Technical details
- Root cause:
CometdBinding.populateExchangeFromMessagecopies the entireext.CamelHeadersmap supplied by the CometD client directly onto the Camel message viamessage.setHeaders, without applying anyHeaderFilterStrategyto filter out Camel-internal control headers such asCamelHttpUri,CamelFileName, orCamelJmsDestinationName. - Trigger condition: No Bayeux
SecurityPolicyis installed on theCometdComponentby default. Any client that completes the Bayeux handshake against the CometD endpoint can publish messages — without authentication — containing arbitrary Camel control headers. - Attack vector: The CometD component operates as a network-accessible HTTP/WebSocket server-side endpoint using the Bayeux protocol (
cometd://host:port/channelName), designed for real-time browser-to-server communication over HTTP/HTTPS. - Impact: Injected headers influence the behavior of downstream producers in the route. Examples include: redirecting an HTTP producer to an attacker-controlled destination by manipulating
CamelHttpUri(SSRF); altering file write paths viaCamelFileName; or diverting JMS messages by overridingCamelJmsDestinationName. Injected headers also persist across internaldirect,seda, andvmroute hops. The concrete impact depends on which producers are configured in the specific deployment’s route.
Affected software
- Apache Camel 4.0.0 through 4.14.7
- Apache Camel 4.15.0 through 4.18.2
- Apache Camel 4.19.0 through 4.20.x
Severity
CVSS v3.1 Base Score: 9.8 (Critical)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
Immediate — Patch: Upgrade to one of the following fixed versions released by Apache:
- 4.21.0 — recommended for users on the 4.19.x / 4.20.x release stream
- 4.18.3 — recommended for users on the 4.18.x release stream
- 4.14.8 — recommended for users on the 4.14.x LTS stream
The fix implements a HeaderFilterStrategy in the camel-cometd binding that filters the Camel header namespace case-insensitively on inbound mapping, preventing client-supplied Camel* / camel* headers from being copied into the Exchange.
If immediate patching is not possible — Workarounds:
- Add
removeHeaders('Camel*')andremoveHeaders('camel*')at the start of any route consuming from a CometD endpoint to strip injected control headers before they reach any downstream producer. - Install an explicit Bayeux
SecurityPolicyon theCometdComponentto restrict message publishing to authenticated clients only.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

