Apache Camel Netty HTTP matches roles by substring (CVE-2026-105968)
Camel 4.0.0 before 4.18.6 and 4.19.0 before 4.22.2 are affected; CVSS 3.1 is 5.9 with high confidentiality impact.
Improper authorization in Apache Camel Netty HTTP role checks
Apache Camel's camel-netty-http component compared security-constraint roles to authenticated roles with substring matching instead of exact equality. A caller whose role name merely contained a required role as a substring could pass a constraint and reach a route they were not entitled to. This affects Apache Camel 4.0.0 before 4.18.6 and 4.19.0 before 4.22.2 when those constraints are used.
What to do: Upgrade 4.18.x LTS to 4.18.6, 4.22.x LTS to 4.22.2, or move to 4.23.0, which match security-constraint roles by exact value.
| Product | Affected | Fixed in |
|---|---|---|
| Apache Camel (camel-netty-http) | 4.0.0 before 4.18.6; 4.19.0 before 4.22.2 | 4.18.6 (4.18.x LTS), 4.22.2 (4.22.x LTS), or 4.23.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
Camel 4.0.0 before 4.18.6 and 4.19.0 before 4.22.2 are affected; CVSS 3.1 is 5.9 with high confidentiality impact.
Today 576 readers · 657 views · 136 reads · all time 293K views