CVE-2026-71300: CWE-20 Improper input validation in Apache Software Foundation Apache Camel
Description
CVE-2026-71300 is an improper input validation vulnerability in the Apache Camel Atmosphere Websocket component. It allows an external sender to manipulate WebSocket message dispatch headers, potentially causing messages to be delivered to unintended connected clients. This issue affects multiple Apache Camel versions from 4.0.0 up to but not including 4.14.9, 4.15.0 up to but not including 4.18.4, and 4.19.0 up to but not including 4.22.0. The vulnerability is fixed in Apache Camel 4.22.0, 4.14.9, and 4.18.4. Users unable to upgrade immediately should strip the relevant dispatch headers at the trust boundary before the producer. The fix involves renaming header string values into the Camel namespace, which may cause breaking changes for routes that set them by literal string.
CVSS v3.1
Score 9.8critical
Affected software
Apache Software Foundation
Apache Camel
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper input validation in the Apache Camel Atmosphere Websocket producer component, specifically in how it processes certain Exchange headers (websocket.connectionKey, websocket.connectionKey.list, websocket.sendToAll, websocket.eventType, and websocket.errorType) that control message dispatch to connected WebSocket peers. Because these headers fall outside the Camel namespace filtering, an external HTTP sender can inject or manipulate these headers to alter which clients receive messages. This can suppress notifications intended for one client or redirect them to another client whose connection key is known. The issue affects Apache Camel versions from 4.0.0 before 4.14.9, from 4.15.0 before 4.18.4, and from 4.19.0 before 4.22.0. The vulnerability dates back to the introduction of these constants in version 2.17.0 and was fixed by renaming the header string values into the Camel namespace in the fixed versions. The vendor recommends upgrading to 4.22.0, 4.14.9, or 4.18.4 depending on the release stream. For those who cannot upgrade immediately, removing the dispatch headers (e.g., removeHeaders("websocket.*")) at the trust boundary before the Atmosphere Websocket producer is advised. The fix is a breaking change for routes that set these headers by literal string but not for those referencing the WebsocketConstants symbolically.
Potential Impact
An attacker can manipulate WebSocket dispatch headers to control which connected clients receive messages, potentially causing message suppression or delivery to unintended recipients. This compromises confidentiality and integrity of WebSocket communications and can disrupt application logic relying on targeted message delivery. The CVSS score of 9.8 indicates critical severity with network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in Apache Camel versions 4.22.0, 4.14.9, and 4.18.4. Users should upgrade to these versions to remediate the vulnerability. For deployments unable to upgrade immediately, it is recommended to strip the dispatch headers (e.g., removeHeaders("websocket.*")) at the trust boundary before the Atmosphere Websocket producer to prevent untrusted HTTP consumers from influencing WebSocket message dispatch. Note that the fix renames header string values into the Camel namespace, which may break routes that set these headers by literal string; routes using symbolic references to WebsocketConstants are unaffected. Additionally, avoid bridging untrusted HTTP consumers directly into a WebSocket producer whose dispatch is header-driven without stripping dispatch headers first.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-08-05T17:09:08.388Z
- State
- PUBLISHED
Threat ID: 6a8c76e0acd9273b49d9f01b
Added to database: 08/24/2026, 16:52:48 UTC
Last enriched: 09/10/2026, 10:07:39 UTC
Last updated: 10/08/2026, 18:48:48 UTC
Views: 62
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.
External Links
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.