CVEfocus › CVE database › CVE-2025-49125

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

CVSS 7.5 HighEPSS 1.7% (higher than 78% of CVEs)Published 2025-06-16Updated 2025-11-03Assigner: apache

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.

CWE-288

What to do

Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

72Fixed
12Fix pending
25Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04tomcat10Fixed10.1.61~us1-0ubuntu1~26.04.1UBUNTU-CVE-2025-49125
Ubuntu 26.04tomcat9Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat10Will not fix
From Debian: Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
UBUNTU-CVE-2025-49125
Ubuntu 25.10tomcat11Will not fix
From Debian: Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
UBUNTU-CVE-2025-49125
Ubuntu 25.10tomcat9Not affected
vulnerable_code_not_present
Ubuntu 24.04tomcat10Fixed10.1.61~us1-0ubuntu1~24.04.2UBUNTU-CVE-2025-49125
Ubuntu 22.04tomcat9Fix pendingUBUNTU-CVE-2025-49125
Ubuntu 20.04tomcat9Fix pendingUBUNTU-CVE-2025-49125
Ubuntu 18.04tomcat9Fix pendingUBUNTU-CVE-2025-49125
Ubuntu 16.04tomcat6Will not fix
From Debian: Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
Ubuntu 16.04tomcat7Will not fix
From Debian: Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
Ubuntu 16.04tomcat8Will not fix
From Debian: Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
Debian 14tomcat10Fixed10.1.46-1DEBIAN-CVE-2025-49125
Debian 14tomcat11Fixed11.0.11-1DEBIAN-CVE-2025-49125
Debian 14tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-49125
Debian 13tomcat10Fixed10.1.52-1~deb13u1DEBIAN-CVE-2025-49125
Debian 13tomcat11Fixed11.0.15-1~deb13u1DEBIAN-CVE-2025-49125
Debian 13tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-49125
Debian 12tomcat10Fixed10.1.52-1~deb12u1DEBIAN-CVE-2025-49125
Debian 12tomcat9Fixed9.0.70-2DEBIAN-CVE-2025-49125
Red Hat Enterprise Linux 10mod_proxy_clusterFix pending
Fix deferred
Red Hat Enterprise Linux 10tomcatFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-admin-webappsFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-docs-webappFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-el-5.0-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-jsp-3.1-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-libFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-servlet-6.0-apiFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat-webappsFixed1:10.1.36-1.el10_0.2RHSA-2025:14179
Red Hat Enterprise Linux 10tomcat9Fixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-admin-webappsFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-docs-webappFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-el-3.0-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-jsp-2.3-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-libFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-servlet-4.0-apiFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 10tomcat9-webappsFixed1:9.0.87-5.el10_0.3RHSA-2025:14178
Red Hat Enterprise Linux 9log4jFix pending
Fix deferred
Red Hat Enterprise Linux 9log4j-jclFix pending
Fix deferred
Red Hat Enterprise Linux 9log4j-slf4jFix pending
Fix deferred
Red Hat Enterprise Linux 9mod_proxy_clusterFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 9tomcatFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.87-3.el9_6.3RHSA-2025:14181
Red Hat Enterprise Linux 8pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 8pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 8tomcatFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.87-1.el8_10.6RHSA-2025:14177
Red Hat Enterprise Linux 7tomcatWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-el-2.2-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-jsvcWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-libWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6Will not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-libWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-log4jWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-webappsWill not fix
Out of support scope
AlmaLinux 10tomcat9Fixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-admin-webappsFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-docs-webappFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-el-3.0-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-jsp-2.3-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-libFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-servlet-4.0-apiFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 10tomcat9-webappsFixed1:9.0.87-5.el10_0.3ALSA-2025:14178
AlmaLinux 9tomcatFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-admin-webappsFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-docs-webappFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-el-3.0-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-jsp-2.3-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-libFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-servlet-4.0-apiFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 9tomcat-webappsFixed1:9.0.87-3.el9_6.3ALSA-2025:14181
AlmaLinux 8tomcatFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-libFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
AlmaLinux 8tomcat-webappsFixed1:9.0.87-1.el8_10.6ALSA-2025:14177
Rocky Linux 10tomcatFixed1:10.1.36-1.el10_0.2RLSA-2025:14179
Rocky Linux 10tomcat9Fixed1:9.0.87-5.el10_0.3RLSA-2025:14178
Rocky Linux 9tomcatFixed1:9.0.87-3.el9_6.3RLSA-2025:14181
Rocky Linux 8tomcatFixed1:9.0.87-1.el8_10.6RLSA-2025:14177
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed11.0.8GHSA-wc4r-xq3c-5cf3
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed10.1.42GHSA-wc4r-xq3c-5cf3

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.