CVE-2026-85254
Apache Camel: Camel-Platform-HTTP Request-Header Echo Suppression Bypassed by Header-Name Casing
Description
Improper Handling of Case Sensitivity vulnerability in Apache Camel Platform HTTP component.
This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.
The guard that prevents a request header being reflected into the response compared header names case sensitively, while HTTP header names are case insensitive. A caller could therefore defeat the suppression simply by varying the case of the header name. HTTP/2 makes the problem unconditional rather than optional: the protocol requires header names to be lowercase on the wire, so the comparison never matched and the suppression was inert for every request on an HTTP/2 connection. The consequence is that content the caller chose is echoed back in the response, which is the basis for response-splitting and cache-poisoning style attacks against whatever sits in front of the Camel endpoint.
Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. Request header names are now compared case insensitively, so the suppression holds regardless of casing and works under HTTP/2. For deployments that cannot upgrade immediately, strip the headers in question in front of the Camel endpoint, or remove them from the response in the route rather than relying on the built-in suppression.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-platform-httppreliminary | >= 4.0.0, < 4.18.5>= 4.19.0, < 4.22.1 | 4.18.5, 4.22.1 |
Blast radius
27% of the dependent artifacts (29) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 451 |
| 2 hops | 1,023 |
| 3 hops | 942 |
| 4 hops | 956 |
| 5 hops | 533 |
| 6 hops | 9 |
Most used dependents
- org.apache.camel.quarkus » camel-quarkus-rest40 usages
- org.apache.camel.quarkus » camel-quarkus-platform-http31 usages
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel » camel-platform-http-vertx13 usages
- org.apache.camel.quarkus » camel-quarkus-platform-http-deployment13 usages
- org.apache.camel » camel-rest-openapi12 usages
- org.apache.camel.quarkus » camel-quarkus-rest-deployment11 usages
- org.apache.camel » camel-platform-http-main9 usages
- org.apache.camel » camel-catalog-lucene8 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel » camel-kamelet-main5 usages
- org.apache.camel.quarkus » camel-quarkus-lra5 usages
- org.apache.camel.quarkus » camel-quarkus-rest-openapi5 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | security/CVE-2026-85254.html | camel.apache.org |
| Advisory | CVE record CVE-2026-85254 | github.com |
| Advisory | NVD CVE-2026-85254 | nvd.nist.gov |
| Fix | apache/camel pull request #25831 | github.com |
| Fix | apache/camel pull request #25940 | github.com |
| Fix | apache/camel pull request #25942 | github.com |
| Report | jira/browse/CAMEL-24453 | issues.apache.org |
| Web | maven2 | repo.maven.apache.org |
