HIGH 7.5

CVE-2025-55752

Apache Tomcat Vulnerable to Relative Path Traversal

Description

The fix for bug 60013 introduced a regression where the rewritten URL was normalized 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: from 11.0.0-M1 through 11.0.10, from 10.1.0-M1 through 10.1.44, from 9.0.0.M11 through 9.0.108.

The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.6 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.11 or later, 10.1.45 or later or 9.0.109 or later, which fix the issue.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.apache.tomcat » tomcat
>= 8.5.6, <= 8.5.100>= 9.0.0-M11, < 9.0.109>= 10.1.0-M1, < 10.1.45>= 11.0.0-M1, < 11.0.11
9.0.109, 10.1.45, 11.0.11
org.apache.tomcat » tomcat-catalina
>= 8.5.6, <= 8.5.100>= 9.0.0-M11, < 9.0.109>= 10.1.0-M1, < 10.1.45>= 11.0.0-M1, < 11.0.11
9.0.109, 10.1.45, 11.0.11
org.apache.tomcat.embed » tomcat-embed-core
>= 8.5.6, <= 8.5.100>= 9.0.0-M11, < 9.0.109>= 10.1.0-M1, < 10.1.45>= 11.0.0-M1, < 11.0.11
9.0.109, 10.1.45, 11.0.11

Blast radius

3affected artifacts
858affected versions
27,154dependent artifacts (est.)
1,497,814dependent versions

71% of the dependent artifacts (19,380) still pull an affected version in their latest release.

DepthDependent versions
Direct
24,165
2 hops
24,977
3 hops
574,090
4 hops
546,813
5 hops
280,197
6 hops
47,572

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.