high8.4
CVE-2025-49124
Apache Tomcat installer for Windows has an untrusted search path vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M1, < 11.0.8 | 11.0.8 |
| maven | org.apache.tomcat:tomcat | >= 11.0.0-M1, < 11.0.8 | 11.0.8 |
| maven | org.apache.tomcat:tomcat-catalina | >= 11.0.0-M1, < 11.0.8 | 11.0.8 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Tomcat | from 9.0.23 before 9.0.106 from 10.1.0 before 10.1.42 from 11.0.0 before 11.0.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.apache.org/thread/lnow7tt2j6hb9kcpkggx32ht6o90vqzv
- http://www.openwall.com/lists/oss-security/2025/06/16/3
- https://github.com/advisories/GHSA-42wg-hm62-jcwg
- https://nvd.nist.gov/vuln/detail/CVE-2025-49124
- https://github.com/apache/tomcat/commit/28726cc2e63bed68771f5eb0f65a78dc7080571823
- https://github.com/apache/tomcat/commit/c56456cda8151c9504dfb7985700824559d769a7
- https://github.com/apache/tomcat/commit/e0e07812224d327a321babb554f5a5758d30cc49
- https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.42
- https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.8
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.106