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.
Published: 2026-08-25
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Authorization Bypass
Action: Upgrade
AI Analysis

Impact

The vulnerability originates from Apache Tomcat's handling of security-role-ref elements, which are incorrectly treated as role aliases in the Realm. This misinterpretation allows a user who has a role that is referenced by security-role-ref to be considered as having that role, thereby bypassing declarative role constraints that are intended to restrict access. The outcome of this bug is a privilege escalation within applications running on Tomcat, enabling unauthorized actions and potentially exposing protected resources.

Affected Systems

All supported Apache Tomcat releases from 11.0.0‑M1 through 11.0.24, 10.1.0‑M1 through 10.1.57, and 9.0.25 through 9.0.120 are affected. Versions already marked End‑of‑Life, including 8.5.46 through 8.5.100 and 7.0.97 through 7.0.109, are also vulnerable, and other unsupported releases may be impacted as well. The affected vendor is the Apache Software Foundation and the product is Apache Tomcat.

Risk and Exploitability

The CVSS score is 8.1, and the EPSS score is <1%, indicating a high severity but a low probability of exploitation in the current threat landscape. However, the vulnerability is listed as not part of the CISA KEV catalog, suggesting no known widespread exploitation in the public domain. The flaw requires that an attacker be able to influence the role mapping or deploy code that references security-role-ref elements, implying that the attack vector is likely an application‑level or local privilege scenario. Because a correct attacker can elevate privileges within the Tomcat container, the risk is significant for any application that relies on declarative role constraints for sensitive functionality.

Generated by OpenCVE AI on September 1, 2026 at 14:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Tomcat installation to a patched release (11.0.25 or newer, 10.1.58 or newer, or 9.0.121 or newer).
  • If upgrading immediately is not feasible, review web‑application deployment descriptors and remove or correct any security-role-ref elements used as role aliases, ensuring that role mappings are defined explicitly via the <role-name> element.
  • Validate authorization logic within the application to use explicit role checks and avoid assuming that role aliases automatically enforce the intended constraints.

Generated by OpenCVE AI on September 1, 2026 at 14:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-386
References
Metrics threat_severity

None

threat_severity

Low


Thu, 27 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache tomcat
CPEs cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache tomcat

Wed, 26 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 26 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
References

Tue, 25 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
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.
Title Apache Tomcat: Servlet role references can bypass declarative role constraints
Weaknesses CWE-285
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-26T18:52:26.487Z

Reserved: 2026-07-27T07:51:40.260Z

Link: CVE-2026-66422

cve-icon Vulnrichment

Updated: 2026-08-26T02:30:38.956Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-25T22:17:05.560

Modified: 2026-08-27T15:16:11.953

Link: CVE-2026-66422

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-25T21:55:16Z

Links: CVE-2026-66422 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T14:30:18Z

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-386

    Symbolic Name not Mapping to Correct Object