[SECURITY] CVE-2026-66422 Apache Tomcat - Servlet role references can bypass declarative role constraints
Mark Thomas <[email protected]>
| Newsgroups | gmane.comp.jakarta.tomcat.devel |
|---|---|
| Message-ID | <ef691ce4-708f-453a-8e5a-5f57e311f774__49803.448077158$1787693736$gmane$org@apache.org> |
CVE-2026-66422 Apache Tomcat - Servlet role references can bypass declarative role constraints Severity: Low Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 11.0.0-M1 to 11.0.24 Apache Tomcat 10.1.0-M1 to 10.1.57 Apache Tomcat 9.0.25 to 9.0.120 Description: security-role-ref definitions were incorrectly used as role aliases within the Realm in additional to the correct usage with Request.isUserInRole() Mitigation: Users of the affected versions should apply one of the following mitigations: - Remove the examples web application - Upgrade to Apache Tomcat 11.0.25 - Upgrade to Apache Tomcat 10.1.59 - Upgrade to Apache Tomcat 9.0.121 Note: This issue was fixed in Apache Tomcat 10.1.58 but the release vote for the 10.1.58 release candidate did not pass. Therefore, although users must download 10.1.59 to obtain a version that includes a fix for this issue, version 10.1.58 is not included in the list of affected versions. Credit: This issue was identified by: - 4ra1n, pyn3rd and unam4 History: 2026-08-25 Original advisory References: [1] https://tomcat.apache.org/security-11.html [2] https://tomcat.apache.org/security-10.html [3] https://tomcat.apache.org/security-9.html