# CVE-2025-49124: Apache Tomcat installer for Windows has an untrusted search path vulnerability

Source: https://junglewise.ai/threats/cve-2025-49124-apache-tomcat-installer-for-windows-has-an-untrusted-search-path  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-06-16  
License: CC BY 4.0 with a link back

CVE-2025-49124 · Severity: medium · CVSS 4 · Published 2025-06-16

Apache Tomcat installer for Windows has an untrusted search path vulnerability

Technologies: [org.apache.tomcat:tomcat (Maven)](https://junglewise.ai/threats/technologies/org-apache-tomcat-tomcat), [org.apache.tomcat:tomcat-catalina (Maven)](https://junglewise.ai/threats/technologies/org-apache-tomcat-tomcat-catalina), [org.apache.tomcat.embed:tomcat-embed-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-tomcat-embed-tomcat-embed-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-49124 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-49124 being exploited in the wild.

**How severe is CVE-2025-49124?** Medium severity, with a CVSS score of 4, published 16 June 2025.

**Which products and versions are affected?** org.apache.tomcat:tomcat (Maven) ECOSYSTEM:introduced=11.0.0-M1,fixed=11.0.8; org.apache.tomcat:tomcat-catalina (Maven) ECOSYSTEM:introduced=11.0.0-M1,fixed=11.0.8; org.apache.tomcat.embed:tomcat-embed-core (Maven) ECOSYSTEM:introduced=11.0.0-M1,fixed=11.0.8.

**Is there a fix for CVE-2025-49124?** Yes. org.apache.tomcat:tomcat (Maven): upgrade to 11.0.8 or later; org.apache.tomcat:tomcat-catalina (Maven): upgrade to 11.0.8 or later; org.apache.tomcat.embed:tomcat-embed-core (Maven): upgrade to 11.0.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-49124?** Check whether you run org.apache.tomcat:tomcat (Maven), org.apache.tomcat:tomcat-catalina (Maven) or org.apache.tomcat.embed:tomcat-embed-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.tomcat:tomcat (Maven): upgrade to 11.0.8 or later

  ```sh
  # set org.apache.tomcat:tomcat to 11.0.8 in your pom.xml or build.gradle
  ```

- org.apache.tomcat:tomcat-catalina (Maven): upgrade to 11.0.8 or later

  ```sh
  # set org.apache.tomcat:tomcat-catalina to 11.0.8 in your pom.xml or build.gradle
  ```

- org.apache.tomcat.embed:tomcat-embed-core (Maven): upgrade to 11.0.8 or later

  ```sh
  # set org.apache.tomcat.embed:tomcat-embed-core to 11.0.8 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.tomcat:tomcat (Maven) ECOSYSTEM:introduced=11.0.0-M1,fixed=11.0.8
- org.apache.tomcat:tomcat-catalina (Maven) ECOSYSTEM:introduced=11.0.0-M1,fixed=11.0.8
- org.apache.tomcat.embed:tomcat-embed-core (Maven) ECOSYSTEM:introduced=11.0.0-M1,fixed=11.0.8

## Identifiers

- CVE-2025-49124
- GHSA-42wg-hm62-jcwg

## Related threats

- [Apache Tomcat FORM authentication authorization bypass](https://junglewise.ai/threats/cve-2026-68525-apache-tomcat-form-authentication-authorization-bypass)
- [Apache Tomcat DIGEST authenticator authentication bypass](https://junglewise.ai/threats/cve-2026-65905-apache-tomcat-digest-authenticator-authentication-bypass)
- [Apache Tomcat improper input validation in incomplete fix](https://junglewise.ai/threats/cve-2026-65637-apache-tomcat-improper-input-validation-in-incomplete-fix)
- [Apache Tomcat security constraint bypass](https://junglewise.ai/threats/cve-2026-65182-apache-tomcat-security-constraint-bypass)
- [Apache Tomcat authentication bypass in JNDIRealm](https://junglewise.ai/threats/cve-2026-55957-apache-tomcat-authentication-bypass-in-jndirealm)
