GitHub Advisory Database
GHSA-h792-v28v-ppgr
Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability
Details
Always-Incorrect Control Flow Implementation vulnerability in Apache Tomcat's rewrite valve meant that if the first condition in an OR chain matched, subsequent non-OR conditions were skipped.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.22, from 10.1.0-M1 through 10.1.55, from 9.0.0.M1 through 9.0.118, from 8.5.0 through 8.5.100. Other versions that have reached end of support may also be affected.
Users are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 11.0.0-M1 before 11.0.23 (fixed in 11.0.23) |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 10.1.0-M1 before 10.1.56 (fixed in 10.1.56) |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 9.0.0.M1 before 9.0.119 (fixed in 9.0.119) |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 8.5.0 up to and including 8.5.100 |
| Maven | org.apache.tomcat:tomcat | From 11.0.0-M1 before 11.0.23 (fixed in 11.0.23) |
| Maven | org.apache.tomcat:tomcat | From 10.1.0-M1 before 10.1.56 (fixed in 10.1.56) |
| Maven | org.apache.tomcat:tomcat | From 9.0.0.M1 before 9.0.119 (fixed in 9.0.119) |
| Maven | org.apache.tomcat:tomcat | From 8.5.0 up to and including 8.5.100 |
| Maven | org.apache.tomcat:tomcat-catalina | From 11.0.0-M1 before 11.0.23 (fixed in 11.0.23) |
| Maven | org.apache.tomcat:tomcat-catalina | From 10.1.0-M1 before 10.1.56 (fixed in 10.1.56) |
| Maven | org.apache.tomcat:tomcat-catalina | From 9.0.0.M1 before 9.0.119 (fixed in 9.0.119) |
| Maven | org.apache.tomcat:tomcat-catalina | From 8.5.0 up to and including 8.5.100 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-53404
- https://github.com/apache/tomcat/commit/b647cb584cea8bf95e64f5d2526c59ab8fca3225
- https://github.com/apache/tomcat/commit/bbb6219fa5ac185060bef7842cee5fb90230ca00
- https://github.com/apache/tomcat/commit/fe06ae8a71997061596f54189dae1b1b5da75430
- https://github.com/apache/tomcat
- https://lists.apache.org/thread/rdhpghgfskrdmw9hqzjgjrtw538smpmz
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-9.html
- http://www.openwall.com/lists/oss-security/2026/06/29/21