CVE-2025-49125

Name
CVE-2025-49125
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vendor-advisory https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk
af854a3a-2127-422b-91ae-364da2661108 http://www.openwall.com/lists/oss-security/2025/06/16/2
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html

Match rules

CPE URI Source package Min version Max version
apache-tomcat >= 11.0.0-M1 <= 11.0.7
apache-tomcat >= 10.1.0-M1 <= 10.1.41
apache-tomcat >= 9.0.0.M1 <= 9.0.105
apache-tomcat >= 8.5.0 <= 8.5.100
apache-tomcat >= 8.0.0.RC1 < 8.5.0
apache-tomcat >= 10.0.0-M1 <= 10.0.27

Vulnerable and fixed packages

Source package Branch Version Maintainer Status