CVE-2025-49125: 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.
Published Jun 16, 2025 · Updated Nov 3, 2025
Affected packages
org.apache.tomcat:tomcat-catalina
- Ecosystem
- Maven
- Affected
- >= 11.0.0-M1, <= 11.0.7
- Fixed in
- 11.0.8
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-catalina
org.apache.tomcat:tomcat-catalina
- Ecosystem
- Maven
- Affected
- >= 10.1.0-M1, <= 10.1.41
- Fixed in
- 10.1.42
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-catalina
org.apache.tomcat:tomcat-catalina
- Ecosystem
- Maven
- Affected
- >= 9.0.0.M1, <= 9.0.105
- Fixed in
- 9.0.106
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-catalina
org.apache.tomcat.embed:tomcat-embed-core
- Ecosystem
- Maven
- Affected
- >= 11.0.0-M1, <= 11.0.7
- Fixed in
- 11.0.8
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-core
org.apache.tomcat.embed:tomcat-embed-core
- Ecosystem
- Maven
- Affected
- >= 10.1.0-M1, <= 10.1.41
- Fixed in
- 10.1.42
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-core
org.apache.tomcat.embed:tomcat-embed-core
- Ecosystem
- Maven
- Affected
- >= 9.0.0.M1, <= 9.0.105
- Fixed in
- 9.0.106
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-core
org.apache.tomcat:tomcat-catalina
- Ecosystem
- Maven
- Affected
- >= 8.5.0, <= 8.5.100
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-catalina
org.apache.tomcat.embed:tomcat-embed-core
- Ecosystem
- Maven
- Affected
- >= 8.5.0, <= 8.5.100
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-49125
- https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk
- https://github.com/apache/tomcat/commit/7617b9c247bc77ed0444dd69adcd8aa48777886c
- https://github.com/apache/tomcat/commit/9418e3ff9f1f4c006b4661311ae9376c52d162b9
- https://github.com/apache/tomcat/commit/d94bd36fb7eb32e790dae0339bc249069649a637
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-9.html
- https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html
- https://github.com/advisories/GHSA-wc4r-xq3c-5cf3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-65182
Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability
critical9.1No fixAug 26, 2026CVE-2026-65637
Apache Tomcat - HTTP/2 no-authority bypass of strict SNI validation
critical9.8Aug 26, 2026CVE-2026-65905
Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability
critical9.8No fixAug 26, 2026CVE-2026-68525
Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability
critical9.1No fixAug 26, 2026CVE-2026-53404
Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability
high7.3No fixJun 29, 2026CVE-2026-55276
Apache Tomcat has an Always-Incorrect Control Flow Implementation vulnerability
critical9.1No fixJun 29, 2026
