CVE-2026-55993: CWE-20 Improper Input Validation in Apache Software Foundation Apache Camel Atmosphere Websocket
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.
AI Analysis
Technical Summary
The Apache Camel Atmosphere Websocket consumer improperly maps inbound WebSocket query parameters into the Camel Exchange header map without filtering the Camel header namespace. This allows an attacker to supply Camel-internal control headers like CamelHttpUri as query parameters, which can redirect server-side HTTP requests to attacker-controlled destinations (SSRF). Additionally, the HTTP producer resolves property placeholders in the injected URI, disclosing sensitive environment variables, application properties, and vault secrets. The vulnerability affects Apache Camel versions from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, and from 4.19.0 before 4.21.0. The fix applies a HeaderFilterStrategy to block externally supplied Camel headers on inbound mapping.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to perform server-side request forgery by controlling the HTTP URI used by downstream HTTP producers. This can lead to unauthorized access to internal services or cloud metadata endpoints. Furthermore, the attacker can cause disclosure of sensitive information such as environment variables, application properties, and vault secrets by leveraging property placeholder resolution on the attacker-controlled URI. The CVSS score is 7.5 (high severity) with no impact on integrity or availability but high impact on confidentiality.
Mitigation Recommendations
A fixed version is available: upgrade to Apache Camel 4.21.0 or later. For users on the 4.14.x LTS stream, upgrade to 4.14.8; for the 4.18.x stream, upgrade to 4.18.3. The fix enforces filtering of Camel headers on inbound WebSocket query parameters. If immediate upgrade is not possible, mitigate by stripping Camel control headers (e.g., removeHeaders('Camel*') and removeHeaders('camel*')) at the start of the route, require authentication on the WebSocket endpoint, and avoid bridging untrusted WebSocket consumers directly into HTTP producers with attacker-controlled URIs.
CVE-2026-55993: CWE-20 Improper Input Validation in Apache Software Foundation Apache Camel Atmosphere Websocket
Description
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:maven/Apache Software Foundation/org.apache.camel:camel-atmosphere-websocketRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Apache Camel Atmosphere Websocket consumer improperly maps inbound WebSocket query parameters into the Camel Exchange header map without filtering the Camel header namespace. This allows an attacker to supply Camel-internal control headers like CamelHttpUri as query parameters, which can redirect server-side HTTP requests to attacker-controlled destinations (SSRF). Additionally, the HTTP producer resolves property placeholders in the injected URI, disclosing sensitive environment variables, application properties, and vault secrets. The vulnerability affects Apache Camel versions from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, and from 4.19.0 before 4.21.0. The fix applies a HeaderFilterStrategy to block externally supplied Camel headers on inbound mapping.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to perform server-side request forgery by controlling the HTTP URI used by downstream HTTP producers. This can lead to unauthorized access to internal services or cloud metadata endpoints. Furthermore, the attacker can cause disclosure of sensitive information such as environment variables, application properties, and vault secrets by leveraging property placeholder resolution on the attacker-controlled URI. The CVSS score is 7.5 (high severity) with no impact on integrity or availability but high impact on confidentiality.
Mitigation Recommendations
A fixed version is available: upgrade to Apache Camel 4.21.0 or later. For users on the 4.14.x LTS stream, upgrade to 4.14.8; for the 4.18.x stream, upgrade to 4.18.3. The fix enforces filtering of Camel headers on inbound WebSocket query parameters. If immediate upgrade is not possible, mitigate by stripping Camel control headers (e.g., removeHeaders('Camel*') and removeHeaders('camel*')) at the start of the route, require authentication on the WebSocket endpoint, and avoid bridging untrusted WebSocket consumers directly into HTTP producers with attacker-controlled URIs.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-18T08:12:33.509Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4b6cb027e9c7971925269f
Added to database: 07/06/2026, 08:52:00 UTC
Last enriched: 07/14/2026, 09:09:51 UTC
Last updated: 08/19/2026, 10:57:09 UTC
Views: 83
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.