CVE-2025-49125
Java vulnerability analysis and mitigation

Overview

Authentication Bypass Using an Alternate Path or Channel vulnerability (CVE-2025-49125) was discovered in Apache Tomcat. The vulnerability was disclosed on June 16, 2025, affecting Apache Tomcat versions from 11.0.0-M1 through 11.0.7, 10.1.0-M1 through 10.1.41, and 9.0.0.M1 through 9.0.105 (NVD).

Technical details

The vulnerability occurs when using PreResources or PostResources mounted at locations other than the root of the web application. In such configurations, it was possible to access these resources through an unexpected path that might not be protected by the same security constraints as the expected path, effectively allowing security constraints to be bypassed. The vulnerability is classified as CWE-288 (Authentication Bypass Using an Alternate Path or Channel) (NVD).

Impact

The vulnerability allows attackers to bypass security constraints and access resources that should be protected. This could potentially lead to unauthorized access to sensitive resources within the web application (NVD).

Mitigation and workarounds

Users are strongly recommended to upgrade to the fixed versions: Apache Tomcat 11.0.8, 10.1.42, or 9.0.106, which contain patches for this vulnerability (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management