Apache Camel: Camel Message Header Injection via Improper Filtering
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 2 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.
Summary
Bypass/Injection vulnerability in Apache Camel components under particular conditions. This issue affects Apache Camel: from 4.10.0 through <= 4.10.1, from 4.8.0 through <= 4.8.4, from 3.10.0 through <= 3.22.3. Users are recommended to upgrade to version 4.10.2 for 4.10.x LTS, 4.8.5 for 4.8.x LTS and 3.22.4 for 3.x releases. This vulnerability is present in Camel's default incoming header filter, that allows an attacker to include Camel specific headers that for some Camel components can alter the behaviours such as the camel-bean component, to call another method on the bean, than was coded in the application. In the camel-jms component, then a malicious header can be used to send the message to another queue (on the same broker) than was coded in the application. This could also be seen by using the camel-exec component The attacker would need to inject custom headers, such as HTTP protocols. So if you have Camel applications that are directly connected to the internet via HTTP, then an attacker could include malicious HTTP headers in the HTTP requests that are send to the Camel application. All the known Camel HTTP component such as camel-servlet, camel-jetty, camel-undertow, camel-platform-http, and camel-netty-http would be vulnerable out of the box. In these conditions an attacker could be able to forge a Camel header name and make the bean component invoking other methods in the same bean. In terms of usage of the default header filter strategy the list of components using that is: * camel-activemq * camel-activemq6 * camel-amqp * camel-aws2-sqs * camel-azure-servicebus * camel-cxf-rest * camel-cxf-soap * camel-http * camel-jetty * camel-jms * camel-kafka * camel-knative * camel-mail * camel-nats * camel-netty-http * camel-platform-http * camel-rest * camel-sjms * camel-spring-rabbitmq * camel-stomp * camel-tahu * camel-undertow * camel-xmpp The vulnerability arises due to a bug in the default filtering mechanism that only blocks headers starting with "Camel", "camel", or "org.apache.camel.". Mitigation: You can easily work around this in your Camel applications by removing the headers in your Camel routes. There are many ways of doing this, also globally or per route. This means you could use the removeHeaders EIP, to filter out anything like "cAmel, cAMEL" etc, or in general everything not starting with "Camel", "camel" or "org.apache.camel.".
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
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.10.0 to before 4.10.2; 4.8.0 to before 4.8.5; 3.10.0 to before 3.22.4 | 4.10.2, 4.8.5, 3.22.4 | Patch available | CNA |
| — | org.apache.camel:camel-support (Maven) | 3.10.0 to before 3.22.4 | 3.22.4 | Patch available | GHSA-2c2h-2855-mf97 |
| — | org.apache.camel:camel-support (Maven) | 4.0.0-M1 to before 4.8.5 | 4.8.5 | Patch available | GHSA-2c2h-2855-mf97 |
| — | org.apache.camel:camel-support (Maven) | 4.9.0 to before 4.10.2 | 4.10.2 | Patch available | GHSA-2c2h-2855-mf97 |
- Apache Camel VendorApache Affected 4.10.0 to before 4.10.2; 4.8.0 to before 4.8.5; 3.10.0 to before 3.22.4 Fixed in 4.10.2, 4.8.5, 3.22.4 Patch available CNA
- org.apache.camel:camel-support (Maven) Vendor— Affected 3.10.0 to before 3.22.4 Fixed in 3.22.4 Patch available GHSA-2c2h-2855-mf97
- org.apache.camel:camel-support (Maven) Vendor— Affected 4.0.0-M1 to before 4.8.5 Fixed in 4.8.5 Patch available GHSA-2c2h-2855-mf97
- org.apache.camel:camel-support (Maven) Vendor— Affected 4.9.0 to before 4.10.2 Fixed in 4.10.2 Patch available GHSA-2c2h-2855-mf97
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* | 3.10.0 to before 3.22.4; 4.8.0 to before 4.8.5; 4.10.0 to before 4.10.2 | Vulnerable | Apache |
- cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* Versions 3.10.0 to before 3.22.4; 4.8.0 to before 4.8.5; 4.10.0 to before 4.10.2 Vulnerable ·Apache
Remediation
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.10.2, 4.8.5, 3.22.4
- Fix · GHSA-2c2h-2855-mf97 org.apache.camel:camel-support (Maven) Fixed in 3.22.4 Advisory →
- Fix · GHSA-2c2h-2855-mf97 org.apache.camel:camel-support (Maven) Fixed in 4.8.5 Advisory →
- Fix · GHSA-2c2h-2855-mf97 org.apache.camel:camel-support (Maven) Fixed in 4.10.2 Advisory →
Red Hat 2 advisories
- RHSA-2025:3543 Released 2025-04-02 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.8.5 for Spring Boot security update.
- Red Hat build of Apache Camel 4.8.5 for Spring Boot
- RHSA-2025:3091 Released 2025-03-20 · Red Hat rating ModerateRed Hat Build of Apache Camel 4.8 for Quarkus 3.15 update is now available (RHBQ 3.15.3.SP2)
- Red Hat Build of Apache Camel 4.8 for Quarkus 3.15
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat Integration Camel K 1 | Affected | No fix planned: Out of support scope |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet |
| Red Hat Build of Apache Camel 4.8 for Quarkus 3.15 | Fixed | RHSA-2025:3091 |
| Red Hat build of Apache Camel 4.8.5 for Spring Boot | Fixed | RHSA-2025:3543 |
Not affected: 6 products
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Process Automation 7
- Red Hat Single Sign-On 7
- Red Hat build of Apache Camel 4 for Quarkus 3
- Red Hat build of Apache Camel for Spring Boot 4
Timeline
- 2026-10-02 Threatist record created from CVE-2025-27636
- 2026-10-03 Alias added: GHSA-2c2h-2855-mf97
References
Advisory 4
Other 5
- https://github.com/apache/camel/commit/23a833eec6131a3cdce6e4b1b40b3ac2035b6adf
- https://github.com/apache/camel/commit/45a6b74f7f8af8fd58f197566938a9534392a624
- https://github.com/akamai/CVE-2025-27636-Apache-Camel-PoC/blob/main/src/main/java/com/example/camel/VulnerableCamel.java
- https://github.com/apache/camel
- https://github.com/apache/camel/blob/camel-4.9.0/core/camel-support/src/main/java/org/apache/camel/support/DefaultHeaderFilterStrategy.java
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-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
- TI-2026-25849 Mass assignment in Apache Camel CVSS 3.1CRITICAL 10.0
Sources
- CVE-2025-27636 · CVE Program
- CVE-2025-27636 · NVD
- FIRST EPSS
- GHSA-2c2h-2855-mf97 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-27636 · 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