# Apache Tomcat installer for Windows has an untrusted search path vulnerability

Advisory record · `GHSA-42wg-hm62-jcwg`

- **Identifiers:** `GHSA-42wg-hm62-jcwg` · `BIT-tomcat-2025-49124` · `CVE-2025-49124`
- **State:** Confirmed
- **Severity:** CVSS 8.4 High
- **Critical:** No
- **Weakness (CWE):** [CWE-426](https://cwe.mitre.org/data/definitions/426.html)
- **Tags:** [CWE-426](https://agentprime.io/advisories/tag/cwe-426.md)
- **Published:** 16 Jun 2025
- **Updated:** 29 Oct 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Jun 2025, 15:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.tomcat.embed:tomcat-embed-core` (Maven): affected `>=11.0.0-M1, <11.0.8 || >=10.1.0, <10.1.42 || >=9.0.23, <9.0.106`; fixed in `11.0.8`, `10.1.42`, `9.0.106`
- `org.apache.tomcat:tomcat` (Maven): affected `>=11.0.0-M1, <11.0.8 || >=10.1.0, <10.1.42 || >=9.0.23, <9.0.106`; fixed in `11.0.8`, `10.1.42`, `9.0.106`
- `org.apache.tomcat:tomcat-catalina` (Maven): affected `>=11.0.0-M1, <11.0.8 || >=10.1.0, <10.1.42 || >=9.0.23, <9.0.106`; fixed in `11.0.8`, `10.1.42`, `9.0.106`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.4 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0036, the 30th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-42wg-hm62-jcwg)

## Sources

- [GitHub Advisory Database: GHSA-42wg-hm62-jcwg](https://github.com/advisories/GHSA-42wg-hm62-jcwg)
- [OSV: GHSA-42wg-hm62-jcwg](https://osv.dev/vulnerability/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://github.com/apache/tomcat>
- <https://lists.apache.org/thread/lnow7tt2j6hb9kcpkggx32ht6o90vqzv>
- <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>
- <http://www.openwall.com/lists/oss-security/2025/06/16/3>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-42wg-hm62-jcwg>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-42wg-hm62-jcwg/>. Everything for agents: <https://agentprime.io/llms.txt>.
