published 14 Jan 2021 · updated 8 Oct 2026
Apache Tomcat information disclosure
5.5MediumEPSS 23%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 23%. Fixed in 10.0.0-M10, 7.0.106, 8.5.60 and 1 more.
When serving resources from a network location using the NTFS file system, Apache Tomcat versions 10.0.0-M1 to 10.0.0-M9, 9.0.0.M1 to 9.0.39, 8.5.0 to 8.5.59 and 7.0.0 to 7.0.106 were susceptible to JSP source code disclosure in some configurations. The root cause was the unexpected behaviour of the JRE API File.getCanonicalPath() which in turn was caused by the inconsistent behaviour of the Windows API (FindFirstFileW) in some circumstances.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Apache Software Foundation | >=Apache Tomcat 10 <10.0.0-M10, >=Apache Tomcat 7 <7.0.106, >=Apache Tomcat 8.5 <8.5.60, >=Apache Tomcat 9 <9.0.40 | 10.0.0-M10, 7.0.106, 8.5.60, 9.0.40 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket