This CVE represents a semantic scope creep vulnerability where Tomcat's interpretation of a configuration element diverged from its documented purpose, creating a hidden expansion of the authorization surface that developers never intended.
The <security-role-ref> element in web.xml was designed as a translation layer for application code — it lets servlets call isUserInRole("editor") while mapping to whatever physical role names exist in your container's user database. This is a one-to-one mapping for your application's own authorization checks, and developers reasonably assumed it stayed isolated within their code.
What Tomcat actually did was treat these same definitions as implicit role grants at the Realm layer. If you declared <security-role-ref><role-name>temp-admin</role-name></security-role-ref> for internal application logic, Tomcat would now recognize "temp-admin" as a valid authorization identity for purposes beyond your application's isUserInRole() calls — including container-level security constraints, web.xml security restrictions, and any Realm-based authorization the container performs.
The vulnerability exists because this expansion happened silently. You didn't add a security role; you added a role-name mapping for application logic. But the system interpreted it as both, without warning, without documentation change, and using configuration patterns that were already widespread.
What to check: audit every <security-role-ref> in your deployment descriptors and look for role names that exist only because developers added them for application logic convenience, not because they represent actual security roles in your container's user database. These are the configurations that quietly expanded your attack surface. After upgrading to a fixed version, test workflows that rely on any role-ref definitions — the fix removes the undocumented Realm-layer behavior, and applications that were silently depending on it will fail authorization without obvious error messages.
This is not a one-off. The translation-layer-to-enforcement-layer boundary failure has appeared in multiple Tomcat CVEs over the years (CVE-2012-3546, CVE-2010-1157). The servlet specification grants containers latitude to interpret role-ref definitions beyond the documented isUserInRole() interface, and that latitude has repeatedly been exercised in ways that expand authorization surfaces. Each CVE gets patched as a discrete incident, but the underlying semantic ambiguity in the spec remains.