CVE-2026-33453

CRITICAL NUCLEI LAB

Apache Camel: CoAP URI Query Parameter to Exchange Header Injection in camel-coap Allows Single-Packet Pre-Auth Remote Code Execution

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2026-33453. PoCs published by dinosn. A Nuclei detection template is also available.

AI-analyzed exploit summary This repository contains functional exploit code for three critical vulnerabilities in Apache Camel 4.18.0, including CVE-2026-33453 (CoAP header injection leading to RCE), CVE-2026-40473 (MINA unsafe deserialization leading to RCE), and CVE-2026-40858 (Infinispan unsafe deserialization). The exploits are well-documented with technical details, root cause analysis, and step-by-step reproduction instructions.

Description

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.

Exploits (2)

nomisec WORKING POC
by dinosn · poc
https://github.com/dinosn/CVE-2026-33453

This repository contains functional exploit code for three critical vulnerabilities in Apache Camel 4.18.0, including CVE-2026-33453 (CoAP header injection leading to RCE), CVE-2026-40473 (MINA unsafe deserialization leading to RCE), and CVE-2026-40858 (Infinispan unsafe deserialization). The exploits are well-documented with technical details, root cause analysis, and step-by-step reproduction instructions.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache Camel 4.18.0
No auth needed
Prerequisites: Docker and Docker Compose · Python 3.8+ · Java 17+ · ysoserial
devstral-2 · analyzed May 04, 2026 Full analysis →
github WORKING POC
by dinosn · pythonpoc
https://github.com/dinosn/apache-camel

The repository contains functional proof-of-concept exploits for three Apache Camel vulnerabilities (CVE-2026-33453, CVE-2026-40473, CVE-2026-40858), including detailed root cause analysis, exploit code, and step-by-step reproduction instructions. The exploits demonstrate RCE via CoAP header injection, MINA unsafe deserialization, and Infinispan unsafe deserialization.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache Camel 4.18.0
No auth needed
Prerequisites: Docker · Python 3.8+ · Java 17+ · ysoserial
devstral-2 · analyzed Apr 28, 2026 Full analysis →

Nuclei Templates (1)

Apache Camel camel-coap - Remote Code Execution
CRITICALby DhiyaneshDK
Shodan: port:5683
FOFA: protocol="coap"

References (2)

Core 2

Scores

CVSS v3 10.0
EPSS 0.0513
EPSS Percentile 91.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull eclipse-temurin:17-jre
docker pull infinispan/server:15.0

Details

CWE
CWE-915
Status published
Products (7)
apache/camel 4.18.0
apache/camel 4.19.0
apache/camel 4.14.0 - 4.14.5
Apache Software Foundation/Apache Camel 4.14.0 - 4.14.5
Apache Software Foundation/Apache Camel 4.18.0 - 4.18.1
Apache Software Foundation/Apache Camel 4.19.0
org.apache.camel/camel-coap 4.14.0 - 4.14.6Maven
Published Apr 27, 2026
Tracked Since Apr 27, 2026