CVE-2025-49124
Apache Tomcat installer for Windows has an untrusted search path vulnerability
Description
Untrusted Search Path vulnerability in Apache Tomcat installer for Windows. During installation, the Tomcat installer for Windows used icacls.exe without specifying a full path.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.7, from 10.1.0 through 10.1.41, from 9.0.23 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.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat » tomcat | >= 9.0.23, < 9.0.106>= 10.1.0, < 10.1.42>= 11.0.0-M1, < 11.0.8 | 9.0.106, 10.1.42, 11.0.8 |
| org.apache.tomcat » tomcat-catalina | >= 9.0.23, < 9.0.106>= 10.1.0, < 10.1.42>= 11.0.0-M1, < 11.0.8 | 9.0.106, 10.1.42, 11.0.8 |
| org.apache.tomcat.embed » tomcat-embed-core | >= 9.0.23, < 9.0.106>= 10.1.0, < 10.1.42>= 11.0.0-M1, < 11.0.8 | 9.0.106, 10.1.42, 11.0.8 |
Blast radius
70% of the dependent artifacts (13,830) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 16,434 |
| 2 hops | 12,479 |
| 3 hops | 436,017 |
| 4 hops | 411,006 |
| 5 hops | 186,064 |
| 6 hops | 22,719 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework.boot » spring-boot-starter-tomcat901 usages
- org.wso2.carbon » org.wso2.carbon.ui803 usages
- org.apache.tomcat.embed » tomcat-embed-jasper630 usages
- org.redisson » redisson-spring-boot-starter574 usages
- org.sakaiproject.kernel » sakai-kernel-api504 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.sakaiproject.kernel » sakai-component-manager417 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.apache.tomcat.embed » tomcat-embed-websocket353 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.core350 usages
- org.springframework.boot » spring-boot-starter-data-rest350 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-49124
- Webhttps://github.com/apache/tomcat/commit/28726cc2e63bed68771f5eb0f65a78dc7080571823
- Webhttps://github.com/apache/tomcat/commit/c56456cda8151c9504dfb7985700824559d769a7
- Webhttps://github.com/apache/tomcat/commit/e0e07812224d327a321babb554f5a5758d30cc49
- Packagehttps://github.com/apache/tomcat
- Webhttps://lists.apache.org/thread/lnow7tt2j6hb9kcpkggx32ht6o90vqzv
- Webhttps://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.42
- Webhttps://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.8
- Webhttps://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.106
- Webhttp://www.openwall.com/lists/oss-security/2025/06/16/3
