CVE-2025-49125
tomcat: Apache Tomcat: Security constraint bypass for pre/post-resources
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-288
Affected packages · 6
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | <9.0.106>=10.0.0, <10.1.42>=11.0.0, <11.0.8 | 9.0.10610.1.4211.0.8 |
| 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.810.1.429.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.810.1.429.0.106 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.1.10+sp0, <10.1.10+sp2>=10.1.11+sp0, <10.1.11+sp999>=10.1.16+sp0, <10.1.16+sp2>=10.1.19+sp0, <10.1.19+sp2>=10.1.20+sp0, <10.1.20+sp2+14 more | 10.1.10+sp210.1.11+sp99910.1.16+sp210.1.19+sp210.1.20+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=10.1.10, <10.1.10+sp999>=10.1.11, <10.1.11+sp999>=10.1.16, <10.1.16+sp999>=10.1.19, <10.1.19+sp999>=10.1.20, <10.1.20+sp999+14 more | 10.1.10+sp99910.1.11+sp99910.1.16+sp99910.1.19+sp99910.1.20+sp999 |
| Seal Maven | seal.sp2.org.apache.tomcat.embed:tomcat-embed-core | >=10.1.39, <10.1.39+sp999>=10.1.5, <10.1.5+sp999 | 10.1.39+sp99910.1.5+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 62 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.87-1.el8_10.6 |
| 9 | tomcat +7 | 1:9.0.87-3.el9_6.3 |
Photon OS 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | apache-tomcat9 +1 | 9.0.106-1.ph4 |
| 5.0 | apache-tomcat10 +1 | 10.1.42-1.ph5 |
| 5.0 | apache-tomcat9 +1 | 9.0.106-1.ph5 |
Red Hat 4 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jbcs-httpd24-mod-cluster-native +2 | affected | — |
| 7 | tomcat +9 | eol | — |
| 7 | jws5-tomcat +11 | 0:9.0.87-12.redhat_00011.1.el7jws | RHSA-2025:11695 |
| 8 | tomcat-catalina | affected | — |
| 8 | jws6-tomcat +9 | 0:10.1.36-7.redhat_00008.1.el8jws | RHSA-2025:11741 |
| 8 | jws5-tomcat +9 | 0:9.0.87-12.redhat_00011.1.el8jws | RHSA-2025:11695 |
9 more rows
SUSE Linux Enterprise 5 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | tomcat +8 | 9.0.36-3.145.1 | SUSE-SU-2025:02214-1 |
| 15.4 | tomcat +6 | 9.0.106-150200.86.1 | SUSE-SU-2025:02280-1 |
| 15.5 | tomcat10 +6 | 10.1.42-150200.5.45.1 | SUSE-SU-2025:02261-1 |
| 15.5 | tomcat +6 | 9.0.106-150200.86.1 | SUSE-SU-2025:02280-1 |
| 15.6 | tomcat10 +6 | 10.1.42-150200.5.45.1 | SUSE-SU-2025:02261-1 |
| 15.6 | tomcat11 +6 | 11.0.9-150600.13.6.1 | SUSE-SU-2025:02979-1 |
4 more rows
alma 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat9 +7 | 1:9.0.87-5.el10_0.3 |
| 8 | tomcat +7 | 1:9.0.87-1.el8_10.6 |
| 9 | tomcat +7 | 1:9.0.87-3.el9_6.3 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | tomcat10 +7 | 1:10.1.42-1.amzn2023.0.1 |
| 2023 | tomcat9 +7 | 1:9.0.106-1.amzn2023.0.1 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| thingsboard | 4.0.1-r8 | |
| camunda-zeebe-8-6 | 8.6.18-r2 |
debian 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | tomcat9 | 9.0.107-0+deb11u1 |
| 12 | tomcat10 | 10.1.52-1~deb12u1 |
| 12 | tomcat9 | 9.0.70-2 |
| 13 | tomcat10 | 10.1.52-1~deb13u1 |
| 13 | tomcat11 | 11.0.15-1~deb13u1 |
| 13 | tomcat9 | 9.0.70-2 |
3 more rows
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| tomcat10 | 10.1.52-1~deb12u1 | |
| tomcat11 | 11.0.15-1~deb13u1 | |
| tomcat9 | 9.0.70-2 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.42-1.1 | openSUSE-SU-2025:15302-1 |
| Tumbleweed | tomcat11 +10 | 11.0.8-1.1 | openSUSE-SU-2025:15303-1 |
| Tumbleweed | tomcat +10 | 9.0.106-1.1 | openSUSE-SU-2025:15301-1 |
rocky 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat +7 | 1:10.1.36-1.el10_0.2 |
| 10 | tomcat9 +7 | 1:9.0.87-5.el10_0.3 |
| 8 | tomcat +7 | 1:9.0.87-1.el8_10.6 |
| 9 | tomcat +7 | 1:9.0.87-3.el9_6.3 |
ubuntu 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | tomcat9 | affected |
| 20.04-ESM | tomcat9 | affected |
| 22.04 | tomcat9 | affected |
| 24.04 | tomcat10 | affected |
| 26.04 | tomcat10 | affected |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| thingsboard | 4.0.1-r8 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/06/16/2
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:14177
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:14181
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-49125
- bugzilla.redhat.com https://bugzilla.redhat.com/2373015
- bugzilla.redhat.com https://bugzilla.redhat.com/2373018
- bugzilla.redhat.com https://bugzilla.redhat.com/2373020
- bugzilla.redhat.com https://bugzilla.redhat.com/2373309
- bugzilla.redhat.com https://bugzilla.redhat.com/2379374
- bugzilla.redhat.com https://bugzilla.redhat.com/2379382
Show all 44 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2379386
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2373015
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2373018
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2373020
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2373309
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2379374
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2379382
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2379386
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-48976
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-48988
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-48989
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-49125
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-52434
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-52520
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-53506
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-14181.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:14177
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/7617b9c247bc77ed0444dd69adcd8aa48777886c
- github.com https://github.com/apache/tomcat/commit/7617b9c247bc77ed0444dd69adcd8aa48777886c (10.1.42)
- github.com https://github.com/apache/tomcat/commit/9418e3ff9f1f4c006b4661311ae9376c52d162b9
- github.com https://github.com/apache/tomcat/commit/9418e3ff9f1f4c006b4661311ae9376c52d162b9 (9.0.106)
- github.com https://github.com/apache/tomcat/commit/d94bd36fb7eb32e790dae0339bc249069649a637
- github.com https://github.com/apache/tomcat/commit/d94bd36fb7eb32e790dae0339bc249069649a637 (11.0.8)
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-49125.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-14181.html
- lists.apache.org https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-49125
- tomcat.apache.org https://tomcat.apache.org/security-10.html
- tomcat.apache.org https://tomcat.apache.org/security-11.html
- tomcat.apache.org https://tomcat.apache.org/security-9.html
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-49125
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.