Severity: 
    CVSS 3.1: 4.2 (medium) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected versions:

- Apache Camel (org.apache.camel:camel-cometd) 4.0.0 before 4.18.6
- Apache Camel (org.apache.camel:camel-cometd) 4.19.0 before 4.22.3
- Apache Camel (org.apache.camel:camel-cometd) 4.23.0 before 4.24.0

Description:

Origin Validation Error vulnerability in Apache Camel CometD 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 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.



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.

Solution:

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:

Federico Mariani (finder)
Andrea Cosentino (remediation developer)

References:

https://camel.apache.org/security/CVE-2026-116629.html
https://issues.apache.org/jira/browse/CAMEL-26335
https://github.com/apache/camel/pull/28555
https://github.com/apache/camel/pull/28561
https://github.com/apache/camel/pull/28562
https://camel.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-116629

Reply via email to