CVE-2025-49125

Apache Tomcat: Security constraint bypass for pre/post-resources

State
Published
Severity
7.5 High
Published
Jun 16, 2025
Updated
Nov 3, 2025
Reserved
Jun 2, 2025

Read the record on cve.org

Description

Authentication Bypass Using an Alternate Path or Channel vulnerability in Apache Tomcat.  When using PreResources or PostResources mounted other than at the root of the web application, it was possible to access those resources via an unexpected path. That path was likely not to be protected by the same security constraints as the expected path, allowing those security constraints to be bypassed.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.7, from 10.1.0-M1 through 10.1.41, from 9.0.0.M1 through 9.0.105. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 through 8.5.100. Other, older, EOL versions may also be affected.

Users are recommended to upgrade to version 11.0.8, 10.1.42 or 9.0.106, which fix the issue.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-288 Authentication Bypass Using an Alternate Path or Channel

Affected Products

ProductVersions
Apache TomcatApache Software Foundation
  • 11.0.0-M1 through 11.0.7Affected
  • 10.1.0-M1 through 10.1.41Affected
  • 9.0.0.M1 through 9.0.105Affected
  • 8.5.0 through 8.5.100Affected
  • 8.0.0.RC1 to before 8.5.0Unknown
  • 10.0.0-M1 through 10.0.27Unknown

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.