Apache Tomcat - Security constraint bypass for pre/post-resources
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M1, < 11.0.8, >= 10.1.0-M1, < 10.1.42, >= 9.0.0.M1, < 9.0.106, >= 8.5.0, <= 8.5.100 | 11.0.8, 10.1.42, 9.0.106 |
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat-catalina | >= 11.0.0-M1, < 11.0.8, >= 10.1.0-M1, < 10.1.42, >= 9.0.0.M1, < 9.0.106, >= 8.5.0, <= 8.5.100 | 11.0.8, 10.1.42, 9.0.106 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-49125
- https://github.com/apache/tomcat/commit/7617b9c247bc77ed0444dd69adcd8aa48777886c
- https://github.com/apache/tomcat/commit/9418e3ff9f1f4c006b4661311ae9376c52d162b9
- https://github.com/apache/tomcat/commit/d94bd36fb7eb32e790dae0339bc249069649a637
- https://github.com/apache/tomcat
- https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk
- https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-9.html
- http://www.openwall.com/lists/oss-security/2025/06/16/2
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N- Weakness (CWE)
CWE-288- Platform
- Java / Kotlin (Maven)
- Package
org.apache.tomcat.embed:tomcat-embed-core, org.apache.tomcat:tomcat-catalina- Disclosed
- 16.06.2025
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-wc4r-xq3c-5cf3 - CC BY 4.0
Vulnerability history: org.apache.tomcat:tomcat-catalina
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 41
- First → latest
- 05.2019 08.2026
- Without a fix
- 0
- Exploited in attacks
- 3
Severity breakdown
- Critical 9
- High 16
- Medium 11
- Low 5
Disclosures per year
- 2019: 1
- 2020: 1
- 2021: 0
- 2022: 8
- 2023: 6
- 2024: 3
- 2025: 11
- 2026: 11
-
Apache Tomcat - Security constraint bypass for pre/post-resources this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.