CVE-2026-65927
tomcat: Apache Tomcat: Access control bypass due to off-by-one error in RewriteValve [N] flag processing
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 26, 2026
Updated · November 2, 2026
Description
A flaw was found in Apache Tomcat. An off-by-one error in the RewriteValve's [N] flag processing causes rewrite rules to restart at the second rule instead of the first. This vulnerability may allow an attacker to bypass intended access controls.
Statement
This is an Important flaw in Apache Tomcat due to an off-by-one error in the RewriteValve's [N] flag processing. This vulnerability can lead to an access control bypass, allowing unauthorized access to resources in applications that utilize the RewriteValve with the [N] flag.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CWE-193 · Off-by-one Error