# CVE-2025-49125: Apache Tomcat: Security constraint bypass for pre/post-resources

> CVE-2025-49125: Apache Tomcat: Security constraint bypass for pre/post-resources. CVSS 7.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-49125
Last updated: 2026-06-17T09:30:47Z

- Published: 2025-06-16 14:18 UTC · Updated: 2026-06-17 09:30 UTC · Assigner: apache
- CVSS: 7.5 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 3.4%, 89th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-288

## Description

Authentication Bypass Using an Alternate Path or Channel vulnerability in Apache Tomcat.  When using PreResources or PostResources mounted other than at the root of the web application, it was possible to access those resources via an unexpected path. That path was likely not to be protected by the same security constraints as the expected path, allowing those security constraints to be bypassed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.7, from 10.1.0-M1 through 10.1.41, from 9.0.0.M1 through 9.0.105. The following versions were EOL at the time the CVE was created but are  known to be affected: 8.5.0 through 8.5.100. Other, older, EOL versions  may also be affected. Users are recommended to upgrade to version 11.0.8, 10.1.42 or 9.0.106, which fix the issue.

## Affected vendors and products

- Apache Software Foundation: Apache Tomcat

## Tracked companies

- [Bitbucket](https://rewindex.com/company/bitbucket.md)
- [Jira](https://rewindex.com/company/jira.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-49125)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-49125)
- [https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk](https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-49125 · Markdown: https://rewindex.com/cve/CVE-2025-49125.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-49125 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:17:05.479Z
