Summary
CVE-2026-118028 is an Execution After Redirect (CWE-698) vulnerability in the RewriteValve of Apache Tomcat. When a rewrite rule using the [F], [G] or [R] flag matches, request processing does not stop as intended. The CNA-assigned CVSS v3.1 base score is 9.1 (Critical), and the Apache Tomcat team rated it Important.
Technical details
- Root cause: In RewriteValve, rule matches using the [F] (forbidden), [G] (gone) and [R] (redirect) flags do not halt further processing (Execution After Redirect).
- Trigger conditions: The Tomcat deployment uses RewriteValve rules with the [F], [G] or [R] flags.
- Attack vector: Network, no authentication or user interaction required, low attack complexity.
- Impact: A request can still be processed by the application even though a rewrite rule that should have blocked or redirected it matched. This can lead to high confidentiality and integrity impact, for example access to resources that rewrite rules were meant to protect.
Affected software
- Apache Tomcat 11.0.0-M18 through 11.0.27
- Apache Tomcat 10.1.20 through 10.1.61
- Apache Tomcat 9.0.87 through 9.0.123
- Apache Tomcat 8.5.100 (end of life) is known to be affected; other unsupported versions may also be affected.
Severity
- CVSS v3.1 base score: 9.1 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: upgrade to Apache Tomcat 11.0.29, 10.1.62 or 9.0.124 (or later).
- Users of end-of-life branches (such as 8.5.x) should migrate to a supported, fixed release.
- Until patched, review RewriteValve configurations that rely on [F], [G] or [R] flags for access control, and do not depend on them as the only protection for sensitive resources. Enforce authorization in the application or with security constraints.

