Apache Camel: improper authorization
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Apache Camel Product | >= 4.0.0, < 4.18.6 | 4.18.6 |
| >= 4.19.0, < 4.22.2 | 4.22.2 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-285
- www.cve.org/CVERecord?id=CVE-2026-105968
- nvd.nist.gov/vuln/detail/CVE-2026-105968
- camel.apache.org/security/CVE-2026-105968.html
- github.com/apache/camel/pull/27432
- github.com/apache/camel/pull/27441
- github.com/apache/camel/pull/27481
- issues.apache.org/jira/browse/CAMEL-25376
- www.openwall.com/lists/oss-security/2026/11/30/18