CVE-2026-116629
Camel-CometD Cross-Origin Ambient Credential Access via Default JSONP Transport
Description
In Apache Camel camel-cometd, CometD's BayeuxServer was instantiated without restricting the allowed transports. Consequently, CometD's legacy JSONP transport (callback-polling) was enabled by default and could not be disabled via endpoint or component configuration. A cross-origin web page could issue GET requests via script tags with ambient browser credentials (such as cookies or TLS client certificates) and read the callback response. Users are advised to upgrade to 4.24.0, 4.22.3, or 4.18.6, where allowedTransports defaults to "websocket,long-polling", or configure allowedTransports explicitly.
Mitigation
Credit
This issue was discovered by Federico Mariani from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26335 refers to the various commits that resolved the issue, and have more details.