---
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
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
tags:
  - nvd
epss: 0.00624
epssPercentile: 0.48226
ingestedAt: '2026-07-03T13:02:28.099Z'
---

## 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`
