Tomcat’s RewriteValve rewrites and filters URLs with Apache-style rules, and three of its flags are supposed to end a request there and then: [F] returns 403 Forbidden, [G] returns 410 Gone, and [R] redirects. The bug is that after the valve sent one of those responses, it carried on processing the request instead of stopping, so the request reached the application anyway: an “execution after redirect” flaw in which a rule you wrote to block or redirect a URL does not actually block it. CISA’s analysts score it 9.1 and Red Hat’s statement calls it Critical, because a RewriteValve rule is often the thing standing between the internet and an admin path; Apache labels it Important. The fix releases, 11.0.29, 10.1.62 and 9.0.124, have shipped. Upgrade Tomcat to 11.0.29, 10.1.62, 9.0.124 or your distribution’s patched package and restart it; if you cannot today, move the blocking and redirect rules to the reverse proxy in front of Tomcat, or disable the RewriteValve. A Tomcat with no RewriteValve configured is not affected.
CVE-2026-118028 at a glance.
| Component | Apache Tomcat, the rewrite valve (org.apache.catalina.valves.rewrite.RewriteValve) when a rule uses the [F], [G] or [R] flag; Debian and Ubuntu tomcat9, tomcat10, tomcat11 |
| Affected versions | Tomcat 11.0.0-M18 to 11.0.27, 10.1.20 to 10.1.61 and 9.0.87 to 9.0.123; the EOL 8.5.100 is also listed affected. Only when a RewriteValve rule uses [F], [G] or [R] |
| Fixed in | Tomcat 11.0.29 (fix dated 13 November 2026), 10.1.62 (16 November) and 9.0.124 (13 November), all released; fix commits b756a2b1 (11.0.x), 3747d6c7 (10.1.x) and a51516e6 (9.0.x). Distribution packages below |
| Severity | CISA ADP CVSS 3.1 9.1 Critical (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N); Apache assigns no vector and labels it Important. Red Hat Important by rating, though its statement says “rated as Critical severity for Red Hat products”; Ubuntu medium. CWE-698, execution after redirect |
| Exploited in the wild | Not on CISA’s Known Exploited Vulnerabilities list as of 30 November 2026; CISA’s SSVC says no known exploitation, automatable, total technical impact. EPSS 0.0053 (38th percentile) on 29 November 2026 |
| Who is exposed | Tomcats that use the RewriteValve to enforce access, with [F] to forbid paths, [G] to retire them or [R] to redirect, and that rely on those rules rather than on application-level checks or a front proxy. If a forbidden or redirected URL still reaches a servlet that acts on it, the protection the rule was meant to provide is gone. A Tomcat behind a proxy that does its own filtering, or one with no rewrite rules, is not exposed through this |
| Published | CVE record and the Apache security pages, 19 November 2026 (reported 5 October 2026; credit Yuval Saggie and Mor Weinberger, powered by Echo Frontier); this page built 30 November 2026, last updated 30 November 2026 |
What it is
The RewriteValve is Tomcat’s version of Apache mod_rewrite: a list of rules, each a pattern and a set of flags, applied to the request URL before it reaches a servlet. Three flags are terminal by design. [F] “forces the current URL to be forbidden” and, in Tomcat’s own documentation, “immediately sends back an HTTP response of 403”; [G] does the same with 410 Gone; [R] sends a redirect. “Immediately” is the promise: once the valve has sent that response, the request should go no further.
It did not. After sending the 403, 410 or redirect, the valve fell through and kept processing the request, so the pipeline continued and the request reached whatever was behind the rule. The response the client saw was the block or the redirect, but the server had also run the thing the rule was supposed to prevent: writing a record, triggering an action, exposing data through a side effect. That is the “execution after redirect” pattern, CWE-698, and it is why CISA scores the confidentiality and integrity impact high while leaving availability untouched. The one-line fix in RewriteValve.java makes the fall-through conditional on the request not already being done, changing } else { to } else if (!done) {; the commit is titled “Skip processing when not required”. It was published on 19 November 2026 as one of a group of Apache Tomcat advisories fixed in 11.0.29, 10.1.62 and 9.0.124, which also carry the Critical TLS-PSK clustering bug CVE-2026-133325 (fixed a release later, in 11.0.30, 10.1.63 and 9.0.125).
How much this matters depends on what your rules guard. A RewriteValve that only rewrites cosmetic URLs loses little; one that uses [F] to keep the internet out of /manager or an internal API, or [R] to force a login redirect, was relying on the “immediately” that did not hold. Red Hat’s mitigation, which doubles as the architectural lesson, is to disable the RewriteValve or move the filtering and redirection to an upstream proxy; Red Hat also notes that its standard deployments do not enable the RewriteValve by default, which is why most RHEL Tomcats are not exposed.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. Debian’s tomcat9 no longer ships the server stack, so its rows describe tomcat10 and tomcat11; most production Tomcats on Linux are the upstream tarball, not a distribution package.
| Distribution | Status | Fixed package |
|---|---|---|
| Debian bookworm, trixie, forky, sid | Vulnerable on stable (tomcat10, tomcat11); fixed in forky/sid | bookworm tomcat10 10.1.55-1~deb12u1 and the 10.1.60 security builds, trixie tomcat11 11.0.22-1~deb13u1, all listed vulnerable; forky and sid tomcat10 10.1.62-1 and tomcat11 11.0.29-1 fixed; no DSA or DLA issued yet |
| Ubuntu 20.04 to 26.04 | Needs triage (priority medium) | no fixed tomcat9, tomcat10 or tomcat11 listed for any release on 30 November |
| RHEL, JBoss Web Server | Important (statement says Critical); Hardened Images fixed, RHEL under investigation | Red Hat Hardened Images tomcat10-main-10.1.62 (RHSA-2026:101665, 22 November 2026) and tomcat11-main-11.0.29 (RHSA-2026:103379, 24 November); RHEL 6 to 10 tomcat under investigation on 30 November; JBoss Web Server 6 affected, JWS 5 fix deferred, JWS 7 under investigation |
| Fedora, openSUSE, Arch, Alpine | Not consulted | trackers not read for this page |
Upstream tarballs, the official tomcat Docker image, any Tomcat you unpacked yourself | Affected below the fixed release | Tomcat 11.0.29, 10.1.62 or 9.0.124 and later; the download pages offered these on 30 November 2026 |
How to check
Two questions: is this one of the affected builds, and does the configuration use a RewriteValve with a [F], [G] or [R] rule. The second clears every Tomcat that does not use the valve, which is most of them.
# the running Tomcat version (adjust CATALINA_HOME; distribution packages: /usr/share/tomcat10, /usr/share/tomcat9)
CATALINA_HOME=${CATALINA_HOME:-/opt/tomcat}
java -cp "$CATALINA_HOME/lib/catalina.jar" org.apache.catalina.util.ServerInfo 2>/dev/null | grep 'Server number'
dpkg -l 'tomcat*' 2>/dev/null | grep '^ii' # Debian / Ubuntu
rpm -q tomcat 2>/dev/null # RHEL family
# affected: 11.0.0-M18..11.0.27, 10.1.20..10.1.61, 9.0.87..9.0.123, 8.5.100
# is the RewriteValve configured at all?
grep -rnE 'org\.apache\.catalina\.valves\.rewrite\.RewriteValve' "$CATALINA_HOME"/conf/ /etc/tomcat*/ 2>/dev/null
# the rules live in rewrite.config files under the engine/host/context
find "$CATALINA_HOME" /var/lib/tomcat* -name rewrite.config 2>/dev/null -exec echo '== {} ==' \; -exec grep -nE '\[(F|G|R)[,\]]' {} \;A build newer than the affected ceilings, or no RewriteValve line in the config, means you are done. A rewrite.config that contains a rule with [F], [G] or [R] is the vulnerable configuration; the question then is what each such rule guards, because that is what was reachable despite the rule. Rules that only rewrite paths without those three flags are not affected.
There is no single log line for this, because the client got the expected 403 or redirect; the evidence is in the application behind the rule. If a rule guards an admin path, look in the application’s own logs for actions on that path from requests that the access log shows got a 403 or 302.
# access-log requests to a guarded path that returned 403/410/302 ...
grep -hE ' (403|410|302) ' "$CATALINA_HOME"/logs/localhost_access_log.*.txt 2>/dev/null | grep -E '/manager|/admin|<your guarded path>' | tail
# ... then check whether the application acted on those same requests (application log, not Tomcat's)A request that the access log shows was forbidden or redirected, appearing in the application’s own log as a handled action, is the bug happening: the client was told no, the server did it anyway. Absence of such pairs is reassuring but not proof, since not every side effect is logged; the upgrade is what closes it.
How to fix it
Upgrade Tomcat to the fixed release and restart it. The upstream releases shipped in mid-November; Debian’s forky and sid and Red Hat’s Hardened Images have packages, while stable Debian, Ubuntu and the RHEL base packages had not caught up on 30 November.
# upstream tarball: replace with 11.0.29 / 10.1.62 / 9.0.124 (or later), then restart
systemctl restart tomcat
java -cp "$CATALINA_HOME/lib/catalina.jar" org.apache.catalina.util.ServerInfo | grep 'Server number'
# Debian forky/sid and RHEL Hardened Images have packages; stable Debian and Ubuntu did not on 30 November
apt update && apt install --only-upgrade tomcat10 tomcat11
dnf update tomcat
ps -o pid,lstart,args -C java | grep -i catalina | head # start time must be after the upgradeIf you cannot upgrade today, do not rely on the RewriteValve for anything that matters. Move the blocking and redirect rules to the reverse proxy in front of Tomcat, where a 403 really does end the request, or disable the valve and enforce the same rules in the application. Red Hat names both routes.
# option A: enforce the rule at the proxy instead (nginx example for a path RewriteValve used to forbid)
# location /manager/ { deny all; return 403; }
# option B: remove the RewriteValve from server.xml / context.xml and restart
grep -rn 'RewriteValve' "$CATALINA_HOME"/conf/ /etc/tomcat*/ 2>/dev/null # find the <Valve> line to comment out
systemctl restart tomcatDo not assume the client seeing a 403 means the request stopped; that is exactly the appearance this bug wears. Do not move only some rules to the proxy and leave the sensitive ones in the valve; the whole point is that the valve’s terminal flags were not terminal, so anything you still trust it with is still exposed until the upgrade.
Sources
- CVE-2026-118028 at CVE.org — the Apache CNA record (19 November 2026): the execution-after-redirect description, CWE-698, the affected ranges and the fixed releases
- Tomcat 11 security page, Tomcat 10 security page and Tomcat 9 security page — Apache’s own severity label, the fix commits and the report and disclosure dates
- NVD entry — Awaiting Analysis; CVSS 3.1 9.1 from CISA’s ADP (Apache assigns no CVSS vector)
- Fix commit b756a2b1 (11.0.x) and a51516e6 (9.0.x) — “Skip processing when not required”, the one-line change in
RewriteValve.java; the 10.1.x fix is3747d6c7 - Tomcat RewriteValve documentation — the
[F],[G],[R]and[L]flags and the word “immediately” the bug broke - Distribution trackers: Debian · Ubuntu · Red Hat
- EPSS score for this CVE, 29 November 2026
Related reading
- CVE-2026-116561: Apache Tomcat returns HTTP 200 instead of 500 after an authentication error (forthcoming if the link is not yet live) — the other Tomcat advisory of 19 November 2026, an authentication error returning 200 instead of 500
- CVE-2026-133325: Apache Tomcat cluster TLS-PSK lets an unauthenticated node join over TLS 1.3 — the Critical clustering bug fixed one release later in the same branches
- A Reverse Proxy with Automatic TLS — putting a proxy in front of Tomcat, which is where URL filtering and redirection belong
- The Half of Patching That Happens After the Patch is Installed — a replaced Tomcat is still the old one until the JVM has been restarted
This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

