CVE-2025-49125
JSON

7.5high

Apache Tomcat: Security constraint bypass for pre/post-resources

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
2.63% (higher than 85% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-wc4r-xq3c-5cf3BIT-TOMCAT-2025-49125

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

Product or packageVersionsReported by
Apache Software Foundation Apache Tomcatfrom 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.27CVE List
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.100GitHub Advisory Database
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.100GitHub Advisory Database
apache tomcatfrom 9.0.0 before 9.0.106, from 10.1.0 before 10.1.42, from 11.0.0 before 11.0.8NVD
tomcat (Bitnami)before 9.0.106, from 10.0.0 before 10.1.42, from 11.0.0 before 11.0.8Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS: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 Databasehigh rating

Classification

CWE-288

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Vulnerabilidad de omisión de autenticación mediante una ruta o canal alternativo en Apache Tomcat. Al usar recursos previos o posteriores montados en una ubicación distinta a la raíz de la aplicación web, era posible acceder a ellos mediante una ruta inesperada. Es probable que dicha ruta no estuviera protegida por las mismas restricciones de seguridad que la ruta esperada, lo que permitió eludirlas. Este problema afecta a Apache Tomcat: de la 11.0.0-M1 a la 11.0.7, de la 10.1.0-M1 a la 10.1.41 y de la 9.0.0.M1 a la 9.0.105. Se recomienda actualizar a las versiones 11.0.8, 10.1.42 o 9.0.106, que solucionan el problema.

Bitnami Vulnerability Database

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 through 11.0.7, from 10.1.0 through 10.1.41, from 9.0.0 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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-49125 changed 2025-11-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-wc4r-xq3c-5cf3 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-49125 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2025-49125 changed 2026-09-08Apache-2.0