External Control of Assumed-Immutable Web Parameter Affecting org.apache.camel:camel-atmosphere-websocket package, versions [4.0.0,4.14.9)[4.15.0,4.18.4)[4.19.0,4.22.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-19350820
  • published27 Aug 2026
  • disclosed24 Aug 2026
  • creditUnknown

Introduced: 24 Aug 2026

NewCVE-2026-71300  (opens in a new tab)
CWE-472  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-atmosphere-websocket to version 4.14.9, 4.18.4, 4.22.0 or higher.

Overview

Affected versions of this package are vulnerable to External Control of Assumed-Immutable Web Parameter through WebsocketConstants and the AtmosphereWebsocketEndpointBuilderFactory/WebsocketProducer dispatch headers in the atmosphere-websocket producer. An attacker can redirect or suppress messages intended for connected WebSocket peers by sending crafted inbound HTTP headers that populate websocket.connectionKey.list or websocket.connectionKey and influence which client(s) receive the message. In routes that bridge an untrusted HTTP consumer into an atmosphere-websocket: producer, the producer accepts these header values from the inbound exchange and uses them to select the delivery target. This lets an external sender take over the dispatch decision, causing messages to be delivered to the wrong WebSocket connection or not delivered at all.

Workarounds

  • Strip websocket.* dispatch headers at the trust boundary before the atmosphere-websocket: producer, for example with removeHeaders("websocket.*") between the HTTP consumer and the producer; this prevents an external sender from overriding websocket.connectionKey.list / websocket.connectionKey and hijacking recipient selection.
  • Do not bridge an untrusted HTTP consumer directly into a header-driven atmosphere-websocket: producer unless you first remove the dispatch namespace; this prevents crafted inbound HTTP headers from redirecting or suppressing messages to connected WebSocket peers.

CVSS Base Scores

version 4.0
version 3.1