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.
The vulnerability results from a race condition occurring during JSP file compilation. An attacker can exploit the time window between the moment the file is checked (time-of-check) and the moment it is used (time-of-use) to substitute or manipulate a file on a case-insensitive file system. A successful attack requires the default servlet to be configured with write capability, which is not the default setting. Through clever file operations within this race condition window, it is possible to cause the server to execute code supplied by the attacker.
A successful attack allows an unauthenticated attacker to execute arbitrary code remotely (RCE) on the server, which may lead to complete system takeover, data disclosure, and compromise of service integrity and availability.
Update Apache Tomcat to version 11.0.2, 10.1.34, or 9.0.98, which contain the fix. If immediate updating is not possible, ensure that the default servlet does not have write support enabled (readonly=true parameter, which is the default configuration). Versions 8.5.x are EOL and will not receive an official patch — migration to a supported branch is recommended.
Apache Tomcat in versions: 11.0.0-M1 to 11.0.1, 10.1.0-M1 to 10.1.33, 9.0.0.M1 to 9.0.97. Version 8.5.0 to 8.5.100 (EOL) is also vulnerable. Older EOL versions may also be vulnerable. The vulnerability affects only case-insensitive file systems with write support enabled in the default servlet.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HApache Tomcat
APPApache9.0.0 – 9.0.98 (excl.)10.1.0 – 10.1.34 (excl.)11.0.0 – 11.0.2 (excl.)Netapp Bootstrap Os
OSNetappall versionsNetapp Hci Compute Node
HWNetappall versions
Related vulnerabilities
Apache Tomcat: Path Equivalence prowadzący do RCE i ujawnienia danych
Apache Tomcat AJP Connector — odczyt plików i RCE (Ghostcat)
Apache Tomcat RCE przez JmxRemoteLifecycleListener (JMX)
Improper Access Control, Incorrect Authorization vulnerability in Apache Tomcat leads to security constraint b...
Improper Input Validation vulnerability in Apache Tomcat due to incomplete fix for CVE-2026-32990. This iss...