SCA: security update for org.apache.camel:camel-vertx-websocket (GHSA-hgg5-gp4c-gpcg)

high Tenable Self-Hosted Container Security Plugin ID 497634

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-46726)

Solution

Update the org.apache.camel:camel-vertx-websocket library and its related packages to version 4.14.8 or later.

See Also

https://github.com/advisories/GHSA-hgg5-gp4c-gpcg

Plugin Details

Severity: High

ID: 497634

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.74

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-46726

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/6/2026

Vulnerability Publication Date: 7/6/2026

Reference Information

CVE: CVE-2026-46726