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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | 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 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tomcat10 | 10.1.35-1 | — |
| Debian 14 | tomcat9 | 9.0.70-2 | — |
| Debian 13 | tomcat10 | 10.1.35-1 | — |
| Debian 13 | tomcat9 | 9.0.70-2 | — |
| Debian 12 | tomcat10 | 10.1.34-0+deb12u2 | DSA-5893-1 |
| Debian 12 | tomcat9 | 9.0.70-2 | — |
| Debian 11 | tomcat9 | 9.0.43-2~deb11u12 | DLA-4108-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | tomcat9 | 9.0.70-2ubuntu2 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | tomcat10 | 10.1.16-1ubuntu0.1~esm1 | USN-7525-1 |
| Ubuntu Pro 24.04 LTS | tomcat9 | 9.0.70-2ubuntu0.1+esm1 | USN-7525-2 |
| Ubuntu Pro 22.04 LTS | tomcat9 | 9.0.58-1ubuntu0.2+esm2 | USN-7525-1 |
| Ubuntu Pro 20.04 LTS | tomcat9 | 9.0.31-1ubuntu0.9+esm1 | USN-7525-1 |
| Ubuntu Pro 18.04 LTS | tomcat9 | 9.0.16-3ubuntu0.18.04.2+esm6 | USN-7525-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | tomcat +7 | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| RHEL 10 | tomcat9 +7 | 1:9.0.87-5.el10_0 | RHSA-2025:7494 |
| RHEL 9 | tomcat +7 | 1:9.0.87-2.el9_5.1 | RHSA-2025:3645 |
| RHEL 8 | tomcat +7 | 1:9.0.87-1.el8_10.3 | RHSA-2025:3683 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | tomcat +7 | 1:9.0.87-1.el9_4.3 | RHSA-2025:3647 |
| RHEL 9.2 EUS | tomcat +7 | 1:9.0.87-1.el9_2.3 | RHSA-2025:3646 |
| RHEL 8.8 EUS | tomcat +7 | 1:9.0.87-1.el8_8.4 | RHSA-2025:3684 |
| Red Hat JBoss Web Server 6 | jws6-tomcat +9 | 10.1.36-6.redhat_00007.1.el8jws | RHSA-2025:3608 |
| Red Hat JBoss Web Server 6 | jws6-tomcat-jakartaee-migration | 1.0.6-2.redhat_00003.1.el8jws | RHSA-2025:3608 |
| Red Hat JBoss Web Server 6 | jws6-tomcat-native | 1.3.1-1.redhat_1.el8jws | RHSA-2025:3608 |
| Red Hat JBoss Web Server 5 | jws5-tomcat +11 | 9.0.87-8.redhat_00008.1.el7jws | RHSA-2025:3454 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | tomcat +7 | 1:10.1.36-1.el10_0 | ALSA-2025:7497 |
| AlmaLinux 10 | tomcat9 +7 | 1:9.0.87-5.el10_0 | ALSA-2025:7494 |
| AlmaLinux 9 | tomcat +7 | 1:9.0.87-2.el9_5.1 | ALSA-2025:3645 |
| AlmaLinux 8 | tomcat +7 | 1:9.0.87-1.el8_10.3 | ALSA-2025:3683 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | tomcat | 1:10.1.36-1.el10_0 | RLSA-2025:7497 |
| Rocky Linux 10 | tomcat9 | 1:9.0.87-5.el10_0 | RLSA-2025:7494 |
| Rocky Linux 9 | tomcat | 1:9.0.87-2.el9_5.1 | RLSA-2025:3645 |
| Rocky Linux 8 | tomcat | 1:9.0.87-1.el8_10.3 | RLSA-2025:3683 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLES 15 SP6 | tomcat10 | 10.1.39-150200.5.36.1 | SUSE-SU-2025:1024-1 |
| SLES 15 SP5 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLES 15 SP5 | tomcat10 | 10.1.39-150200.5.36.1 | SUSE-SU-2025:1024-1 |
| SLES 15 SP4 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLES 15 SP3 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLES 12 SP5 | tomcat | 9.0.36-3.139.1 | SUSE-SU-2026:1058-1, SUSE-SU-2025:0954-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLES for SAP 15 SP5 | tomcat10 | 10.1.39-150200.5.36.1 | SUSE-SU-2025:1024-1 |
| SLES for SAP 15 SP4 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLES for SAP 15 SP3 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLE HPC 15 SP5 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLE HPC 15 SP5 | tomcat10 | 10.1.39-150200.5.36.1 | SUSE-SU-2025:1024-1 |
| SLE HPC 15 SP4 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SLE HPC 15 SP3 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SUSE Manager Server 4.3 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| SUSE Enterprise Storage 7.1 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tomcat | 9.0.99-1.1 | openSUSE-SU-2025:14896-1 |
| openSUSE Tumbleweed | tomcat10 | 10.1.35-1.1 | openSUSE-SU-2025:14897-1 |
| openSUSE Leap 15.6 | tomcat | 9.0.102-150200.78.1 | SUSE-SU-2025:1126-1 |
| openSUSE Leap 15.6 | tomcat10 | 10.1.39-150200.5.36.1 | SUSE-SU-2025:1024-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | tomcat10 +7 | 1:10.1.39-1.amzn2023.0.1 | ALAS2023-2025-910 |
| Amazon Linux 2023 | tomcat9 +7 | 1:9.0.102-1.amzn2023.0.1 | ALAS2023-2025-911 |
| Amazon Linux 2 | tomcat +9 | 7.0.76-10.amzn2.0.10 | ALAS2-2025-2812 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | tomcat +7 | 1:10.1.36-1.el10_0 | ELSA-2025-7497 |
| Oracle Linux 10 | tomcat9 +7 | 1:9.0.87-5.el10_0 | ELSA-2025-7494 |
| Oracle Linux 9 | tomcat +7 | 1:9.0.87-2.el9_5.1 | ELSA-2025-3645 |
| Oracle Linux 8 | tomcat +7 | 1:9.0.87-1.el8_10.3 | ELSA-2025-3683 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | thingsboard +4 | 3.9.1-r2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Tomcat Partial PUT Java Deserialization
exploit/multi/http/tomcat_partial_put_deserialization
Exploit-DB 1
- Apache Tomcat 11.0.3 - Remote Code Execution EDB-52134 · webapps · Apr 7, 2025
GitHub 59 repositories · most starred shown
-
absholi7ly/POC-CVE-2025-24813 ★ 193 · Mar 14, 2025
his repository contains an automated Proof of Concept (PoC) script for exploiting **CVE-2025-24813**, a Remote Code Execution (RCE) vulnerability in Apache Tomcat. The vulnerability allows an attacke…
-
iSee857/CVE-2025-24813-PoC ★ 98 · Mar 13, 2025
Apache Tomcat 远程代码执行漏洞批量检测脚本(CVE-2025-24813)
-
drcrypterdotru/Apache-GOExploiter ★ 21 · Aug 31, 2025
Apache (CVE-2025-24813) GOExploiter Checker & Exploiter very Fast
-
mbanyamer/Apache-Tomcat---Remote-Code-Execution-via-Session-Deserialization-CVE-2025-24813- ★ 18 · May 25, 2025
Apache Tomcat - Remote Code Execution via Session Deserialization (CVE-2025-24813)
-
charis3306/CVE-2025-24813 ★ 16 · Mar 16, 2025
CVE-2025-24813利用工具
-
qzy0x/cve-2025-24813_poc ★ 11 · Mar 14, 2025
cve-2025-24813验证脚本
-
x00byte/PutScanner ★ 9 · Jul 19, 2025
A tool that identifies writable web directories in Apache Tomcat via HTTP PUT method [CVE-2025-24813]
-
Franconyu/Poc_for_CVE-2025-24813 ★ 9 · Apr 10, 2025
CVE-2025-24813 poc
-
u238/Tomcat-CVE_2025_24813 ★ 7 · Mar 24, 2025
A playground to test the RCE exploit for tomcat CVE-2025-24813
-
msadeghkarimi/CVE-2025-24813-Exploit ★ 7 · Mar 18, 2025
Apache Tomcat Remote Code Execution (RCE) Exploit - CVE-2025-24813
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache Tomcat Path Equivalence - Remote Code Execution http/cves/2025/CVE-2025-24813.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat-catalina | >= 11.0.0-M1, < 11.0.3 | 11.0.3 | GHSA-83qj-6fr2-vhqg |
| Maven | org.apache.tomcat:tomcat-catalina | >= 10.1.0-M1, < 10.1.35 | 10.1.35 | GHSA-83qj-6fr2-vhqg |
| Maven | org.apache.tomcat:tomcat-catalina | >= 9.0.0.M1, < 9.0.99 | 9.0.99 | GHSA-83qj-6fr2-vhqg |
| Maven | org.apache.tomcat:tomcat-catalina | >= 8.5.0, <= 8.5.100 | — | GHSA-83qj-6fr2-vhqg |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M1, < 11.0.3 | 11.0.3 | GHSA-83qj-6fr2-vhqg |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.1.0-M1, < 10.1.35 | 10.1.35 | GHSA-83qj-6fr2-vhqg |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0.M1, < 9.0.99 | 9.0.99 | GHSA-83qj-6fr2-vhqg |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.0, <= 8.5.100 | — | GHSA-83qj-6fr2-vhqg |
Advisories 44
- ALSA-2025:7497 Moderate: tomcat security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:7494 Moderate: tomcat9 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:3645 Moderate: tomcat security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:3683 Moderate: tomcat security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:7497 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- WID-SEC-2025-1439 Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 11, 2026
- RHSA-2025:3684 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 26, 2026
- RHSA-2025:3647 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 26, 2026
- RHSA-2025:3683 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 26, 2026
- RHSA-2025:3645 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 26, 2026
- RHSA-2025:3646 Red Hat Security Advisory: tomcat security update Red Hat Security Advisories (RHSA) · Sep 26, 2026
- RHSA-2025:3608 Red Hat Security Advisory: Red Hat JBoss Web Server 6.1.0 release and security update Red Hat Security Advisories (RHSA) · Sep 26, 2026
- WID-SEC-2025-0511 Apache Tomcat: Schwachstelle ermöglicht Manipulation, Codeausführung und Offenlegung von Daten BSI CERT-Bund (WID) · Sep 17, 2026
- RHSA-2025:7494 Red Hat Security Advisory: tomcat9 security update Red Hat Security Advisories (RHSA) · Sep 17, 2026
- RHSA-2025:3454 Red Hat Security Advisory: Red Hat JBoss Web Server 5.8.3 release and security update Red Hat Security Advisories (RHSA) · Sep 17, 2026
- WID-SEC-2025-0823 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- ALAS2023-2025-910 Important: tomcat10 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 13, 2026
- ALAS2023-2025-911 Important: tomcat9 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 7, 2026
- USN-7525-1 Tomcat vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-7525-2 Tomcat vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2026:1058-1 Security update for tomcat SUSE / openSUSE Security Updates · Mar 27, 2026
- DSA-5893-1 tomcat10 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4108-1 tomcat9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2025:14897-1 tomcat10-10.1.35-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14896-1 tomcat-9.0.99-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:1126-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0954-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2025:7494 Moderate: tomcat9 security update Rocky Linux Security Advisories · Oct 8, 2025
- RLSA-2025:7497 Moderate: tomcat security update Rocky Linux Security Advisories · Oct 8, 2025
- RLSA-2025:3645 Moderate: tomcat security update Rocky Linux Security Advisories · Oct 7, 2025
- RLSA-2025:3683 Moderate: tomcat security update Rocky Linux Security Advisories · Jul 29, 2025
- WID-SEC-2025-1564 Oracle Siebel CRM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 15, 2025
- SSA-938066 SSA-938066: Remote Code Execution Vulnerability in SENTRON Powermanager and Desigo CC Siemens ProductCERT · Jul 8, 2025
- ELSA-2025-7497 Moderate: tomcat security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jun 27, 2025
- ELSA-2025-7494 Moderate: tomcat9 security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jun 27, 2025
- SUSE-SU-2025:1024-1 Security update for tomcat10 SUSE / openSUSE Security Updates · May 2, 2025
- NCSC-2025-0124 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Apr 16, 2025
- NCSC-2025-0123 Kwetsbaarheden verholpen in Oracle Database Producten NCSC-NL (Netherlands) · Apr 16, 2025
- WID-SEC-2025-0825 Oracle Commerce: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 15, 2025
- WID-SEC-2025-0824 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 15, 2025
- ELSA-2025-3683 Moderate: tomcat security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 8, 2025
- ELSA-2025-3645 Moderate: tomcat security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Apr 7, 2025
- ALAS2-2025-2812 Important: tomcat security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 1, 2025
- NCSC-2025-0089 Kwetsbaarheid verholpen in Apache Tomcat NCSC-NL (Netherlands) · Mar 17, 2025
References
- https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq vendor-advisory