Mass assignment in Apache Camel
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-915.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel | 4.14.0 – 4.14.5; 4.18.0 to before 4.18.1; 4.19.0 | 4.18.1 | Patch available | CNA |
| — | org.apache.camel:camel-coap (Maven) | 4.14.0 to before 4.14.6 | 4.14.6 | Patch available | GHSA-695c-x5gc-94gj |
| — | org.apache.camel:camel-coap (Maven) | 4.18.0 to before 4.18.1 | 4.18.1 | Patch available | GHSA-695c-x5gc-94gj |
- Apache Camel VendorApache Affected 4.14.0 – 4.14.5; 4.18.0 to before 4.18.1; 4.19.0 Fixed in 4.18.1 Patch available CNA
- org.apache.camel:camel-coap (Maven) Vendor— Affected 4.14.0 to before 4.14.6 Fixed in 4.14.6 Patch available GHSA-695c-x5gc-94gj
- org.apache.camel:camel-coap (Maven) Vendor— Affected 4.18.0 to before 4.18.1 Fixed in 4.18.1 Patch available GHSA-695c-x5gc-94gj
Remediation
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.18.1
- Fix · GHSA-695c-x5gc-94gj org.apache.camel:camel-coap (Maven) Fixed in 4.14.6 Advisory →
- Fix · GHSA-695c-x5gc-94gj org.apache.camel:camel-coap (Maven) Fixed in 4.18.1 Advisory →
Red Hat 1 advisory
- RHSA-2026:17668 Released 2026-05-14 · Red Hat rating CriticalRed Hat Build of Apache Camel 4.18.1 for Spring Boot release.
- Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | Fixed | RHSA-2026:17668 |
Not affected: 3 products
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33453
- 2026-10-03 Alias added: GHSA-695c-x5gc-94gj
- 2026-10-25 EPSS moved to the 95th–99th percentile
References
Advisory 3
Other 8
- https://github.com/apache/camel/pull/22146
- https://github.com/apache/camel/pull/22147
- https://github.com/apache/camel/pull/22148
- https://github.com/apache/camel/commit/05cffa5ec05ff2ec3c50a77825625da6e426e7a8
- https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9
- https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce
- https://github.com/apache/camel/blob/main/components/camel-coap
- https://issues.apache.org/jira/browse/CAMEL-23222
More Apache Camel vulnerabilities
- TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
- TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
- TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
- TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
- TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
- TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-33453 · CVE Program
- CVE-2026-33453 · NVD
- FIRST EPSS
- GHSA-695c-x5gc-94gj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-33453 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences