GHSA-rcvm-6r79-cf4r

Suggest an improvement
Source
https://github.com/advisories/GHSA-rcvm-6r79-cf4r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-rcvm-6r79-cf4r/GHSA-rcvm-6r79-cf4r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rcvm-6r79-cf4r
Aliases
Published
2026-07-06T09:30:30Z
Modified
2026-08-28T20:25:38Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Apache Camel-Atmosphere-Websocket: The inbound consumer maps externally-supplied WebSocket query parameters into the Exchange without a HeaderFilterStrategy
Details

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

The camel-atmosphere-websocket consumer mapped inbound WebSocket query parameters into the Camel Exchange header map without applying any HeaderFilterStrategy (WebsocketConsumer.sendEventNotification() iterates the query-string map collected in WebsocketConsumer.service() and copies each entry into the Exchange). 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 consumer apply the HeaderFilterStrategy it already inherits from the HTTP/servlet stack, filtering 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.

Database specific
{
    "cwe_ids": [
        "CWE-20",
        "CWE-918"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-08-28T20:10:43Z",
    "nvd_published_at": "2026-07-06T09:16:38Z",
    "severity": "HIGH"
}
References

Affected packages

Maven
org.apache.camel:camel-atmosphere-websocket

Package

Name
org.apache.camel:camel-atmosphere-websocket
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-atmosphere-websocket

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.14.8

Affected versions

4.*
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.5.0
4.6.0
4.7.0
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9
4.9.0
4.10.0
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4.10.6
4.10.7
4.10.8
4.10.9
4.11.0
4.12.0
4.13.0
4.14.0
4.14.1
4.14.2
4.14.3
4.14.4
4.14.5
4.14.6
4.14.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-rcvm-6r79-cf4r/GHSA-rcvm-6r79-cf4r.json"
org.apache.camel:camel-atmosphere-websocket

Package

Name
org.apache.camel:camel-atmosphere-websocket
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-atmosphere-websocket

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.18.3

Affected versions

4.*
4.15.0
4.16.0
4.17.0
4.18.0
4.18.1
4.18.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-rcvm-6r79-cf4r/GHSA-rcvm-6r79-cf4r.json"
org.apache.camel:camel-atmosphere-websocket

Package

Name
org.apache.camel:camel-atmosphere-websocket
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-atmosphere-websocket

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.21.0

Affected versions

4.*
4.19.0
4.20.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-rcvm-6r79-cf4r/GHSA-rcvm-6r79-cf4r.json"