Maven
CVE-2026-105968
Apache Camel: camel-netty-http matches security-constraint roles by substring instead of exact value
- Severity
- Medium 5.9
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Fixed in
- 4.18.6, 4.22.2
- Weakness
- Improper authorization (CWE-285)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N- Sources
- CVE Program
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 software
| Software | Affected versions |
|---|---|
org.apache.camel:camel-netty-httpMaven · osv:Maven:org.apache.camel:camel-netty-http |
|
About org.apache.camel:camel-netty-http
This is the only vulnerability in org.apache.camel:camel-netty-http in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-105968