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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.63%, higher than 85% of CVEs (2026-12-01)
- Published: 2025-06-16T14:18:09.610Z
- Modified: 2026-09-10T03:50:26.000Z
- Also known as: GHSA-wc4r-xq3c-5cf3, BIT-TOMCAT-2025-49125
- Weaknesses: CWE-288
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Tomcat: from 11.0.0-M1 up to 11.0.7; from 10.1.0-M1 up to 10.1.41; from 9.0.0.M1 up to 9.0.105; from 8.5.0 up to 8.5.100; from 8.0.0.RC1 before 8.5.0; from 10.0.0-M1 up to 10.0.27
- org.apache.tomcat:tomcat-catalina (Maven): from 11.0.0-M1 before 11.0.8; from 10.1.0-M1 before 10.1.42; from 9.0.0.M1 before 9.0.106; from 8.5.0 up to 8.5.100
- org.apache.tomcat.embed:tomcat-embed-core (Maven): from 11.0.0-M1 before 11.0.8; from 10.1.0-M1 before 10.1.42; from 9.0.0.M1 before 9.0.106; from 8.5.0 up to 8.5.100
- apache tomcat: from 9.0.0 before 9.0.106; from 10.1.0 before 10.1.42; from 11.0.0 before 11.0.8
- tomcat (Bitnami): before 9.0.106; from 10.0.0 before 10.1.42; from 11.0.0 before 11.0.8

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2025/06/16/2> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00009.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-49125> (advisory, web)
- <https://github.com/apache/tomcat/commit/7617b9c247bc77ed0444dd69adcd8aa48777886c> (web)
- <https://github.com/apache/tomcat/commit/9418e3ff9f1f4c006b4661311ae9376c52d162b9> (web)
- <https://github.com/apache/tomcat/commit/d94bd36fb7eb32e790dae0339bc249069649a637> (web)
- <https://github.com/apache/tomcat> (package)
- <https://tomcat.apache.org/security-10.html> (web)
- <https://tomcat.apache.org/security-11.html> (web)
- <https://tomcat.apache.org/security-9.html> (web)

## Sources

- CVE List: [CVE-2025-49125](https://www.cve.org/CVERecord?id=CVE-2025-49125), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-wc4r-xq3c-5cf3](https://github.com/advisories/GHSA-wc4r-xq3c-5cf3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-49125](https://nvd.nist.gov/vuln/detail/CVE-2025-49125), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-TOMCAT-2025-49125](https://osv.dev/vulnerability/BIT-TOMCAT-2025-49125), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-49125 · Whole record: https://cve.day/CVE-2025-49125.json · Rebuilt by cve.day 2026-11-25T22:58:59.250Z
