CVE-2025-49125 json
Apache Tomcat: Security constraint bypass for pre/post-resources
published 2025-06-16 16 mo ago modified 2026-09-10 1 mo ago also BIT-tomcat-2025-49125 , EUVD-2025-18406 , GHSA-wc4r-xq3c-5cf3
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.tomcat:tomcat-catalina 9.0.106, 10.1.42, 11.0.8
- maven org.apache.tomcat.embed:tomcat-embed-core 9.0.106, 10.1.42, 11.0.8
- bitnami tomcat 9.0.106, 10.1.42, 11.0.8
- apache tomcat-catalina 9.0.106, 10.1.42, 11.0.8
- apache tomcat 9.0.106, 10.1.42, 11.0.8
- org.apache.tomcat tomcat-catalina 9.0.106, 10.1.42, 11.0.8
- apache tomcat-embed-core 9.0.106, 10.1.42, 11.0.8
- org.apache.tomcat.embed tomcat-embed-core 9.0.106, 10.1.42, 11.0.8
- tomcat9 Debian 14, Debian 13, Debian 12 9.0.70-2
- tomcat10 Debian 12 10.1.52-1~deb12u1
- tomcat10 Debian 13 10.1.52-1~deb13u1
- tomcat10 Debian 14 10.1.46-1
- tomcat11 Debian 13 11.0.15-1~deb13u1
- tomcat11 Debian 14 11.0.11-1
debian advisories DEBIAN-CVE-2025-49125
- tomcat RHEL 10.0 1:10.1.36-1.el10_0.2
- tomcat-lib RHEL 10.0 1:10.1.36-1.el10_0.2
- tomcat-webapps RHEL 10.0 1:10.1.36-1.el10_0.2
- tomcat-el-5.0-api RHEL 10.0 1:10.1.36-1.el10_0.2
- tomcat-docs-webapp RHEL 10.0 1:10.1.36-1.el10_0.2
- tomcat-jsp-3.1-api RHEL 10.0 1:10.1.36-1.el10_0.2
- tomcat-admin-webapps RHEL 10.0 1:10.1.36-1.el10_0.2
- tomcat-servlet-6.0-api RHEL 10.0 1:10.1.36-1.el10_0.2
red hat advisories RHSA-2025:14182RHSA-2025:14183RHSA-2025:14179RHSA-2025:14180RHSA-2025:14181RHSA-2025:14177
- tomcat SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +13 more 9.0.108-150200.91.1
- tomcat11 SLE Module for Web and Scripting 15 SP7, SLE Module for Web and Scripting 15 SP6, openSUSE Leap 15.6 11.0.9-150600.13.6.1
- tomcat10 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Web and Scripting 15 SP7 +4 more 10.1.43-150200.5.48.1
- tomcat SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +13 more 9.0.106-150200.86.1
- tomcat10 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Web and Scripting 15 SP7 +4 more 10.1.42-150200.5.45.1
- tomcat SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.0.115-3.160.1
- tomcat SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.0.36-3.145.1
suse advisories SUSE-SU-2026:1058-1SUSE-SU-2025:03024-1SUSE-SU-2025:02979-1SUSE-SU-2025:02978-1SUSE-SU-2025:02280-1SUSE-SU-2025:02261-1
- tomcat openSUSE Tumbleweed 9.0.106-1.1
- tomcat10 openSUSE Tumbleweed 10.1.42-1.1
- tomcat11 openSUSE Tumbleweed 11.0.8-1.1
opensuse advisories openSUSE-SU-2025:15301-1openSUSE-SU-2025:15302-1openSUSE-SU-2025:15303-1
- tomcat AlmaLinux 8 1:9.0.87-1.el8_10.6
- tomcat-lib AlmaLinux 8 1:9.0.87-1.el8_10.6
- tomcat-webapps AlmaLinux 8 1:9.0.87-1.el8_10.6
- tomcat-el-3.0-api AlmaLinux 8 1:9.0.87-1.el8_10.6
- tomcat-docs-webapp AlmaLinux 8 1:9.0.87-1.el8_10.6
- tomcat-jsp-2.3-api AlmaLinux 8 1:9.0.87-1.el8_10.6
- tomcat-admin-webapps AlmaLinux 8 1:9.0.87-1.el8_10.6
- tomcat-servlet-4.0-api AlmaLinux 8 1:9.0.87-1.el8_10.6
almalinux advisories ALSA-2025:14177ALSA-2025:14178ALSA-2025:14181
- tomcat Rocky Linux 9 1:9.0.87-3.el9_6.3
- tomcat9 Rocky Linux 10 1:9.0.87-5.el10_0.3
- tomcat Rocky Linux 10 1:10.1.36-1.el10_0.2
- tomcat Rocky Linux 8 1:9.0.87-1.el8_10.6
rocky linux advisories RLSA-2025:14181RLSA-2025:14178RLSA-2025:14179RLSA-2025:14177
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-49125 updated cvss 3.7
tomcat: Apache Tomcat: Security constraint bypass for pre/post-resources
-
Red Hat Data Grid 8 tomcat-catalinaaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-2.1-api, +4 more Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 pki-servlet-engine, pki-servlet-4.0-api Red Hat Enterprise Linux 9 log4j, log4j-jcl, log4j-slf4j, mod_proxy_cluster, pki-servlet-engine, pki-servlet-4.0-api Red Hat Enterprise Linux 10 mod_proxy_cluster Red Hat Fuse 7 tomcat-catalina Red Hat Integration Camel K 1 tomcat-catalina Red Hat JBoss Core Services jbcs-httpd24-mod_proxy_cluster, jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-src-zipaffected: workaround, no fix available “Fix deferred”
+4 more productsfewer
Red Hat OpenShift Dev Spaces devspaces/server-rhel8, devspaces/server-rhel9 Red Hat Process Automation 7 tomcat-catalina Red Hat Single Sign-On 7 tomcat-catalina Red Hat streams for Apache Kafka tomcat-catalina -
Red Hat Enterprise Linux AppStream (v. 8) tomcat 9.0.87-1.el8_10.6, tomcat-lib 9.0.87-1.el8_10.6, tomcat-webapps 9.0.87-1.el8_10.6, tomcat-el-3.0-api 9.0.87-1.el8_10.6, tomcat-docs-webapp 9.0.87-1.el8_10.6, tomcat-jsp-2.3-api 9.0.87-1.el8_10.6, +2 morefixed: vendor fix RHSA-2025:14177
-
Red Hat Enterprise Linux AppStream (v. 9) tomcat 9.0.87-3.el9_6.3, tomcat-lib 9.0.87-3.el9_6.3, tomcat-webapps 9.0.87-3.el9_6.3, tomcat-el-3.0-api 9.0.87-3.el9_6.3, tomcat-docs-webapp 9.0.87-3.el9_6.3, tomcat-jsp-2.3-api 9.0.87-3.el9_6.3, +2 morefixed: vendor fix RHSA-2025:14181
-
Red Hat Enterprise Linux AppStream (v. 10) tomcat 10.1.36-1.el10_0.2, tomcat9 9.0.87-5.el10_0.3, tomcat-lib 10.1.36-1.el10_0.2, tomcat9-lib 9.0.87-5.el10_0.3, tomcat-webapps 10.1.36-1.el10_0.2, tomcat9-webapps 9.0.87-5.el10_0.3, +10 morefixed: vendor fix RHSA-2025:14179
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) tomcat 9.0.87-1.el8_8.7, tomcat-lib 9.0.87-1.el8_8.7, tomcat-webapps 9.0.87-1.el8_8.7, tomcat-el-3.0-api 9.0.87-1.el8_8.7, tomcat-docs-webapp 9.0.87-1.el8_8.7, tomcat-jsp-2.3-api 9.0.87-1.el8_8.7, +2 morefixed: vendor fix RHSA-2025:14182
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) tomcat 9.0.87-1.el9_2.6, tomcat-lib 9.0.87-1.el9_2.6, tomcat-webapps 9.0.87-1.el9_2.6, tomcat-el-3.0-api 9.0.87-1.el9_2.6, tomcat-docs-webapp 9.0.87-1.el9_2.6, tomcat-jsp-2.3-api 9.0.87-1.el9_2.6, +2 morefixed: vendor fix RHSA-2025:14183
show 6 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) tomcat 9.0.87-1.el9_4.6, tomcat-lib 9.0.87-1.el9_4.6, tomcat-webapps 9.0.87-1.el9_4.6, tomcat-el-3.0-api 9.0.87-1.el9_4.6, tomcat-docs-webapp 9.0.87-1.el9_4.6, tomcat-jsp-2.3-api 9.0.87-1.el9_4.6, +2 morefixed: vendor fix RHSA-2025:14180
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) tomcat 9.0.87-1.el8_8.7, tomcat-lib 9.0.87-1.el8_8.7, tomcat-webapps 9.0.87-1.el8_8.7, tomcat-el-3.0-api 9.0.87-1.el8_8.7, tomcat-docs-webapp 9.0.87-1.el8_8.7, tomcat-jsp-2.3-api 9.0.87-1.el8_8.7, +2 morefixed: vendor fix RHSA-2025:14182
-
Red Hat JBoss Web Server 5.8 for RHEL 7 Server jws5-tomcat 9.0.87-12.redhat_00011.1.el7jws, jws5-tomcat-lib 9.0.87-12.redhat_00011.1.el7jws, jws5-tomcat-javadoc 9.0.87-12.redhat_00011.1.el7jws, jws5-tomcat-selinux 9.0.87-12.redhat_00011.1.el7jws, jws5-tomcat-webapps 9.0.87-12.redhat_00011.1.el7jws, jws5-tomcat-java-jdk8 9.0.87-12.redhat_00011.1.el7jws, +6 more Red Hat JBoss Web Server 5.8 for RHEL 8 jws5-tomcat 9.0.87-12.redhat_00011.1.el8jws, jws5-tomcat-lib 9.0.87-12.redhat_00011.1.el8jws, jws5-tomcat-javadoc 9.0.87-12.redhat_00011.1.el8jws, jws5-tomcat-selinux 9.0.87-12.redhat_00011.1.el8jws, jws5-tomcat-webapps 9.0.87-12.redhat_00011.1.el8jws, jws5-tomcat-el-3.0-api 9.0.87-12.redhat_00011.1.el8jws, +4 more Red Hat JBoss Web Server 5.8 for RHEL 9 jws5-tomcat 9.0.87-12.redhat_00011.1.el9jws, jws5-tomcat-lib 9.0.87-12.redhat_00011.1.el9jws, jws5-tomcat-javadoc 9.0.87-12.redhat_00011.1.el9jws, jws5-tomcat-selinux 9.0.87-12.redhat_00011.1.el9jws, jws5-tomcat-webapps 9.0.87-12.redhat_00011.1.el9jws, jws5-tomcat-el-3.0-api 9.0.87-12.redhat_00011.1.el9jws, +4 morefixed: vendor fix RHSA-2025:11695
-
Red Hat JBoss Web Server 5.8.5fixed: vendor fix RHSA-2025:11696
-
Red Hat JBoss Web Server 6.1 for RHEL 8 jws6-tomcat 10.1.36-7.redhat_00008.1.el8jws, jws6-tomcat-lib 10.1.36-7.redhat_00008.1.el8jws, jws6-tomcat-javadoc 10.1.36-7.redhat_00008.1.el8jws, jws6-tomcat-selinux 10.1.36-7.redhat_00008.1.el8jws, jws6-tomcat-webapps 10.1.36-7.redhat_00008.1.el8jws, jws6-tomcat-el-5.0-api 10.1.36-7.redhat_00008.1.el8jws, +4 more Red Hat JBoss Web Server 6.1 for RHEL 9 jws6-tomcat 10.1.36-7.redhat_00008.1.el9jws, jws6-tomcat-lib 10.1.36-7.redhat_00008.1.el9jws, jws6-tomcat-javadoc 10.1.36-7.redhat_00008.1.el9jws, jws6-tomcat-selinux 10.1.36-7.redhat_00008.1.el9jws, jws6-tomcat-webapps 10.1.36-7.redhat_00008.1.el9jws, jws6-tomcat-el-5.0-api 10.1.36-7.redhat_00008.1.el9jws, +4 more Red Hat JBoss Web Server 6.1 for RHEL 10 jws6-tomcat 10.1.36-7.redhat_00008.1.el10jws, jws6-tomcat-lib 10.1.36-7.redhat_00008.1.el10jws, jws6-tomcat-javadoc 10.1.36-7.redhat_00008.1.el10jws, jws6-tomcat-selinux 10.1.36-7.redhat_00008.1.el10jws, jws6-tomcat-webapps 10.1.36-7.redhat_00008.1.el10jws, jws6-tomcat-el-5.0-api 10.1.36-7.redhat_00008.1.el10jws, +4 morefixed: vendor fix RHSA-2025:11741
-
Red Hat JBoss Web Server 6.1.1fixed: vendor fix RHSA-2025:11742
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
3.44% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat-catalina | >=11.0.0-M1, <11.0.8 >=10.1.0-M1, <10.1.42 >=9.0.0.M1, <9.0.106 >=8.5.0, <=8.5.100 |
11.0.8 10.1.42 9.0.106 |
| maven | org.apache.tomcat.embed:tomcat-embed-core | >=11.0.0-M1, <11.0.8 >=10.1.0-M1, <10.1.42 >=9.0.0.M1, <9.0.106 >=8.5.0, <=8.5.100 |
11.0.8 10.1.42 9.0.106 |
| bitnami | tomcat | <9.0.106 >=10.0.0, <10.1.42 >=11.0.0, <11.0.8 |
9.0.106 10.1.42 11.0.8 |
Affected products
- Apache Software Foundation Apache Tomcat
Classification
- Weakness
-
- CWE-288 Authentication Bypass Using an Alternate Path or Channel
References
-
github.com
/apache/tomcat/commit/7617b9c247bc77ed0444dd69adcd8aa48777886c
web
-
github.com
/apache/tomcat/commit/9418e3ff9f1f4c006b4661311ae9376c52d162b9
web
-
github.com
/apache/tomcat/commit/d94bd36fb7eb32e790dae0339bc249069649a637
web
-
lists.apache.org
/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk
vendor-advisory, web, mailing-list, advisory
-
openwall.com
/lists/oss-security/2025/06/16/2
web, mailing-list, third-party-advisory, advisory
-
lists.debian.org
/debian-lts-announce/2025/07/msg00009.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-49125
advisory, web
-
github.com
/apache/tomcat
package
-
tomcat.apache.org
/security-10.html
web
-
tomcat.apache.org
/security-11.html
web
-
tomcat.apache.org
/security-9.html
web
Sources
- CVE List CVE-2025-49125
- GitHub Advisory GHSA-wc4r-xq3c-5cf3
- NVD CVE-2025-49125
- OSV BIT-tomcat-2025-49125
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.