Skip to content
RedCVE

CVE-2025-24813Apache Tomcat default servlet path equivalence flaw

ExploitedApacheDebiannetappPublished:

CVSS score

9.8

Critical

CVSS 3.1 from NVD

Exploit probability (EPSS)

99.9%

99.9% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 1 Apr 2025.

US federal deadline to fix: 22 Apr 2025.

In plain words

An unauthenticated remote attacker can upload crafted files through Tomcat's default servlet and, where file-based session persistence and a deserialization-prone library are present, execute code, or read and alter sensitive uploaded files. It only applies when write support is enabled on the default servlet (off by default) with partial PUT on, and it affects Tomcat 9.0.0.M1–9.0.98, 10.1.0-M1–10.1.34 and 11.0.0-M1–11.0.2. CISA reports active exploitation. Upgrade to Tomcat 11.0.3, 10.1.35 or 9.0.99 now.

Official 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.

Source: NVD · CNA: security@apache.org

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 1 Apr 2025.

    US federal agencies must fix it by 22 Apr 2025. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Apache Tomcat, Debian Linux, netapp Bootstrap Os and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Tomcat to 9.0.99, 10.1.35, 11.0.3 or later, on the branch you run.
  4. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  5. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  6. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Apache Tomcat< 9.0.99 · ≥ 10.1.1, < 10.1.35 · ≥ 11.0.1, < 11.0.3 · 10.1.0 · 11.0.0
Debian Debian Linux11.0
netapp Bootstrap OsNot specified
Apache Apache Tomcat≥ 11.0.0-M1, ≤ 11.0.2 · ≥ 10.1.0-M1, ≤ 10.1.34 · ≥ 9.0.0.M1, ≤ 9.0.98 · ≥ 8.5.0, ≤ 8.5.100

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-24813 being exploited?

Yes. CISA added CVE-2025-24813 to its Known Exploited Vulnerabilities catalog on 1 Apr 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 99.9% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-24813?

CVE-2025-24813 has a CVSS 3.1 base score of 9.8 (critical).

Which versions are affected?

Apache Tomcat (< 9.0.99; ≥ 10.1.1, < 10.1.35; ≥ 11.0.1, < 11.0.3; 10.1.0; 11.0.0), Debian Debian Linux (11.0), Netapp Bootstrap Os, Apache Apache Tomcat (≥ 11.0.0-M1, ≤ 11.0.2; ≥ 10.1.0-M1, ≤ 10.1.34; ≥ 9.0.0.M1, ≤ 9.0.98; ≥ 8.5.0, ≤ 8.5.100)

Is there a patch for CVE-2025-24813?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.