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. An authenticated user whose role name was a substring of a required role (for example a user holding "admin" against a constraint requiring "superadmin") 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 Yuval Saggie and Mor Weinberger (powered by Echo Frontier)
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.