CVE-2026-33453: Apache Camel: CoAP URI Query Parameter to Exchange Header Injection in camel-coap Allows Single-Packet Pre-Auth Remote Code Execution
Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Apache Camel Camel-Coap component.
Apache Camel's camel-coap component is vulnerable to Camel message header injection, leading to remote code execution when routes forward CoAP requests to header-sensitive producers (e.g. camel-exec)
The camel-coap component maps incoming CoAP request URI query parameters directly into Camel Exchange In message headers without applying any HeaderFilterStrategy.
Specifically, CamelCoapResource.handleRequest() iterates over OptionSet.getUriQuery() and calls camelExchange.getIn().setHeader(...) for every query parameter. CoAPEndpoint extends DefaultEndpoint rather than DefaultHeaderFilterStrategyEndpoint, and CoAPComponent does not implement HeaderFilterStrategyComponent; the component contains no references to HeaderFilterStrategy at all.
As a result, an unauthenticated attacker who can send a single CoAP UDP packet to a Camel route consuming from coap:// can inject arbitrary Camel internal headers (those prefixed with Camel*) into the Exchange. When the route delivers the message to a header-sensitive producer such as camel-exec, camel-sql, camel-bean, camel-file, or template components (camel-freemarker, camel-velocity), the injected headers can alter the producer's behavior. In the case of camel-exec, the CamelExecCommandExecutable and CamelExecCommandArgs headers override the executable and arguments configured on the endpoint, resulting in arbitrary OS command execution under the privileges of the Camel process.
The producer's output is written back to the Exchange body and returned in the CoAP response payload by CamelCoapResource, giving the attacker an interactive RCE channel without any need for out-of-band exfiltration.
Exploitation prerequisites are minimal: a single unauthenticated UDP datagram to the CoAP port (default 5683). CoAP (RFC 7252) has no built-in authentication, and DTLS is optional and disabled by default. Because the protocol is UDP-based, HTTP-layer WAF/IDS controls do not apply.
This issue affects Apache Camel: from 4.14.0 through 4.14.5, from 4.18.0 before 4.18.1, 4.19.0.
Users are recommended to upgrade to version 4.18.1 or 4.19.0, fixing the issue.
Security readout for executives and security teams
Plain-English summary
A vulnerable Apache Camel CoAP route can let an unauthenticated network attacker change internal Camel headers. If that route later sends the message to components that trust those headers, the attacker may influence backend behavior, including command execution with camel-exec. Risk depends on exposed CoAP consumers and downstream route design.
Executive priority
Treat as urgent for any internet- or partner-reachable Camel CoAP service. The business impact can reach full process compromise, but only where the vulnerable component and risky route pattern exist.
Technical view
camel-coap maps CoAP URI query parameters into Camel Exchange headers without a HeaderFilterStrategy. Arbitrary Camel-prefixed headers can reach header-sensitive producers such as exec, SQL, bean, file, or template components. The advisory assigns CVSS 10.0 and lists Apache Camel 4.14.0-4.14.5, 4.18.0 before 4.18.1, and inconsistent 4.19.0 wording.
Likely exposure
Highest exposure is Apache Camel deployments using org.apache.camel:camel-coap consumer routes reachable over UDP, especially from untrusted networks, and forwarding messages to header-sensitive producers. Non-CoAP Camel routes are not described as affected by the provided sources.
Exploitation context
The bundle states unauthenticated network exploitation is possible under the affected route conditions. It does not cite active exploitation, and KEV is false. CoAP uses UDP, so exposure may bypass HTTP-focused controls.
Researcher notes
Focus analysis on header propagation from camel-coap into downstream producers. The provided data supports the root cause and impact pattern, but source wording conflicts on 4.19.0, so version validation should reference the Apache advisory directly.
Mitigation direction
Upgrade Apache Camel to the vendor-recommended fixed version: 4.18.1 or 4.19.0.
Confirm vendor guidance because the source text is inconsistent about 4.19.0 affected status.
Restrict CoAP listener exposure to trusted networks where immediate upgrade is delayed.
Review routes that pass CoAP messages to exec, SQL, bean, file, or template producers.
Validation and detection
Inventory dependencies for org.apache.camel:camel-coap and Apache Camel 4.14.x, 4.18.0, or 4.19.0.
Identify routes consuming from coap:// endpoints and their reachable UDP ports.
Trace downstream producers for header-sensitive behavior after CoAP message ingestion.
Verify deployed runtime versions match the vendor-advised fixed release.
Check whether CoAP endpoints are exposed to untrusted network segments.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-915: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
3ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-915 · source CWE mapping
Improperly Controlled Modification of Dynamically-Determined Object Attributes
Improperly Controlled Modification of Dynamically-Determined Object Attributes represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.