CVE-2026-105968
Apache Camel: camel-netty-http matches security-constraint roles by substring instead of exact value
Description
Improper Authorization vulnerability in Apache Camel Netty HTTP component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2.
In camel-netty-http, the roles declared in a security constraint were compared to the authenticated roles using substring matching rather than exact comparison. A role whose name merely contained a required role as a substring could therefore satisfy a constraint it should not, so a caller could reach a route whose authorization it was not entitled to pass. The fixed releases match security-constraint roles by exact value.
Users are recommended to upgrade to 4.18.6 for the 4.18.x LTS releases stream, to 4.22.2 for the 4.22.x LTS releases stream, or to 4.23.0.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-netty-httppreliminary | >= 4.0.0, < 4.18.6>= 4.19.0, < 4.22.2 | 4.18.6, 4.22.2 |
Blast radius
23% of the dependent artifacts (10) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 312 |
| 2 hops | 789 |
| 3 hops | 123 |
| 4 hops | 109 |
| 5 hops | 317 |
| 6 hops | 10 |
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 20261129.2353 (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.
