cve.bz

CVE-2025-27636 apache camel: Improper Handling of Case Sensitivity

5.6 mediumExploit referenceEPSS 4.7%Fix available

Medium (5.6) in apache camel. EPSS 4.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.camel:camel-support 3.22.4, 4.10.2, 4.8.5.

On this page
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.".

Severity

CVSS 3.1

5.6 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
4.7% (down from 97% a week ago; 97% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-10-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-178 Improper Handling of Case Sensitivity
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-27636 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-27636?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-27636?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-27636 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Camelfrom 4.10.0 before 4.10.2
Apache Software Foundation Apache Camelfrom 4.8.0 before 4.8.5
Apache Software Foundation Apache Camelfrom 3.10.0 before 3.22.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2c2h-2855-mf97Mavenorg.apache.camel:camel-support>=3.10.0 <3.22.43.22.4
GHSA-2c2h-2855-mf97Mavenorg.apache.camel:camel-support>=4.0.0-M1 <4.8.54.8.5
GHSA-2c2h-2855-mf97Mavenorg.apache.camel:camel-support>=4.9.0 <4.10.24.10.2

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as having Moderate impact because it can only be triggered under certain configurations and does not enable complete takeover of the system. In order to be vulnerable, a system using the Apache Camel Framework must specifically be using the camel-bean component as a producer and the exchange is coming from a http-based consumer, such as HTTP component or platform-http. If exploitation occurs, an attacker could call other methods on that bean already in the classpath, but not from other arbitrary java beans, System.getenv, nor part of JDK itself.

Red Hat's mitigation

Remove headers from your Camel routes; this can be accomplished in several ways, including globally or per route.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.8.5 for Spring Bootcamel-httpFixed 2025-04-02RHSA-2025:3543
Red Hat build of Apache Camel 4.8.5 for Spring Bootcamel-http-baseFixed 2025-04-02RHSA-2025:3543
Red Hat Build of Apache Camel 4.8 for Quarkus 3.15camel-httpFixed 2025-03-20RHSA-2025:3091
Red Hat Build of Apache Camel 4.8 for Quarkus 3.15camel-http-baseFixed 2025-03-20RHSA-2025:3091
Red Hat build of Apache Camel 4 for Quarkus 3camel-http-commonNot affected
Red Hat build of Apache Camel for Spring Boot 4camel-http-commonNot affected
Red Hat build of Apache Camel for Spring Boot 4camel-http-starterAffected
Red Hat Fuse 7camel-httpOut of support scope
Red Hat Fuse 7camel-http-baseOut of support scope
Red Hat Fuse 7camel-http-commonOut of support scope
Red Hat Fuse 7org.apache.camel/camel-http4Out of support scope
Red Hat Fuse 7org.apache.camel/camel-http4-starterOut of support scope
Red Hat Fuse 7org.apache.camel/camel-http-common-starterOut of support scope
Red Hat Fuse 7org.apache.camel/camel-http-starterOut of support scope
Red Hat Integration Camel K 1camel-httpOut of support scope
Red Hat Integration Camel K 1camel-http-baseOut of support scope
Red Hat Integration Camel K 1camel-http-commonOut of support scope
Red Hat Integration Camel K 1org.apache.camel.kafkaconnector/camel-http-kafka-connectorOut of support scope
Red Hat Integration Camel K 1org.apache.camel.kafkaconnector/camel-https-kafka-connectorOut of support scope
Red Hat JBoss Enterprise Application Platform 8camel-http-commonNot affected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-27636.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache Camel Message Header Injection (CVE-2025-27636) sid 2060778

History

  1. EPSS fell to 4.7% (below 10%)

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON