CVE-2025-27636
March 09, 2025
Bypass/Injection vulnerability in Apache Camel.
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.
The vulnerability arises due to a bug in the default filtering mechanism that only blocks headers starting with "Camel", "camel", or "org.apache.camel.". Attackers can bypass this filter by altering the casing of letters. This allows attackers to inject headers which can be exploited to invoke arbitrary methods from the Bean registry and also supports using Simple Expression Language (or OGNL in some cases) as part of the method parameters passed to the bean. It's important to note that only methods in the same bean declared in the bean URI could be invoked.
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.".
Affected Packages
https://github.com/apache/camel.git (GITHUB):
Affected version(s) >=camel-4.10.0 <camel-4.10.2Fix Suggestion:
Update to version camel-4.10.2https://github.com/apache/camel.git (GITHUB):
Affected version(s) >=camel-3.10.0 <camel-3.22.4Fix Suggestion:
Update to version camel-3.22.4https://github.com/apache/camel.git (GITHUB):
Affected version(s) >=camel-4.8.0 <camel-4.8.5Fix Suggestion:
Update to version camel-4.8.5org.apache.camel:camel-support (JAVA):
Affected version(s) >=3.10.0 <3.22.4Fix Suggestion:
Update to version 3.22.4org.apache.camel:camel-support (JAVA):
Affected version(s) >=4.10.0 <4.10.2Fix Suggestion:
Update to version 4.10.2org.apache.camel:camel-support (JAVA):
Affected version(s) >=4.8.0 <4.8.5Fix Suggestion:
Update to version 4.8.5Related Resources (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Handling of Case Sensitivity
EPSS
Base Score:
47.77