Apache Camel netty-http CVE-2026-105968: partial role matching enables unauthorized route access
According to oss-security, Apache Camel's camel-netty-http component has an improper authorization flaw, tracked as CVE-2026-105968, that can let a caller reach routes it should not access. Fixed releases are available.
ApacheWebVulnerabilitiesKey points
- CVE-2026-105968 affects camel-netty-http through partial, rather than exact, matching of security-constraint roles
- CVSS 3.1 base score is 5.9 (medium) with high confidentiality impact
- Affected: 4.0.0 before 4.18.6 and 4.19.0 before 4.22.2
- No confirmed exploitation in the wild is reported
According to oss-security, the camel-netty-http component in Apache Camel is affected by CVE-2026-105968, an improper authorization flaw.
The vulnerable code checked security-constraint roles against a caller's authenticated roles using a partial text match instead of an identical value. As a result, a caller holding a role whose name contains a required role name could pass a constraint it was not meant to pass and reach a route it was not authorized for.
The CVSS 3.1 base score is 5.9 (medium), with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. That vector indicates a network attack with high complexity, no privileges or user interaction required, and high confidentiality impact, with no integrity or availability impact.
The affected artifact is org.apache.camel:camel-netty-http from 4.0.0 before 4.18.6, and from 4.19.0 before 4.22.2. The fixed releases compare roles by exact value. The report recommends 4.18.6 for the 4.18.x LTS stream and 4.22.2 for the 4.22.x LTS stream, and notes 4.23.0 as another fixed release.
The flaw was found by Andrea Cosentino, who also wrote the fix, with the tool Claude Security credited. The report points to Jira issue CAMEL-25376, several GitHub pull requests, and an official Apache Camel security advisory page. It gives no indication of confirmed exploitation in the wild. No workaround is stated in the source.
Readers should consult the original oss-security report and the linked Apache Camel advisory for full details.
What to do
- Upgrade to 4.18.6 on the 4.18.x LTS stream or 4.22.2 on the 4.22.x LTS stream, or move to the fixed 4.23.0 release
- Check which camel-netty-http versions are in use and prioritise any that fall in the affected ranges
- Review the official Apache Camel security advisory referenced in the report for further guidance
Original report
“CVE-2026-105968: Apache Camel: camel-netty-http matches security-constraint roles by substring instead of exact value”
Posted by Andrea Cosentino on Nov 30 Severity: CVSS 3.1: 5.9 (medium) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Affected versions: - Apache Camel (org.apache.camel:camel-netty-http) 4.0.0 before 4.18.6 - Apache Camel (org.apache.camel:camel-netty-http) 4.19.0 before 4.22.2 Description: Improper Authorization vulnerability in Apache Camel Netty HTTP component. This issue affects Apache Camel: f…
Vulnerabilities mentioned
- Apache Camel camel-undertow flaw lets unauthenticated clients bypass WebSocket authorization
- Apache Camel camel-spring-ws flaw leaks internal headers in SOAP responses (CVE-2026-103873)
- Apache JSPWiki Publishes 22 Security Notices, Including a Critical Session Fixation Flaw
- Apache Struts 6.9.0 Flaw Lets Disallowed HTTP Methods Reach Actions (CVE-2026-133649)
- Apache Struts Flaw Lets Attackers Bypass HTTP Method Restrictions on Default Actions