# CVE-2026-46726: 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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-26)
- **CWE:** CWE-20, CWE-200, CWE-918
- **Aliases:** GHSA-hgg5-gp4c-gpcg
- **Published:** 2026-07-06T08:05:40.270Z
- **Modified:** 2026-10-25T15:10:00.147Z

## Who should check

- Projects that depend on Maven package org.apache.camel:camel-vertx-websocket (\>= 4.0.0, \< 4.14.8)
- Anyone running Apache Software Foundation Apache Camel Vertx Websocket \>= 4.0.0, \< 4.14.8; \>= 4.15.0, \< 4.18.3; \>= 4.19.0, \< 4.21.0

## 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.

## Affected and fixed versions

- Maven `org.apache.camel:camel-vertx-websocket`: affected \>= 4.0.0, \< 4.14.8; fixed 4.14.8, 4.18.3, 4.21.0 (osv)
- Apache Software Foundation Apache Camel Vertx Websocket: \>= 4.0.0, \< 4.14.8; \>= 4.15.0, \< 4.18.3; \>= 4.19.0, \< 4.21.0 (cvelist)

## Mitigation

- Upgrade org.apache.camel:camel-vertx-websocket to one of 4.14.8, 4.18.3, 4.21.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46726. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46726.md
Affected: org.apache.camel:camel-vertx-websocket >= 4.0.0, < 4.14.8
Fixed in: 4.14.8, 4.18.3, 4.21.0

Steps:
1. Search this machine and project for org.apache.camel:camel-vertx-websocket (Maven), Apache Software Foundation Apache Camel Vertx Websocket: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46726 being exploited?

There is no confirmed exploitation: CVE-2026-46726 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46726?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-46726?

org.apache.camel:camel-vertx-websocket \>= 4.0.0, \< 4.14.8.

### Is there a fix for CVE-2026-46726?

Yes. Fixed in 4.14.8, 4.18.3, 4.21.0. Upgrade org.apache.camel:camel-vertx-websocket to one of 4.14.8, 4.18.3, 4.21.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-46726?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://camel.apache.org/security/CVE-2026-46726.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-46726>
- patch: <https://github.com/apache/camel/pull/23285>
- patch: <https://github.com/apache/camel/pull/23313>
- patch: <https://github.com/apache/camel/pull/23352>
- patch: <https://github.com/apache/camel/commit/1e776238202edb9d98972cff558e12b53e499647>
- patch: <https://github.com/apache/camel/commit/508fc15deca97ba373eb3881a00e220eab9ec428>
- patch: <https://github.com/apache/camel/commit/88c43e3af36013585b5483c671950f30e5833a5f>
- other: <http://www.openwall.com/lists/oss-security/2026/07/05/16>
- other: <https://github.com/apache/camel>
- other: <https://github.com/apache/camel/releases/tag/camel-4.14.8>
- other: <https://github.com/apache/camel/releases/tag/camel-4.18.3>
- other: <https://github.com/apache/camel/releases/tag/camel-4.21.0>
- other: <https://issues.apache.org/jira/browse/CAMEL-23532>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46726>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-hgg5-gp4c-gpcg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-46726> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46726>
