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

Published Jun 16, 2025
·
Updated

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.

Users are recommended to upgrade to version 11.0.8, 10.1.42 or 9.0.106, which fix the issue.

Other sources

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.

NVD

Affected Software

10 affected componentsFixes available
maven/org.apache.tomcat.embed:tomcat-embed-core>=9.0.0.M1<=9.0.105
9.0.106
maven/org.apache.tomcat.embed:tomcat-embed-core>=10.1.0-M1<=10.1.41
10.1.42
maven/org.apache.tomcat.embed:tomcat-embed-core>=11.0.0-M1<=11.0.7
11.0.8
maven/org.apache.tomcat:tomcat-catalina>=9.0.0.M1<=9.0.105
9.0.106
maven/org.apache.tomcat:tomcat-catalina>=10.1.0-M1<=10.1.41
10.1.42
maven/org.apache.tomcat:tomcat-catalina>=11.0.0-M1<=11.0.7
11.0.8
Apache Tomcat>=9.0.0<9.0.106
Apache Tomcat>=10.1.0<10.1.42
Apache Tomcat>=11.0.0<11.0.8
IBM API Connect V12 OnPrem<=All

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 9.0.106
  2. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 10.1.42
  3. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 11.0.8
  4. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 9.0.106
  5. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 10.1.42
  6. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 11.0.8
  7. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 11.0.8
  8. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 10.1.42
  9. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 9.0.106

Event History

Jun 16, 2025
CVE Published
via MITRE·02:18 PM
Data Sourced
via MITRE·02:18 PM
DescriptionWeakness
Data Sourced
via Red Hat·03:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
Affected Software
Advisory Published
via GitHub·03:32 PM
Data Sourced
via GitHub·03:32 PM
DescriptionWeaknessAffected Software
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-49125?

CVE-2025-49125 has a high severity due to the risk of authentication bypass.

2

How do I fix CVE-2025-49125?

To fix CVE-2025-49125, update to Apache Tomcat version 9.0.106, 10.1.42, or 11.0.8.

3

What causes CVE-2025-49125?

CVE-2025-49125 is caused by an authentication bypass through PreResources or PostResources mounted in unexpected paths.

4

Which versions of Apache Tomcat are affected by CVE-2025-49125?

CVE-2025-49125 affects Apache Tomcat versions prior to 9.0.106, 10.1.42, and 11.0.8.

5

Is authentication bypass a critical risk in CVE-2025-49125?

Yes, authentication bypass in CVE-2025-49125 can lead to unauthorized access to sensitive resources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203