CVE-2025-24813
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPath 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceApache Tomcat contains a path equivalence vulnerability ('file.Name' - Internal Dot) in the Default Servlet. When writes are enabled (disabled by default) and partial PUT support is enabled (enabled by default), attackers can perform partial file overwrites to inject malicious content into uploaded files, expose sensitive files, or achieve RCE via deserialization if Tomcat's file-based session persistence is used with a vulnerable library.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 9.0.99>= 10.1.1, < 10.1.35>= 11.0.1, < 11.0.3= 10.1.0= 11.0.0= 11.0all versionsCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify Tomcat versionLocate the Tomcat installation and check the version. Common locations: the serverinfo.properties file in the lib folder, the release notes, or the filename of the catalina.jar. Alternatively, check the SERVER_INFO variable returned by the servlet or the version reported by the startup scripts.Affected if Version is 9.0.x below 9.0.99, 10.1.0 through 10.1.34 inclusive, or 11.0.0 through 11.0.2 inclusive
-
Confirm write is enabled in the Default ServletInspect the Default Servlet configuration in the application's web.xml or the global conf/web.xml. Look for a <servlet> element with <servlet-name>default</servlet-name> and check the <init-param> for <param-name>readonly</param-name>. If the value is set to false, or if the parameter is absent (defaults to false), writes are enabled.Affected if The Default Servlet readonly init parameter is set to false or is not explicitly set to true
-
Confirm partial PUT support is enabledReview the servlet configuration to determine if partial PUT requests are accepted. This is typically not a default feature in the standard Default Servlet, but check for any custom servlets or filters that handle PUT requests with partial content capabilities, or any configuration that enables this in the servlet container.Affected if Partial PUT functionality is enabled and accessible to unauthenticated attackers
-
Check for file-based session persistenceExamine the application's context.xml or the global server.xml for a <Manager> element. If a pathname attribute is present (for example, pathname="SESSIONS.ser"), Tomcat is configured to persist sessions to disk. Also check the classpath for vulnerable deserialization libraries in the lib folder.Affected if File-based session persistence is configured and vulnerable deserialization libraries exist in the classpath (required for RCE)
The environment is affected if the Tomcat version is in the vulnerable range AND write is enabled on the Default Servlet AND partial PUT is accessible; RCE specifically also requires file-based session persistence with a vulnerable library.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped9.0.9910.1.3511.0.3
Upgrade to Apache Tomcat 11.0.3, 10.1.35, or 9.0.99. Additionally, ensure the default servlet's write functionality remains disabled unless explicitly required, and consider disabling partial PUT if not needed.
Apache Tomcat 9.0.99 / 10.1.35 / 11.0.3 (depending on major version in use)
- 1. Identify the currently running Apache Tomcat version by checking the $CATALINA_HOME/lib/catalina.jar manifest or running 'version.sh'
- 2. For Tomcat 11.x users: Upgrade to version 11.0.3 or later
- 3. For Tomcat 10.1.x users: Upgrade to version 10.1.35 or later
- 4. For Tomcat 9.x users: Upgrade to version 9.0.99 or later
- 5. Download the appropriate Tomcat version from https://tomcat.apache.org/download-90.cgi (for 9.x), https://tomcat.apache.org/download-10.cgi (for 10.1.x), or https://tomcat.apache.org/download-11.cgi (for 11.x)
- 6. Stop the Tomcat service gracefully
- 7. Backup the existing Tomcat installation directory including conf/ and webapps/
- 8. Replace the Tomcat installation with the new version, preserving your configuration files
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-24813 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-24813 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data