MEDIUM4.8
GHSA-42wg-hm62-jcwg
Apache Tomcat installer for Windows has an untrusted search path vulnerability
Quick fix
GHSA-42wg-hm62-jcwg — org.apache.tomcat.embed:tomcat-embed-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>11.0.8</version> for org.apache.tomcat.embed:tomcat-embed-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in:
11.0.0-M1Fixed in: 11.0.8Fix
# pom.xml: bump <version>11.0.8</version> for org.apache.tomcat.embed:tomcat-embed-coreMaven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in:
10.1.0Fixed in: 10.1.42Fix
# pom.xml: bump <version>10.1.42</version> for org.apache.tomcat.embed:tomcat-embed-coreMaven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in:
9.0.23Fixed in: 9.0.106Fix
# pom.xml: bump <version>9.0.106</version> for org.apache.tomcat.embed:tomcat-embed-coreMaven/org.apache.tomcat:tomcat
Introduced in:
11.0.0-M1Fixed in: 11.0.8Fix
# pom.xml: bump <version>11.0.8</version> for org.apache.tomcat:tomcatMaven/org.apache.tomcat:tomcat
Introduced in:
10.1.0Fixed in: 10.1.42Fix
# pom.xml: bump <version>10.1.42</version> for org.apache.tomcat:tomcatMaven/org.apache.tomcat:tomcat
Introduced in:
9.0.23Fixed in: 9.0.106Fix
# pom.xml: bump <version>9.0.106</version> for org.apache.tomcat:tomcatMaven/org.apache.tomcat:tomcat-catalina
Introduced in:
11.0.0-M1Fixed in: 11.0.8Fix
# pom.xml: bump <version>11.0.8</version> for org.apache.tomcat:tomcat-catalinaMaven/org.apache.tomcat:tomcat-catalina
Introduced in:
10.1.0Fixed in: 10.1.42Fix
# pom.xml: bump <version>10.1.42</version> for org.apache.tomcat:tomcat-catalinaMaven/org.apache.tomcat:tomcat-catalina
Introduced in:
9.0.23Fixed in: 9.0.106Fix
# pom.xml: bump <version>9.0.106</version> for org.apache.tomcat:tomcat-catalinaReferences
- https://nvd.nist.gov/vuln/detail/CVE-2025-49124[ADVISORY]
- https://github.com/apache/tomcat/commit/28726cc2e63bed68771f5eb0f65a78dc7080571823[WEB]
- https://github.com/apache/tomcat/commit/c56456cda8151c9504dfb7985700824559d769a7[WEB]
- https://github.com/apache/tomcat/commit/e0e07812224d327a321babb554f5a5758d30cc49[WEB]
- https://github.com/apache/tomcat[PACKAGE]
- https://lists.apache.org/thread/lnow7tt2j6hb9kcpkggx32ht6o90vqzv[WEB]
- https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.42[WEB]
- https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.8[WEB]
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.106[WEB]
- http://www.openwall.com/lists/oss-security/2025/06/16/3[WEB]