Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.camel/camel-vertx-websocket
  4. ›
  5. CVE-2026-46726

CVE-2026-46726: Apache Camel-Vertx-Websocket: The inbound consumer maps externally-supplied WebSocket query and path parameters into the Exchange without a HeaderFilterStrategy

July 6, 2026 (updated August 28, 2026)

Improper Input Validation, Exposure of Sensitive Information to an Unauthorized Actor, Server-Side Request Forgery (SSRF) vulnerability in Apache Camel in Vertx Websocket component.

The camel-vertx-websocket consumer mapped inbound WebSocket query and path parameters into the Camel Exchange header map without applying any HeaderFilterStrategy (VertxWebsocketConsumer.populateExchangeHeaders()). Because nothing blocked the Camel header namespace, a client connecting to the WebSocket endpoint could set Camel-internal control headers - including CamelHttpUri (Exchange.HTTP_URI) - simply by supplying them as query parameters. In a route where the WebSocket consumer feeds a downstream HTTP producer, the injected CamelHttpUri redirects the server-side HTTP request to an attacker-chosen destination (server-side request forgery - for example to an internal service or a cloud metadata endpoint). In addition, the HTTP producer resolves Camel property placeholders on the resulting (attacker-controlled) URI, so placeholders embedded in the injected value - such as an environment-variable reference, an application property, or a vault reference - are resolved to their real values and sent to the attacker, disclosing environment variables, application properties and vault secrets. When the WebSocket endpoint is exposed without authentication, this is reachable by an unauthenticated remote attacker. This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0.

Users are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix makes the affected consumers apply a HeaderFilterStrategy that filters the Camel header namespace case-insensitively on inbound mapping, so externally-supplied Camel* / camel* headers are no longer copied into the Exchange. For deployments that cannot upgrade immediately, strip the Camel control headers from the inbound message before they reach any downstream producer (for example removeHeaders(‘Camel*’) and removeHeaders(‘camel*’) at the start of the route), require authentication on the WebSocket endpoint, and avoid bridging an untrusted consumer directly into an HTTP producer whose target URI can be driven from message headers.

References

  • camel.apache.org/security/CVE-2026-46726.html
  • github.com/advisories/GHSA-hgg5-gp4c-gpcg
  • github.com/apache/camel/commit/1e776238202edb9d98972cff558e12b53e499647
  • github.com/apache/camel/commit/508fc15deca97ba373eb3881a00e220eab9ec428
  • github.com/apache/camel/commit/88c43e3af36013585b5483c671950f30e5833a5f
  • github.com/apache/camel/pull/23285
  • github.com/apache/camel/pull/23313
  • github.com/apache/camel/pull/23352
  • github.com/apache/camel/releases/tag/camel-4.14.8
  • github.com/apache/camel/releases/tag/camel-4.18.3
  • github.com/apache/camel/releases/tag/camel-4.21.0
  • issues.apache.org/jira/browse/CAMEL-23532
  • nvd.nist.gov/vuln/detail/CVE-2026-46726

Code Behaviors & Features

Detect and mitigate CVE-2026-46726 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0 before 4.14.8, all versions starting from 4.15.0 before 4.18.3, all versions starting from 4.19.0 before 4.21.0

Fixed versions

  • 4.14.8
  • 4.18.3
  • 4.21.0

Solution

Upgrade to versions 4.14.8, 4.18.3, 4.21.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

maven/org.apache.camel/camel-vertx-websocket/CVE-2026-46726.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 05 Sep 2026 12:17:14 +0000.