CVE-2025-49125
HIGH 7.5CVSS 3.1Apache Tomcat - Security constraint bypass for pre/post-resources
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.
- Published
- 16 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-288
- Also known as
- BIT-tomcat-2025-49125GHSA-wc4r-xq3c-5cf3
- Sources
- NVDJSONOSV GHSA-wc4r-xq3c-5cf3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.0.106 | 9.0.106 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 10.1.0, < 10.1.42 | 10.1.42 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 11.0.0, < 11.0.8 | 11.0.8 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 11.0.0-M1, < 11.0.8 | 11.0.8 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 10.1.0-M1, < 10.1.42 | 10.1.42 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 9.0.0.M1, < 9.0.106 | 9.0.106 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M1, < 11.0.8 | 11.0.8 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.1.0-M1, < 10.1.42 | 10.1.42 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0.M1, < 9.0.106 | 9.0.106 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 8.5.0, <= 8.5.100 | |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.0, <= 8.5.100 |
References
- https://lists.apache.org/thread/m66cytbfrty9k7dc4cg6tl1czhsnbywk · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/06/16/2 · 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
- 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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 16 Jun 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jun 2025)