Description
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.
Published: 2026-07-06
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Improper input validation in the Apache Camel Vertx WebSocket component causes inbound WebSocket query and path parameters to be mapped directly into the Camel Exchange header map without a HeaderFilterStrategy, allowing an attacker to inject Camel‑internal control headers such as CamelHttpUri through query parameters; when the consumer feeds a downstream HTTP producer, the injected CamelHttpUri redirects the server‑side HTTP request to an attacker‑chosen destination, enabling SSRF to internal services or cloud metadata endpoints, and the HTTP producer resolves property placeholders in the attacker‑controlled URI, exposing environment variables, application properties, and vault secrets; this can be performed by an unauthenticated remote attacker accessing the WebSocket endpoint, leading to confidentiality and integrity compromise as described by CWE‑20, CWE‑200, and CWE‑918.

Affected Systems

Affected systems include the Apache Camel Vertx WebSocket component from the Apache Software Foundation. Versions prior to 4.14.8 in the 4.0.0‑4.13.x stream, prior to 4.18.3 in the 4.15.0‑4.17.x stream, and prior to 4.21.0 in the 4.19.0‑4.20.x stream are vulnerable. Versions 4.14.8, 4.18.3, 4.21.0, and later contain the fix.

Risk and Exploitability

The vulnerability has a CVSS score of 7.5, indicating a high severity risk to confidentiality, integrity, and availability; the EPSS score of less than 1% indicates that automated exploitation is unlikely but possible; it is not listed in the CISA KEV catalog. The attack vector is inferred to be remote unauthenticated access to the WebSocket endpoint, as the description notes that the endpoint is exposed without authentication; the attacker simply supplies malicious query or path parameters to inject Camel control headers which then cause SSRF and potential disclosure of sensitive configuration data.

Generated by OpenCVE AI on July 26, 2026 at 20:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Camel to the latest available patch, such as moving 4.14.x LTS to 4.14.8, 4.18.x to 4.18.3, or 4.19.x to 4.21.0, which applies a HeaderFilterStrategy that blocks Camel control headers.
  • If an upgrade cannot be performed immediately, strip Camel control headers from inbound messages before they reach downstream producers, for example by adding a route step that executes removeHeaders('Camel*') and removeHeaders('camel*').
  • Ensure that the WebSocket endpoint requires authentication so that only trusted clients can connect.
  • Avoid bridging an untrusted WebSocket consumer directly into an HTTP producer whose target URI is driven from message headers.

Generated by OpenCVE AI on July 26, 2026 at 20:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache camel Vertx Websocket
Vendors & Products Apache
Apache camel Vertx Websocket

Mon, 06 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 09:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache Camel Vertx Websocket: The inbound consumer maps externally-supplied WebSocket query and path parameters into the Exchange without a HeaderFilterStrategy, allowing injection of Camel control headers
Weaknesses CWE-20
CWE-200
CWE-918
References

Subscriptions

Apache Camel Vertx Websocket
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-06T19:19:03.677Z

Reserved: 2026-05-16T16:46:21.884Z

Link: CVE-2026-46726

cve-icon Vulnrichment

Updated: 2026-07-06T09:25:24.080Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-06T08:05:40Z

Links: CVE-2026-46726 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T21:00:04Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-918

    Server-Side Request Forgery (SSRF)