CVE-2025-27636
MediumVulnerability Description
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.".
CVSS Metrics
Common Vulnerability Scoring System
Vector String:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Known Affected Software
59 configuration(s) from 1 vendor(s)
cpe:2.3:a:apache:camel:3.15.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.7:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.6:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.11.3:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.16.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.8:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.21.2:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.18.8:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.11.4:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.18.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.9:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.22.3:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:4.8.3:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.4:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.11.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.4:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.11.7:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.21.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:4.8.4:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.2:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.21.5:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.12.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.18.3:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.5:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.22.2:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.17.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.18.4:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.18.2:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.11.2:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.6:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.8:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:4.8.2:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.22.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:4.8.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.11.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.18.7:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.13.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.7:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.9:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.11.5:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.21.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:4.10.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.21.4:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.19.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.22.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.18.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.5:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:4.8.1:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.14.3:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.10.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.21.3:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:4.10.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.3:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.20.2:*:*:*:*:*:*:*
cpe:2.3:a:apache:camel:3.11.6:*:*:*:*:*:*:*
CPUAPR2026
Oracle Critical Patch Update Advisory - April 2026
CPUJUL2025
Oracle Critical Patch Update Advisory - July 2025
References & Resources
-
https://camel.apache.org/security/CVE-2025-27636.htmlsecurity@apache.org Vendor Advisory
-
https://issues.apache.org/jira/browse/CAMEL-21828security@apache.org Issue Tracking Patch
-
https://lists.apache.org/thread/l3zcg3vts88bmc7w8172wkgw610y693zsecurity@apache.org Mailing List Vendor Advisory
-
http://www.openwall.com/lists/oss-security/2025/03/09/1af854a3a-2127-422b-91ae-364da2661108 Mailing List Third Party Advisory
-
https://camel.apache.org/security/CVE-2025-27636.txt.asc134c704f-9b21-4f2e-91b3-4a467353bcc0 Exploit
-
https://github.com/akamai/CVE-2025-27636-Apache-Camel-PoC/blob/main/src/main/java/com/example/camel/VulnerableCamel.java134c704f-9b21-4f2e-91b3-4a467353bcc0 Product
Severity Details
Weakness Type (CWE)
Improper Handling of Case Sensitivity
- Description
- The product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.
- Typical Severity
- Medium
- Abstraction Level
- Base
Key Information
- Published Date
- March 09, 2025
