CVE-2025-49125
Apache Tomcat - Security constraint bypass for pre/post-resources
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.
How to fix CVE-2025-49125
To remediate CVE-2025-49125, upgrade the affected package to a fixed version below.
- —upgrade to 9.0.106 or later
- —upgrade to 10.1.52-1~deb12u1 or later
- —upgrade to 11.0.15-1~deb13u1 or later
- —upgrade to 9.0.107-0+deb11u1 or later
- —upgrade to 11.0.8 or later
- —upgrade to 11.0.8 or later
Is CVE-2025-49125 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 9.0.106, >= 10.0.0, < 10.1.42, >= 11.0.0, < 11.0.8
- from 0, < 10.1.52-1~deb12u1
- from 0, < 11.0.15-1~deb13u1
- from 0, < 9.0.107-0+deb11u1
- >= 11.0.0-M1, < 11.0.8
- >= 11.0.0-M1, < 11.0.8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |