Improper input validation in Apache Camel Vertx Websocket
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel Vertx Websocket | 4.0.0 to before 4.14.8; 4.15.0 to before 4.18.3; 4.19.0 to before 4.21.0 | 4.14.8, 4.18.3, 4.21.0 | Patch available | CNA |
| — | org.apache.camel:camel-vertx-websocket (Maven) | 4.0.0 to before 4.14.8 | 4.14.8 | Patch available | GHSA-hgg5-gp4c-gpcg |
| — | org.apache.camel:camel-vertx-websocket (Maven) | 4.15.0 to before 4.18.3 | 4.18.3 | Patch available | GHSA-hgg5-gp4c-gpcg |
| — | org.apache.camel:camel-vertx-websocket (Maven) | 4.19.0 to before 4.21.0 | 4.21.0 | Patch available | GHSA-hgg5-gp4c-gpcg |
- Apache Camel Vertx Websocket VendorApache Affected 4.0.0 to before 4.14.8; 4.15.0 to before 4.18.3; 4.19.0 to before 4.21.0 Fixed in 4.14.8, 4.18.3, 4.21.0 Patch available CNA
- org.apache.camel:camel-vertx-websocket (Maven) Vendor— Affected 4.0.0 to before 4.14.8 Fixed in 4.14.8 Patch available GHSA-hgg5-gp4c-gpcg
- org.apache.camel:camel-vertx-websocket (Maven) Vendor— Affected 4.15.0 to before 4.18.3 Fixed in 4.18.3 Patch available GHSA-hgg5-gp4c-gpcg
- org.apache.camel:camel-vertx-websocket (Maven) Vendor— Affected 4.19.0 to before 4.21.0 Fixed in 4.21.0 Patch available GHSA-hgg5-gp4c-gpcg
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* | 4.0.0 to before 4.14.8; 4.15.0 to before 4.18.3; 4.19.0 to before 4.21.0 | Vulnerable | Apache |
- cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.14.8; 4.15.0 to before 4.18.3; 4.19.0 to before 4.21.0 Vulnerable ·Apache
Remediation
- Fix · CNA Apache Camel Vertx Websocket (Apache Software Foundation) Fixed in 4.14.8, 4.18.3, 4.21.0
- Fix · GHSA-hgg5-gp4c-gpcg org.apache.camel:camel-vertx-websocket (Maven) Fixed in 4.14.8 Advisory →
- Fix · GHSA-hgg5-gp4c-gpcg org.apache.camel:camel-vertx-websocket (Maven) Fixed in 4.18.3 Advisory →
- Fix · GHSA-hgg5-gp4c-gpcg org.apache.camel:camel-vertx-websocket (Maven) Fixed in 4.21.0 Advisory →
Red Hat 2 advisories
- RHSA-2026:54622 Released 2026-08-13 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.18.3 for Spring Boot release.
- Red Hat build of Apache Camel 4.18.3 for Spring Boot 3.5.16
- RHSA-2026:48118 Released 2026-07-30 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.18.3 for Quarkus 3.33 update is now available (RHBQ 3.33.2.SP3)
- Red Hat Build of Apache Camel 3.33.2.SP3 io.netty.netty-codec-haproxy-4.1.136.Final-redhat-00001.jar, io.netty.netty-codec-http-4.1.136.Final-redhat-00001.jar, io.netty.netty-codec-http2-4.1.136.Final-redhat-00001.jar +9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet |
| Red Hat Build of Apache Camel 3.33.2.SP3 | Fixed | RHSA-2026:48118 |
| Red Hat build of Apache Camel 4.18.3 for Spring Boot 3.5.16 | Fixed | RHSA-2026:54622 |
Not affected: 1 product
- Red Hat Build of Apache Camel 3.33.2.SP3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46726
- 2026-10-03 Alias added: GHSA-hgg5-gp4c-gpcg
- 2026-10-09 Fix available: RHSA-2026:48118 · Red Hat
- 2026-10-09 Fix available: Red Hat Build of Apache Camel 4.18 for Quarkus 3.33 · Red Hat
- 2026-10-10 Fix available: Red Hat Build of Apache Camel 3.33.2.SP3 · Red Hat
References
Advisory 3
Other 11
- https://github.com/apache/camel/pull/23285
- https://github.com/apache/camel/pull/23313
- https://github.com/apache/camel/pull/23352
- https://github.com/apache/camel/commit/1e776238202edb9d98972cff558e12b53e499647
- https://github.com/apache/camel/commit/508fc15deca97ba373eb3881a00e220eab9ec428
- https://github.com/apache/camel/commit/88c43e3af36013585b5483c671950f30e5833a5f
- https://github.com/apache/camel
- https://github.com/apache/camel/releases/tag/camel-4.14.8
- https://github.com/apache/camel/releases/tag/camel-4.18.3
- https://github.com/apache/camel/releases/tag/camel-4.21.0
- https://issues.apache.org/jira/browse/CAMEL-23532
More Apache Camel vulnerabilities
- TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
- TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
- TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
- TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
- TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
- TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-46726 · CVE Program
- CVE-2026-46726 · NVD
- FIRST EPSS
- GHSA-hgg5-gp4c-gpcg · GitHub Advisory Database · CC BY 4.0
- CVE-2026-46726 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences