Apache Software Foundation Apache Tomcat
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 versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 11.0.0-M1, <= 11.0.7
- >= 10.1.0-M1, <= 10.1.41
- >= 9.0.0.M1, <= 9.0.105
- >= 8.5.0, <= 8.5.100
- >= 11.0.0-M1, < 11.0.8
Fixed in 11.0.8
from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3
- >= 10.1.0-M1, < 10.1.42
Fixed in 10.1.42
from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3
- >= 9.0.0.M1, < 9.0.106
Fixed in 9.0.106
from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3
- >= 11.0.0-M1, < 11.0.8
Fixed in 11.0.8
from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3
- >= 10.1.0-M1, < 10.1.42
Fixed in 10.1.42
from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3
- >= 9.0.0.M1, < 9.0.106
Fixed in 9.0.106
from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3
- >= 8.5.0, <= 8.5.100
from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3
- >= 8.5.0, <= 8.5.100
from GitHub Security Advisory GHSA-wc4r-xq3c-5cf3
Mitigation
Upgrade org.apache.tomcat:tomcat-catalina to 11.0.8 or later.
Upgrade org.apache.tomcat:tomcat-catalina to 10.1.42 or later.
Upgrade org.apache.tomcat:tomcat-catalina to 9.0.106 or later.
Upgrade org.apache.tomcat.embed:tomcat-embed-core to 11.0.8 or later.
Upgrade org.apache.tomcat.embed:tomcat-embed-core to 10.1.42 or later.
Upgrade org.apache.tomcat.embed:tomcat-embed-core to 9.0.106 or later.
References
- Vendor advisory lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsn…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| gregk4sec/CVE-2025-49125 | 3 Jun 2025 −13 d | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.