Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-49125

tomcat: Apache Tomcat: Security constraint bypass for pre/post-resources

Overview

Published
16 Jun 2025
Modified
17 Jun 2026
High CVE
6 Registry packages
90 OS packages
13 Linux distributions
Yes Fix available

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

Packages affected by CVE-2025-49125
EcosystemPackageVulnerableFixed 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

fixed 2
tomcat
Oracle Linux fixes for CVE-2025-49125
ReleasePackageFixed 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

fixed 3
apache-tomcat9 apache-tomcat10
Photon OS fixes for CVE-2025-49125
ReleasePackageFixed 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

affected 4 eol 1 fixed 10
jbcs-httpd24-mod-cluster-native tomcat jws5-tomcat tomcat-catalina jws6-tomcat pki-servlet-4-0-api
Red Hat fixes for CVE-2025-49125
ReleasePackageFixed inAdvisory
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

fixed 10
tomcat tomcat10 tomcat11
SUSE Linux Enterprise fixes for CVE-2025-49125
ReleasePackageFixed inAdvisory
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

fixed 3
tomcat9 tomcat
alma fixes for CVE-2025-49125
ReleasePackageFixed 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

fixed 2
tomcat10 tomcat9
amazon linux fixes for CVE-2025-49125
ReleasePackageFixed 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

fixed 2
thingsboard camunda-zeebe-8-6
chainguard fixes for CVE-2025-49125
ReleasePackageFixed in
thingsboard 4.0.1-r8
camunda-zeebe-8-6 8.6.18-r2

debian 4 releases · 3 packages

fixed 9
tomcat9 tomcat10 tomcat11
debian fixes for CVE-2025-49125
ReleasePackageFixed 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

fixed 3
tomcat10 tomcat11 tomcat9
echo fixes for CVE-2025-49125
ReleasePackageFixed in
tomcat10 10.1.52-1~deb12u1
tomcat11 11.0.15-1~deb13u1
tomcat9 9.0.70-2

openSUSE 1 release · 3 packages

fixed 3
tomcat10 tomcat11 tomcat
openSUSE fixes for CVE-2025-49125
ReleasePackageFixed inAdvisory
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

fixed 4
tomcat tomcat9
rocky fixes for CVE-2025-49125
ReleasePackageFixed 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

affected 5
tomcat9 tomcat10
ubuntu fixes for CVE-2025-49125
ReleasePackageFixed 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

fixed 1
thingsboard
wolfi fixes for CVE-2025-49125
ReleasePackageFixed in
thingsboard 4.0.1-r8

References

Show all 44 references

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.