Relative Path Traversal
CVE-2025-55752
Summary
Relative Path Traversal vulnerability in Apache Tomcat. The fix for bug "60013" introduced a regression where the rewritten URL was normalised before it was decoded. This introduced the possibility that, for rewrite rules that rewrite query parameters to the URL, an attacker could manipulate the request URI to bypass security constraints, including the protection for "/WEB-INF/" and "/META-INF/". If PUT requests were also enabled, then malicious files could be uploaded, leading to Remote Code Execution. PUT requests are normally limited to trusted users and it is considered unlikely that PUT requests would be enabled in conjunction with a rewrite that manipulated the URI. This issue affects Apache Tomcat versions from 9.0.0.M11 through 9.0.108, 10.1.0-M1 through 10.1.44, and 11.0.0-M1 through 11.0.10. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.6 through 8.5.100. Other older, EOL versions may also be affected.
- HIGH
- NETWORK
- HIGH
- UNCHANGED
- NONE
- LOW
- HIGH
- HIGH
CWE-23 - Relative Path Traversal
The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.
References
Advisory Timeline
- Published