Improper Protection of Alternate Path in Apache Tomcat - CVE-2025-49125

 

Improper Protection of Alternate Path in Apache Tomcat - CVE-2025-49125

Published: June 16, 2025 / Updated: July 16, 2025


Vulnerability identifier: #VU111159
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-49125
CWE-ID: CWE-424
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Tomcat

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to improper access restrictions when using PreResources or PostResources mounted other than at the root of the web application. A remote attacker can bypass configured security rules using a alternate path and gain unauthorized access to the application. 


How to mitigate CVE-2025-49125

Install updates from vendor's website.

Sources