CVE-2026-65182

Apache Tomcat: Bypass longest prefix security constraint

Published Aug 25, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
Improper Access Control, Incorrect Authorization vulnerability in Apache Tomcat leads to security constraint bypass if a constraint for a longer path is specified before a more restrictive constraint for a shorter sub-path.



This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.24, from 10.1.0-M1 through 10.1.57, from 9.0.0.M1 through 9.0.120, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109.



Users are recommended to upgrade to version 11.0.25, 10.1.58, 9.0.121, which fixes the issue.

Analysis

AI-generated

Technical impact

This issue allows an attacker to bypass Tomcat’s security constraints by ordering a longer path constraint before a shorter, more restrictive one. The result is that requests matching the shorter path are allowed to reach protected resources, giving the attacker unauthorized access. The type of weakness is improper access control and incorrect authorization.

Affected Systems

Vendor Apache Software Foundation; product Apache Tomcat. Affected are all Tomcat releases from 7.0.0 through 7.0.109, 8.5.0 through 8.5.100, 9.0.0.M1 through 9.0.120, 10.1.0-M1 through 10.1.57, and 11.0.0-M1 through 11.0.24. The fixes are available in Tomcat 11.0.25, 10.1.58 and 9.0.121.

Risk and Exploitability

EPSS is less than 1 % and the vulnerability is not listed in CISA KEV, so they provide only a very low indication of exploitation likelihood. The description states that a longer security constraint can precede a more restrictive one, allowing requests that would normally be denied to reach protected resources. This indicates a single path to unauthorized access via ordinary HTTP requests, and the CVSS score of 9.1 classifies this as a high‑severity vulnerability, indicating a potentially wide impact on confidentiality, integrity and availability depending on the resources protected. The attack vector is inferred to be remote web‑application requests against URLs matching the longest‑prefix constraint. The high CVSS score of 9.1 confirms the severity of the problem.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Tomcat 11.0.25 or later, 10.1.58 or later, or 9.0.121 or later, which contain the fix for the constraint ordering issue.
  • If an immediate upgrade is not feasible, audit the web.xml or other security‑constraint definitions to ensure that any longer path constraints are placed after the more restrictive, shorter path constraints, so that the intended authorization rules are enforced correctly.
  • If the reordered constraints are not an option, temporarily remove or disable the longest‑prefix security constraints until the application can be upgraded to a patched Tomcat version.

Generated by OpenCVE AI on September 1, 2026 at 14:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4889-1 tomcat10 security update
Github GHSA Github GHSA GHSA-gcx9-497g-6cp6 Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache tomcat
Vendors & Products Apache
Apache tomcat
Type Values Removed Values Added
Description Improper Access Control, Incorrect Authorization vulnerability in Apache Tomcat leads to security constraint bypass if a constraint for a longer path is specified before a more restrictive constraint for a shorter sub-path. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.24, from 10.1.0-M1 through 10.1.57, from 9.0.0.M1 through 9.0.120, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Users are recommended to upgrade to version 11.0.25, 10.1.58, 9.0.121, which fixes the issue.
Title Apache Tomcat: Bypass longest prefix security constraint
Weaknesses CWE-284
CWE-863
References
Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-551

    Incorrect Behavior Order: Authorization Before Parsing and Canonicalization

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 26, 2026, 3:18 PM
Reserved
Jul 21, 2026, 6:33 PM
Status
Analyzed
Published
Aug 25, 2026, 10:17 PM
Modified
Aug 27, 2026, 3:27 PM
Severity
Important
Public date
Aug 25, 2026, 9:43 PM