CVE-2025-24813: Apache Tomcat Partial PUT Path Equivalence Remote Code Execution
- Vendors
- NetAppDebian ProjectApache Software Foundation
CVE-2025-24813 is a path-equivalence vulnerability involving internal dots in filenames processed by Apache Tomcat's write-enabled Default Servlet. Improper handling of partial HTTP PUT requests can cause distinct upload paths to resolve to equivalent intermediate storage, enabling disclosure or malicious modification of uploaded content. When combined with file-based session persistence and a suitable deserialization gadget library, attacker-controlled serialized session data can be loaded and deserialized, resulting in unauthenticated remote code execution. Affected versions include 11.0.0-M1 through 11.0.2, 10.1.0-M1 through 10.1.34, 9.0.0.M1 through 9.0.98, and end-of-life releases 8.5.0 through 8.5.100; older unsupported versions may also be affected. Exploitation requires specific configurations rather than a default Tomcat installation. Public exploit code and in-the-wild exploitation have been reported.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can expose security-sensitive uploaded files or inject malicious content into them, compromising confidentiality and integrity. In configurations supporting the deserialization attack path, attackers can execute arbitrary code with the privileges of the Tomcat process, potentially compromising application data and service availability. Operating-system-level impact depends on the permissions and resources available to that process; elevated privileges are not inherently granted by the vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until updates can be applied, disable Default Servlet writes by setting readonly=true, or disable partial PUT support. Both measures interrupt prerequisites shared by the documented exploitation paths. Disabling file-based session persistence or avoiding its default storage location can reduce exposure to the documented RCE path, but does not address upload disclosure or modification. Separating sensitive and public upload locations and removing unnecessary deserialization-capable libraries provide additional defense in depth, not substitutes for patching.
Remediation
Patch, then assume compromise.
Upgrade to Apache Tomcat 11.0.3, 10.1.35, or 9.0.99 or a later fixed release in the corresponding branch. Migrate affected Tomcat 8.5 and older unsupported installations to a supported, patched branch because no fixed 8.5 release is identified. For products embedding Tomcat, apply the product vendor's corresponding update and verify the bundled Tomcat version.
Exploits
45 exploits validated by Mallory's analysis. Hidden: 18 rejected by Mallory's analysis as not a working exploit; 5 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-24813 exploited in the wild?
- Yes. As of Nov 1, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 1, 2025.
- Is there a public exploit for CVE-2025-24813?
- Yes. Mallory tracks 45 public exploits or proofs of concept for CVE-2025-24813, the earliest disclosed Mar 10, 2025.
- Is there a patch for CVE-2025-24813?
- Upgrade to Apache Tomcat 11.0.3, 10.1.35, or 9.0.99 or a later fixed release in the corresponding branch. Migrate affected Tomcat 8.5 and older unsupported installations to a supported, patched branch because no fixed 8.5 release is identified.
- What products are affected by CVE-2025-24813?
- Apache Software Foundation Tomcat, NetApp Bootstrap Os, and Debian Project Debian Linux.
- How severe is CVE-2025-24813?
- CVE-2025-24813 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.9% (100th percentile) as of Nov 1, 2026.
Recent activity
50 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.