---
id: CVE-2026-53404
title: >-
  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…
summary: >-
  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…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-670
  - CWE-358
vendor: apache
product: tomcat
affected:
  - 'tomcat >= 8.5.0, <= 8.5.100'
  - 'tomcat >= 9.0.0, < 9.0.119'
  - 'tomcat >= 10.1.0, < 10.1.56'
  - 'tomcat >= 11.0.0, < 11.0.23'
patched:
  - tomcat 11.0.23
published: '2026-06-29'
updated: '2026-07-02'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53404'
references:
  - url: 'https://lists.apache.org/thread/rdhpghgfskrdmw9hqzjgjrtw538smpmz'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/06/29/21'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53404.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-53404'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2494681'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-53404'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53404'
  - url: 'https://access.redhat.com/errata/RHSA-2026:43401'
  - url: 'https://access.redhat.com/errata/RHSA-2026:49951'
  - url: 'https://access.redhat.com/errata/RHSA-2026:29203'
  - url: 'https://access.redhat.com/errata/RHSA-2026:32960'
  - url: 'https://access.redhat.com/errata/RHSA-2026:43402'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67163'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68651'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68677'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68680'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68678'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68679'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68659'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68660'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.00652
epssPercentile: 0.51049
ingestedAt: '2026-07-03T13:02:28.099Z'
scores:
  nvd: 7.3
  vendor: 6.5
---

## Overview

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

- `tomcat >= 8.5.0, <= 8.5.100`
- `tomcat >= 9.0.0, < 9.0.119`
- `tomcat >= 10.1.0, < 10.1.56`
- `tomcat >= 11.0.0, < 11.0.23`

## Remediation

Upgrade past the affected range:

- `tomcat 11.0.23`

## Vendor advisories

- **RHSA-2026:43401** · Red Hat · fixed in: Red Hat JBoss Web Server 6.2 on RHEL 10, Red Hat JBoss Web Server 6.2 on RHEL 8, Red Hat JBoss Web Server 6.2 on RHEL 9 · released 2026-07-22 · [advisory](https://access.redhat.com/errata/RHSA-2026:43401)
- **RHSA-2026:49951** · Red Hat · fixed in: Red Hat JBoss Web Server 7.0 on RHEL 10, Red Hat JBoss Web Server 7.0 on RHEL 8, Red Hat JBoss Web Server 7.0 on RHEL 9 · released 2026-08-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:49951)
- **RHSA-2026:29203** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-06-24 · [advisory](https://access.redhat.com/errata/RHSA-2026:29203)
- **RHSA-2026:32960** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-06-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:32960)
- **RHSA-2026:43402** · Red Hat · fixed in: Red Hat JBoss Web Server 6.2.4 · released 2026-07-22 · [advisory](https://access.redhat.com/errata/RHSA-2026:43402)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat JBoss Web Server 5 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-09-25 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53404.json)
- **RHSA-2026:67163** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0) · released 2026-09-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:67163)
- **RHSA-2026:68651** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2026-09-18 · [advisory](https://access.redhat.com/errata/RHSA-2026:68651)
- **RHSA-2026:68677** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68677)
- **RHSA-2026:68680** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68680)
- **RHSA-2026:68678** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.2) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68678)
- **RHSA-2026:68679** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.4) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68679)
- **RHSA-2026:68659** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68659)
- **RHSA-2026:68660** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68660)
