Apache Tomcat: RCE due to TOCTOU issue in JSP compilation
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration). This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. 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. Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.
- BDU:2024-11286
- GHSA-5j33-cvvr-w245
- ALSA-2025:11332
- ALSA-2025:11333
- ALSA-2025:11335
- ALSA-2025:3645
- ALSA-2025:3683
- DLA-4017-1
- DSA-5845-1
- openSUSE-SU-2025:14622-1
- openSUSE-SU-2025:14623-1
- RHSA-2025:0342
- RHSA-2025:0361
- RHSA-2025:11332
- RHSA-2025:1920
- RHSA-2025:3645
- RHSA-2025:3646
- RHSA-2025:3647
- RHSA-2025:3683
- RHSA-2025:3684
- Published
- Dec 17, 2024
- Updated
- Jun 17, 2026
- EPSS
- 31.8% · 98th percentile▼ 12
- CWE
- CWE-367
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
49
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 10 / 30 · 31.8%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| apache | tomcat | cpe:2.3:a:apache:tomcat |
| netapp | bootstrap os | cpe:2.3:o:netapp:bootstrap_os |
| netapp | hci compute node | cpe:2.3:h:netapp:hci_compute_node |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache tomcat9.0.0 and later · before 9.0.98
- apache tomcat10.1.0 and later · before 10.1.34
- apache tomcat11.0.0 and later · before 11.0.2
- netapp bootstrap osall versions
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache Tomcat
- 11.0.0-M1 and later · up to and including 11.0.1affected · semver
- 10.1.0-M1 and later · up to and including 10.1.33affected · semver
- 9.0.0.M1 and later · up to and including 9.0.97affected · semver
- 8.5.0 and later · up to and including 8.5.100affected · semver
- 3 and later · before 8.5.0unknown · semver
- 10.0.0-M1 and later · up to and including 10.0.27unknown · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | tomcat9 | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-admin-webapps | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-docs-webapp | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-el-3.0-api | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-jsp-2.3-api | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-lib | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-servlet-4.0-api | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:10 | tomcat9-webapps | before 1:9.0.87-5.el10_0.1 | 1:9.0.87-5.el10_0.1 |
| AlmaLinux:8 | tomcat | before 1:9.0.87-1.el8_10.3 | 1:9.0.87-1.el8_10.3 |
| AlmaLinux:8 | tomcat | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-admin-webapps | before 1:9.0.87-1.el8_10.3 | 1:9.0.87-1.el8_10.3 |
| AlmaLinux:8 | tomcat-admin-webapps | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-docs-webapp | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-docs-webapp | before 1:9.0.87-1.el8_10.3 | 1:9.0.87-1.el8_10.3 |
| AlmaLinux:8 | tomcat-el-3.0-api | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-el-3.0-api | before 1:9.0.87-1.el8_10.3 | 1:9.0.87-1.el8_10.3 |
| AlmaLinux:8 | tomcat-jsp-2.3-api | before 1:9.0.87-1.el8_10.3 | 1:9.0.87-1.el8_10.3 |
| AlmaLinux:8 | tomcat-jsp-2.3-api | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-lib | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-lib | before 1:9.0.87-1.el8_10.3 | 1:9.0.87-1.el8_10.3 |
| AlmaLinux:8 | tomcat-servlet-4.0-api | before 1:9.0.87-1.el8_10.3 | 1:9.0.87-1.el8_10.3 |
| AlmaLinux:8 | tomcat-servlet-4.0-api | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-webapps | before 1:9.0.87-1.el8_10.4 | 1:9.0.87-1.el8_10.4 |
| AlmaLinux:8 | tomcat-webapps | before 1:9.0.87-1.el8_10.3 | 1:9.0.87-1.el8_10.3 |
+96
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTKEV99Now
- CVE-2016-8735Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x beforeKEV96Now
- CVE-2017-12617When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g.KEV92Now
- CVE-2017-12615When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g.KEV92Now
- CVE-2026-34486Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptorKEV62This week
- CVE-2019-0232When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0 62This week
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Apache Software Foundation Apache Tomcat | 11.0.2 · description | Vendor (CNA) |
| AlmaLinux:tomcat | 1:9.0.87-1.el8_10.4 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:tomcat-admin-webapps | 1:9.0.87-1.el8_10.4 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:tomcat-docs-webapp | 1:9.0.87-1.el8_10.4 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:tomcat-el-3.0-api | 1:9.0.87-1.el8_10.4 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:tomcat9 | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| AlmaLinux:tomcat9-admin-webapps | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| AlmaLinux:tomcat9-docs-webapp | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| AlmaLinux:tomcat9-el-3.0-api | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| AlmaLinux:tomcat9-jsp-2.3-api | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| AlmaLinux:tomcat9-lib | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| AlmaLinux:tomcat9-servlet-4.0-api | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| AlmaLinux:tomcat9-webapps | 1:9.0.87-5.el10_0.1 · AlmaLinux:10 | Package registry (OSV) |
| Debian:tomcat10 | 10.1.34-0+deb12u1 · Debian:12 | Package registry (OSV) |
| Debian:tomcat9 | 9.0.70-2 · Debian:12 | Package registry (OSV) |
| Maven:org.apache.tomcat:tomcat-catalina | 10.1.34 | Package registry (OSV) |
| Maven:org.apache.tomcat:tomcat-catalina | 11.0.2 | Package registry (OSV) |
| Maven:org.apache.tomcat:tomcat-catalina | 9.0.98 | Package registry (OSV) |
| Maven:org.apache.tomcat.embed:tomcat-embed-core | 10.1.34 | Package registry (OSV) |
| Maven:org.apache.tomcat.embed:tomcat-embed-core | 11.0.2 | Package registry (OSV) |
| Maven:org.apache.tomcat.embed:tomcat-embed-core | 9.0.98 | Package registry (OSV) |
| openSUSE:tomcat | 9.0.98-150200.74.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| openSUSE:tomcat10 | 10.1.34-150200.5.31.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| Red Hat:jws5-tomcat | 0:9.0.87-6.redhat_00006.1.el7jws · Red Hat:jboss_enterprise_web_server:5.8::el7 | Package registry (OSV) |
| Red Hat:jws5-tomcat-admin-webapps | 0:9.0.87-6.redhat_00006.1.el7jws · Red Hat:jboss_enterprise_web_server:5.8::el7 | Package registry (OSV) |
| Red Hat:jws6-tomcat | 0:10.1.8-15.redhat_00022.1.el8jws · Red Hat:jboss_enterprise_web_server:6.0::el8 | Package registry (OSV) |
| Red Hat:jws6-tomcat-admin-webapps | 0:10.1.8-15.redhat_00022.1.el8jws · Red Hat:jboss_enterprise_web_server:6.0::el8 | Package registry (OSV) |
| Red Hat:jws6-tomcat-docs-webapp | 0:10.1.8-15.redhat_00022.1.el8jws · Red Hat:jboss_enterprise_web_server:6.0::el8 | Package registry (OSV) |
| Red Hat:jws6-tomcat-el-5.0-api | 0:10.1.8-15.redhat_00022.1.el8jws · Red Hat:jboss_enterprise_web_server:6.0::el8 | Package registry (OSV) |
| Red Hat:jws6-tomcat-javadoc | 0:10.1.8-15.redhat_00022.1.el8jws · Red Hat:jboss_enterprise_web_server:6.0::el8 | Package registry (OSV) |
+8
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×14
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:4 | 2024-12-18 |
| Proof-of-concept repository on GitHub | stars:1 | 2024-12-19 |
| Proof-of-concept repository on GitHub | stars:2 | 2024-12-20 |
| Proof-of-concept repository on GitHub | stars:24 | 2024-12-20 |
| Proof-of-concept repository on GitHub | stars:1 | 2024-12-20 |
| Proof-of-concept repository on GitHub | stars:57 | 2024-12-21 |
| Proof-of-concept repository on GitHub | stars:84 | 2024-12-23 |
| Proof-of-concept repository on GitHub | stars:1 | 2024-12-23 |
| Proof-of-concept repository on GitHub | stars:4 | 2024-12-25 |
| Proof-of-concept repository on GitHub | stars:0 | 2024-12-26 |
| Proof-of-concept repository on GitHub | stars:1 | 2024-12-28 |
| Proof-of-concept repository on GitHub | stars:2 | 2025-01-23 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+1 d
- TodaySep 29, 2026+652 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-563373 days apartApache Tomcat: RCE due to TOCTOU issue in JSP compilation - CVE-2024-50379 mitigation was incomplete42Plan
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race ConditionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r
- www.openwall.com/lists/oss-security/2024/12/17/4
- www.openwall.com/lists/oss-security/2024/12/18/2
- lists.debian.org/debian-lts-announce/2025/01/msg00009.html
- security.netapp.com/advisory/ntap-20250103-0003/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.