Always-Incorrect Control Flow Implementation in Apache Tomcat - CVE-2026-53404
Published: June 30, 2026
Apache Tomcat
Detailed vulnerability description
The vulnerability allows a remote attacker to bypass rewrite conditions.
The vulnerability exists due to logic errors in RewriteValve when processing requests against OR-chained rewrite conditions. A remote attacker can send a request that matches the first OR condition to bypass rewrite conditions.
Exploitation requires a rule set that uses an OR chain followed by non-OR conditions.
How to mitigate CVE-2026-53404
Sources
- https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.56
- https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.23
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.119
- https://github.com/apache/tomcat/commit/bbb6219fa5ac185060bef7842cee5fb90230ca00