Intel

AIKIDO-2026-189764

tomcat-embed-core is vulnerable to Improper Authorization

Improper AuthorizationCVE-2026-66422 Published Today

59

Medium Risk

This Affects:

JAVAtomcat-embed-core
7.0.97 - 9.0.120
Fixed in 9.0.121
10.1.0 - 10.1.57
Fixed in 10.1.59
11.0.0 - 11.0.24
Fixed in 11.0.25
Are you affected? Scan for Free

TL;DR

tomcat-embed-core treats security-role-ref entries as Realm role aliases as well as the intended Request.isUserInRole() mapping. A user who holds only the referenced role name can satisfy a declarative role constraint they should not pass. That weakens web.xml role checks that rely on those references. The fix stops the Realm from using security-role-ref as an alias.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the application defines security-role-ref aliases.

Background info

tomcat-embed-core is vulnerable to Improper Authorization in versions 7.0.97 - 9.0.120, 10.1.0 - 10.1.57 and 11.0.0 - 11.0.24.

How to fix this

Upgrade the org.apache.tomcat.embed:tomcat-embed-core library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform