CVE-2025-24813
Apache Tomcat Path Equivalence Vulnerability
Description
Path Equivalence: 'file.Name' (Internal Dot) leading to Remote Code Execution and/or Information disclosure and/or malicious content added to uploaded files via write enabled Default Servlet in Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.2, from 10.1.0-M1 through 10.1.34, from 9.0.0.M1 through 9.0.98. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. If all of the following were true, a malicious user was able to view security sensitive files and/or inject content into those files: - writes enabled for the default servlet (disabled by default) - support for partial PUT (enabled by default) - a target URL for security sensitive uploads that was a sub-directory of a target URL for public uploads - attacker knowledge of the names of security sensitive files being uploaded - the security sensitive files also being uploaded via partial PUT If all of the following were true, a malicious user was able to perform remote code execution: - writes enabled for the default servlet (disabled by default) - support for partial PUT (enabled by default) - application was using Tomcat's file based session persistence with the default storage location - application included a library that may be leveraged in a deserialization attack Users are recommended to upgrade to version 11.0.3, 10.1.35 or 9.0.99, which fixes the issue.
Description as published by the source, in English.
Key facts
- Published
- 2025-03-10
- Last modified
- 2026-06-17
- Assigned by
- security@apache.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
99.9 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2025-04-01, with a remediation deadline of 2025-04-22 for US federal agencies.
Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Tomcat | < 9.0.99 | Affected |
| Apache | Tomcat | 10.1.0 | Affected |
| Apache | Tomcat | 11.0.0 | Affected |
| Apache | Tomcat | ≥ 10.1.1, < 10.1.35 | Affected |
| Apache | Tomcat | ≥ 11.0.1, < 11.0.3 | Affected |
| Debian | Debian Linux | 11.0 | Affected |
| Netapp | Bootstrap Os | all versions listed | Affected |
| Netapp | Hci Compute Node | all versions listed | Not affected |
| org.apache.tomcat | tomcat-catalina (Maven) | ≥ 10.1.0-M1, < 10.1.35 | Affected |
| org.apache.tomcat | tomcat-catalina (Maven) | ≥ 11.0.0-M1, < 11.0.3 | Affected |
| org.apache.tomcat | tomcat-catalina (Maven) | ≥ 8.5.0, ≤ 8.5.100 | Affected |
| org.apache.tomcat | tomcat-catalina (Maven) | ≥ 9.0.0.M1, < 9.0.99 | Affected |
| org.apache.tomcat.embed | tomcat-embed-core (Maven) | ≥ 10.1.0-M1, < 10.1.35 | Affected |
| org.apache.tomcat.embed | tomcat-embed-core (Maven) | ≥ 11.0.0-M1, < 11.0.3 | Affected |
| org.apache.tomcat.embed | tomcat-embed-core (Maven) | ≥ 8.5.0, ≤ 8.5.100 | Affected |
| org.apache.tomcat.embed | tomcat-embed-core (Maven) | ≥ 9.0.0.M1, < 9.0.99 | Affected |
Weakness type
-
CWE-706: Use of Incorrectly-Resolved Name or Reference
The product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.
-
CWE-44: Path Equivalence: 'file.name' (Internal Dot)
The product accepts path input in the form of internal dot ('file.ordir') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locat…
-
CWE-502: Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1036: Masquerading
- T1574.008: Path Interception by Search Order Hijacking
References
- https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq
- http://www.openwall.com/lists/oss-security/2025/03/10/5
- https://lists.debian.org/debian-lts-announce/2025/04/msg00003.html
- https://security.netapp.com/advisory/ntap-20250321-0001/
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-detect-apache-tomcat-rce
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-mitigate-apache-tomcat-rce
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-detect-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-mitigation-vulnerability
- https://github.com/absholi7ly/POC-CVE-2025-24813/blob/main/README.md
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24813
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.