CVE-2026-105968
Camel-Netty-HTTP: security-constraint roles are matched by substring instead of exact value, allowing an authorization bypass
Description
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.
Mitigation
Credit
This issue was discovered by Andrea Cosentino from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25376 refers to the various commits that resolved the issue, and have more details.