Vulnerability · Published Jun 16, 2025 · Assigned by apache

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

High 7.5

In plain English

A high-severity authentication bypass in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.4% (higher than 89% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.4%top 11.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tomcat1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-admin-webapps1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-admin-webapps1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-docs-webapp1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-docs-webapp1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-el-3.0-api1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-el-3.0-api1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-jsp-2.3-api1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-jsp-2.3-api1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-lib1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-lib1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-servlet-4.0-api1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-servlet-4.0-api1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:8tomcat-webapps1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux:9tomcat-webapps1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux:10tomcat91:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-admin-webapps1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-docs-webapp1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-el-3.0-api1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-jsp-2.3-api1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-lib1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-servlet-4.0-api1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux:10tomcat9-webapps1:9.0.87-5.el10_0.3ALSA-2025:14178
Debian:12tomcat1010.1.52-1~deb12u1DSA-6120-1
Debian:12tomcat1010.1.52-1~deb12u1DEBIAN-CVE-2025-49125
Debian:13tomcat1010.1.52-1~deb13u1DEBIAN-CVE-2025-49125
Debian:13tomcat1010.1.52-1~deb13u1DSA-6120-1
Debian:14tomcat1010.1.46-1DEBIAN-CVE-2025-49125
Debian:13tomcat1111.0.15-1~deb13u1DSA-6121-1
Debian:13tomcat1111.0.15-1~deb13u1DEBIAN-CVE-2025-49125
Debian:14tomcat1111.0.11-1DEBIAN-CVE-2025-49125
Debian:12tomcat99.0.70-2DEBIAN-CVE-2025-49125
Debian:13tomcat99.0.70-2DEBIAN-CVE-2025-49125
Debian:14tomcat99.0.70-2DEBIAN-CVE-2025-49125
Mavenorg.apache.tomcat.embed:tomcat-embed-core11.0.8GHSA-wc4r-xq3c-5cf3
Mavenorg.apache.tomcat.embed:tomcat-embed-coreno fix listedGHSA-wc4r-xq3c-5cf3
Mavenorg.apache.tomcat.embed:tomcat-embed-core10.1.42GHSA-wc4r-xq3c-5cf3
Mavenorg.apache.tomcat.embed:tomcat-embed-core9.0.106GHSA-wc4r-xq3c-5cf3
Mavenorg.apache.tomcat:tomcat-catalinano fix listedGHSA-wc4r-xq3c-5cf3
Mavenorg.apache.tomcat:tomcat-catalina11.0.8GHSA-wc4r-xq3c-5cf3
Mavenorg.apache.tomcat:tomcat-catalina10.1.42GHSA-wc4r-xq3c-5cf3
Mavenorg.apache.tomcat:tomcat-catalina9.0.106GHSA-wc4r-xq3c-5cf3
Rocky Linux:10tomcat1:10.1.36-1.el10_0.2RLSA-2025:14179
Rocky Linux:8tomcat1:9.0.87-1.el8_10.6RLSA-2025:14177
Rocky Linux:9tomcat1:9.0.87-3.el9_6.3RLSA-2025:14181
Rocky Linux:10tomcat91:9.0.87-5.el10_0.3RLSA-2025:14178
Ubuntu:24.04:LTStomcat10no fix listedUBUNTU-CVE-2025-49125
Ubuntu:25.10tomcat10no fix listedUBUNTU-CVE-2025-49125
Ubuntu:26.04:LTStomcat10no fix listedUBUNTU-CVE-2025-49125
Ubuntu:26.10tomcat10no fix listedUBUNTU-CVE-2025-49125
Ubuntu:25.10tomcat11no fix listedUBUNTU-CVE-2025-49125
Ubuntu:26.04:LTStomcat11no fix listedUBUNTU-CVE-2025-49125

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Tomcat 11.0.0-M1 – through 11.0.710.1.0-M1 – through 10.1.419.0.0.M1 – through 9.0.1058.5.0 – through 8.5.100

Weakness: CWE-288 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References