Apache Tomcat: RewriteValve [N] restarts at the second rule and may bypass access control
Summary
| CVE | CVE-2026-65927 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-25 22:17:05 UTC |
| Updated | 2026-08-25 22:17:05 UTC |
| Description | Off-by-one Error vulnerability in Apache Tomcat impacting the [N] flag on the rewrite valves causes rewrite processing to restart at the second rule rather than the first rule. 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.0.M1 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.0 through 8.5.100. 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. |
Risk And Classification
Problem Types: CWE-193 | CWE-193 CWE-193 Off-by-one Error
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Tomcat | affected 11.0.0-M1 11.0.24 semver | Not specified |
| CNA | Apache Software Foundation | Apache Tomcat | affected 10.1.0-M1 10.1.57 semver | Not specified |
| CNA | Apache Software Foundation | Apache Tomcat | affected 9.0.0.M1 9.0.120 semver | Not specified |
| CNA | Apache Software Foundation | Apache Tomcat | affected 8.5.0 8.5.100 semver | Not specified |
| CNA | Apache Software Foundation | Apache Tomcat | unaffected 7.0.0 7.0.109 semver | Not specified |
| CNA | Apache Software Foundation | Apache Tomcat | unaffected 7.0.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.apache.org/thread/st1dx1zyn5y7ny2s0sscmh6lrv3worr4 | [email protected] | lists.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: 4ra1n, pyn3rd and unam4 (en)
There are currently no legacy QID mappings associated with this CVE.