HIGH 8.1

CVE-2026-66422

Apache Tomcat: Servlet role references can bypass declarative role constraints

Description

Improper Authorization vulnerability in Apache Tomcat cause by security-role-ref definitions being incorrectly used as role aliases within the Realm in additional to the correct usage with Request.isUserInRole().

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.24, from 10.1.0-M1 through 10.1.57, from 9.0.25 through 9.0.120.

The following versions were EOL at the time the CVE was created but are known to be affected: from 8.5.46 through 8.5.100, from 7.0.97 through 7.0.109. Other unsupported versions may also be affected.

Users are recommended to upgrade to version 11.0.25, 10.1.58 or 9.0.121, which fix the issue.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.tomcat.embed » tomcat-embed-core
>= 7.0.97, <= 7.0.109>= 8.5.46, <= 8.5.100>= 9.0.25, <= 9.0.120>= 10.1.0-M1, <= 10.1.57>= 11.0.0-M1, <= 11.0.24
-

Blast radius

1affected artifacts
299affected versions
22,362dependent artifacts (est.)
661,603dependent versions

80% of the dependent artifacts (17,969) still pull an affected version in their latest release.

DepthDependent versions
Direct
25,531
2 hops
19,927
3 hops
317,401
4 hops
183,153
5 hops
89,798
6 hops
25,793

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorylists.apache.org
Advisorynvd.nist.gov
Webopenwall.com