CVE-2026-65927
Apache Tomcat: RewriteValve [N] restarts at the second rule and may bypass access control
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat.embed » tomcat-embed-core | >= 8.5.0, <= 8.5.100>= 9.0.0.M1, <= 9.0.120>= 10.1.0-M1, <= 10.1.57>= 11.0.0-M1, <= 11.0.24 | - |
Blast radius
80% of the dependent artifacts (21,735) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 27,984 |
| 2 hops | 24,761 |
| 3 hops | 405,360 |
| 4 hops | 235,408 |
| 5 hops | 131,204 |
| 6 hops | 37,647 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,088 usages
- org.apache.hadoop » hadoop-common3,484 usages
- org.apache.spark » spark-sql3,176 usages
- org.apache.spark » spark-core2,900 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.thrift » libthrift1,388 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,367 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,159 usages
- org.apache.flink » flink-streaming-java982 usages
- org.apache.hbase » hbase-client960 usages
- org.springframework.boot » spring-boot-starter-tomcat901 usages
- org.apache.spark » spark-mllib831 usages
- org.springframework.boot » spring-boot-starter-webmvc787 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-65927 | github.com |
| Advisory | thread/st1dx1zyn5y7ny2s0sscmh6lrv3worr4 | lists.apache.org |
| Advisory | NVD CVE-2026-65927 | nvd.nist.gov |
| Web | lists/oss-security/2026/08/26/5 | openwall.com |
