CVE-2025-49124: Apache Tomcat installer for Windows has an untrusted search path vulnerability
(updated )
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.
References
- github.com/advisories/GHSA-42wg-hm62-jcwg
- github.com/apache/tomcat
- github.com/apache/tomcat/commit/28726cc2e63bed68771f5eb0f65a78dc7080571823
- github.com/apache/tomcat/commit/c56456cda8151c9504dfb7985700824559d769a7
- github.com/apache/tomcat/commit/e0e07812224d327a321babb554f5a5758d30cc49
- lists.apache.org/thread/lnow7tt2j6hb9kcpkggx32ht6o90vqzv
- nvd.nist.gov/vuln/detail/CVE-2025-49124
- tomcat.apache.org/security-10.html
- tomcat.apache.org/security-11.html
- tomcat.apache.org/security-9.html
Code Behaviors & Features
Detect and mitigate CVE-2025-49124 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →