CVE-2026-80343
Apache Camel: Camel-Netty-HTTP Security Constraint Bypass via Case-Sensitive Context-Path Matching
Description
Improper Handling of Case Sensitivity vulnerability in Apache Camel Netty HTTP component.
This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.
The camel-netty-http security constraint compared the request path against the configured context path using a case-sensitive match, while the routing that dispatches the request to the endpoint did not apply the same rule. The two comparisons therefore disagreed for any path whose case differed from the configured value. An external caller could alter the case of a character in a path segment so that the security constraint no longer recognised the path as protected, while the request still dispatched to the same endpoint. The result is that the constraint is skipped and the protected route is reached without satisfying it. No credential, prior access or special configuration is required beyond being able to send a request to the consumer.
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. The constraint now matches the request path with the same case rules the dispatch uses, so the two can no longer disagree. For deployments that cannot upgrade immediately, place the authorization decision in front of the Camel consumer, for example in a reverse proxy that normalises the request path before forwarding.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-netty-httppreliminary | >= 4.0.0, < 4.18.5>= 4.19.0, < 4.22.1 | 4.18.5, 4.22.1 |
Blast radius
23% of the dependent artifacts (10) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 304 |
| 2 hops | 767 |
| 3 hops | 118 |
| 4 hops | 106 |
| 5 hops | 301 |
| 6 hops | 9 |
Most used dependents
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel.quarkus » camel-quarkus-netty-http14 usages
- org.apache.camel » camel-catalog-lucene8 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel.quarkus » camel-quarkus-netty-http-deployment6 usages
- org.apache.camel » camel-kamelet-main5 usages
- org.apache.camel » apache-camel5 usages
- io.kaoto.forage » integration-tests-common5 usages
- org.apache.camel » camel-catalog-console3 usages
- org.apache.camel » camel-report-maven-plugin3 usages
- org.apache.camel » camel-jbang-plugin-kubernetes3 usages
- org.apache.camel.springboot » camel-netty-http-starter2 usages
- org.apache.camel » camel-jbang-plugin-generate2 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-80343.html | camel.apache.org |
| Advisory | CVE record CVE-2026-80343 | github.com |
| Advisory | NVD CVE-2026-80343 | nvd.nist.gov |
| Fix | apache/camel pull request #25578 | github.com |
| Fix | apache/camel pull request #25761 | github.com |
| Fix | apache/camel pull request #25762 | github.com |
| Report | jira/browse/CAMEL-24412 | issues.apache.org |
| Web | maven2 | repo.maven.apache.org |
