cve.bz

CVE-2025-24813 Apache Tomcat Path Equivalence Vulnerability

9.8 criticalKEVExploitEPSS >99.9%Fix available

Critical (9.8) in Apache Tomcat. In CISA KEV since 2025-04-01. EPSS >99.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat-catalina 10.1.35, 11.0.3, 9.0.99.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
>99.9% (unchanged from >99.9% a week ago; >99.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2025-04-01, due 2025-04-22
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-04-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-502 Deserialization of Untrusted Data
CWE-706 Use of Incorrectly-Resolved Name or Reference
CWE-44 Path Equivalence: 'file.name' (Internal Dot)
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-24813 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-24813?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-24813?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-24813 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Tomcatfrom 11.0.0-M1 through 11.0.2
Apache Software Foundation Apache Tomcatfrom 10.1.0-M1 through 10.1.34
Apache Software Foundation Apache Tomcatfrom 9.0.0.M1 through 9.0.98
Apache Software Foundation Apache Tomcatfrom 8.5.0 through 8.5.100

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-83qj-6fr2-vhqgMavenorg.apache.tomcat:tomcat-catalina>=11.0.0-M1 <11.0.311.0.3
GHSA-83qj-6fr2-vhqgMavenorg.apache.tomcat:tomcat-catalina>=10.1.0-M1 <10.1.3510.1.35
GHSA-83qj-6fr2-vhqgMavenorg.apache.tomcat:tomcat-catalina>=9.0.0.M1 <9.0.999.0.99
GHSA-83qj-6fr2-vhqgMavenorg.apache.tomcat.embed:tomcat-embed-core>=11.0.0-M1 <11.0.311.0.3
GHSA-83qj-6fr2-vhqgMavenorg.apache.tomcat.embed:tomcat-embed-core>=10.1.0-M1 <10.1.3510.1.35
GHSA-83qj-6fr2-vhqgMavenorg.apache.tomcat.embed:tomcat-embed-core>=9.0.0.M1 <9.0.999.0.99
GHSA-83qj-6fr2-vhqgMavenorg.apache.tomcat:tomcat-catalina>=8.5.0 <=8.5.100no fix published
GHSA-83qj-6fr2-vhqgMavenorg.apache.tomcat.embed:tomcat-embed-core>=8.5.0 <=8.5.100no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11tomcat99.0.43-2~deb11u12DLA-4108-1
Debian12tomcat1010.1.34-0+deb12u2DEBIAN-CVE-2025-24813 DSA-5893-1
Debian12, 13, 14tomcat99.0.70-2DEBIAN-CVE-2025-24813
Debian13, 14tomcat1010.1.35-1DEBIAN-CVE-2025-24813
Ubuntu25.10tomcat99.0.70-2ubuntu2UBUNTU-CVE-2025-24813
UbuntuPro:18.04:LTStomcat99.0.16-3ubuntu0.18.04.2+esm6UBUNTU-CVE-2025-24813 USN-7525-1
UbuntuPro:20.04:LTStomcat99.0.31-1ubuntu0.9+esm1UBUNTU-CVE-2025-24813 USN-7525-1
UbuntuPro:22.04:LTStomcat99.0.58-1ubuntu0.2+esm2UBUNTU-CVE-2025-24813 USN-7525-1
UbuntuPro:24.04:LTStomcat1010.1.16-1ubuntu0.1~esm1UBUNTU-CVE-2025-24813 USN-7525-1
UbuntuPro:24.04:LTStomcat99.0.70-2ubuntu0.1+esm1UBUNTU-CVE-2025-24813 USN-7525-2
Red Hatenterprise_linux:8::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-1.el8_10.3RHSA-2025:3683
Red Hatenterprise_linux:9::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-2.el9_5.1RHSA-2025:3645
Red Hatenterprise_linux:10.0tomcat, tomcat-lib, tomcat-webapps and 5 more1:10.1.36-1.el10_0RHSA-2025:7497
Red Hatenterprise_linux:10.0tomcat9, tomcat9-lib, tomcat9-webapps and 5 more1:9.0.87-5.el10_0RHSA-2025:7494
Red Hatjboss_enterprise_web_server:5.8::el7jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 9 more0:9.0.87-8.redhat_00008.1.el7jwsRHSA-2025:3454
Red Hatjboss_enterprise_web_server:5.8::el8jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.87-8.redhat_00008.1.el8jwsRHSA-2025:3454
Red Hatjboss_enterprise_web_server:5.8::el9jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.87-8.redhat_00008.1.el9jwsRHSA-2025:3454
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat, jws6-tomcat-lib, jws6-tomcat-javadoc and 7 more0:10.1.36-6.redhat_00007.1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat-jakartaee-migration0:1.0.6-2.redhat_00003.1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat-native, jws6-tomcat-native-debuginfo0:1.3.1-1.redhat_1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el9jws6-tomcat, jws6-tomcat-lib, jws6-tomcat-javadoc and 7 more0:10.1.36-6.redhat_00007.1.el9jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el9jws6-tomcat-jakartaee-migration0:1.0.6-2.redhat_00003.1.el9jwsRHSA-2025:3608
4 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moretomcat9.0.102-150200.78.1SUSE-SU-2025:1126-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for Web and Scripting 15 SP6 and 2 moretomcat1010.1.39-150200.5.36.1SUSE-SU-2025:1024-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.115-3.160.1SUSE-SU-2026:1058-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.36-3.139.1SUSE-SU-2025:0954-1
openSUSELeap 15.6tomcat9.0.102-150200.78.1SUSE-SU-2025:1126-1
openSUSELeap 15.6tomcat1010.1.39-150200.5.36.1SUSE-SU-2025:1024-1
openSUSETumbleweedtomcat9.0.99-1.1openSUSE-SU-2025:14896-1
openSUSETumbleweedtomcat1010.1.35-1.1openSUSE-SU-2025:14897-1
AlmaLinux8tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-1.el8_10.3ALSA-2025:3683
AlmaLinux9tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-2.el9_5.1ALSA-2025:3645
AlmaLinux10tomcat, tomcat-lib, tomcat-webapps and 5 more1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux10tomcat9, tomcat9-lib, tomcat9-webapps and 5 more1:9.0.87-5.el10_0ALSA-2025:7494
Rocky Linux8tomcat1:9.0.87-1.el8_10.3RLSA-2025:3683
Rocky Linux9tomcat1:9.0.87-2.el9_5.1RLSA-2025:3645
Rocky Linux10tomcat1:10.1.36-1.el10_0RLSA-2025:7497
Rocky Linux10tomcat91:9.0.87-5.el10_0RLSA-2025:7494

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability has a Moderate impact (rather than Important) because it requires multiple non-default configurations to be exploitable, significantly limiting its impact in typical deployments. For remote code execution (RCE), exploitation requires both file-based session persistence and a library vulnerable to deserialization, further reducing its likelihood. For information disclosure or file injection, the attack is only possible if writes are enabled for the default servlet, partial PUT requests are supported, and sensitive file uploads occur within a publicly writable directory. The combination of all three of these conditions is uncommon in secure environments. Since most modern Tomcat deployments do not meet all these criteria simultaneously, the overall risk is reduced

The Tomcat package as shipped in Red Hat Enterprise Linux 6 and 7 is not affected by this vulnerability because the vulnerable code was introduced in a newer Tomcat version.

Red Hat Satellite is not directly impacted by this issue as it does not include the affected Tomcat package. However, Tomcat is consumed by Candlepin, a component of Satellite. Red Hat Satellite users are advised to check the impact state of Red Hat Enterprise Linux as any necessary fixes will be distributed through the platform. Satellite configuration does not contain affected parameters that would make Tomcat vulnerable, therefore, even if a vulnerable Tomcat version is shipped with affected RHEL release alongside Satellite, there is no chance of it being exposed to flaw in Red Hat Satellite.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tomcat9-1:9.0.87-5.el10_0Fixed 2025-05-13RHSA-2025:7494
Red Hat Enterprise Linux 10tomcat-1:10.1.36-1.el10_0Fixed 2025-05-13RHSA-2025:7497
Red Hat Enterprise Linux 8tomcat-1:9.0.87-1.el8_10.3Fixed 2025-04-08RHSA-2025:3683
Red Hat Enterprise Linux 8.8 Extended Update Supporttomcat-1:9.0.87-1.el8_8.4Fixed 2025-04-08RHSA-2025:3684
Red Hat Enterprise Linux 9tomcat-1:9.0.87-2.el9_5.1Fixed 2025-04-07RHSA-2025:3645
Red Hat Enterprise Linux 9.2 Extended Update Supporttomcat-1:9.0.87-1.el9_2.3Fixed 2025-04-07RHSA-2025:3646
Red Hat Enterprise Linux 9.4 Extended Update Supporttomcat-1:9.0.87-1.el9_4.3Fixed 2025-04-07RHSA-2025:3647
Red Hat JBoss Web Server 5tomcatFixed 2025-04-02RHSA-2025:3455
Red Hat JBoss Web Server 5.8 on RHEL 7jws5-tomcat-0:9.0.87-8.redhat_00008.1.el7jwsFixed 2025-04-02RHSA-2025:3454
Red Hat JBoss Web Server 5.8 on RHEL 8jws5-tomcat-0:9.0.87-8.redhat_00008.1.el8jwsFixed 2025-04-02RHSA-2025:3454
Red Hat JBoss Web Server 5.8 on RHEL 9jws5-tomcat-0:9.0.87-8.redhat_00008.1.el9jwsFixed 2025-04-02RHSA-2025:3454
Red Hat JBoss Web Server 6.1 on RHEL 8jws6-tomcat-0:10.1.36-6.redhat_00007.1.el8jwsFixed 2025-04-07RHSA-2025:3608
Red Hat JBoss Web Server 6.1 on RHEL 9jws6-tomcat-0:10.1.36-6.redhat_00007.1.el9jwsFixed 2025-04-07RHSA-2025:3608
Red Hat Enterprise Linux 6tomcat6Out of support scope
Red Hat Enterprise Linux 7tomcatNot affected
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineNot affected
Red Hat Enterprise Linux 9pki-servlet-engineNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-24813.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • absholi7ly/POC-CVE-2025-24813 Harbor Check: matches CVE 194 stars, created
    his repository contains an automated Proof of Concept (PoC) script for exploiting **CVE-2025-24813**, a Remote Code Execution (RCE) vulnera…
  • iSee857/CVE-2025-24813-PoC Harbor Check: matches CVE 99 stars, created
    Apache Tomcat 远程代码执行漏洞批量检测脚本(CVE-2025-24813)
  • charis3306/CVE-2025-24813 Harbor Check: matches CVE 16 stars, created
    CVE-2025-24813利用工具
  • qzy0x/cve-2025-24813_poc Harbor Check: matches CVE 11 stars, created
    cve-2025-24813验证脚本
  • Franconyu/Poc_for_CVE-2025-24813 Harbor Check: matches CVE 9 stars, created
    CVE-2025-24813 poc
39 more

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High
  • CAPEC-48 Passing Local Filenames to Functions That Expect a URL Likelihood: High · Severity: High
  • CAPEC-159 Redirect Access to Libraries Likelihood: High · Severity: Very High
  • CAPEC-177 Create files with the same name as files protected with a higher classification Severity: Very High
  • CAPEC-641 DLL Side-Loading Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON