Unrestricted file uploadin Apache Tomcat.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 25 Mar 2022. Ransomware groups use it too.
When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.
CISA: When running Apache Tomcat on Windows with HTTP PUTs enabled, it is possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.
- Upgrade org.apache.tomcat.embed:tomcat-embed-core (Maven) to 7.0.79 or later.
- CISA requires US federal agencies to fix it by 15 Apr 2022.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 7 Aug 2017CVE ID reserved by apache.
- 19 Sep 2017Published in the CVE List.
- 23 Sep 2017First public proof of concept on GitHub.
- 25 Mar 2022Added to CISA's Known Exploited Vulnerabilities list.
- 25 Mar 2022CISA lists known use in ransomware campaigns.
- 6 Aug 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Tomcat vulnerabilities
Same weakness: Unrestricted file upload
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- lists.apache.org mailing-list, x_refsource_MLIST
- www.synology.com x_refsource_CONFIRM
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- breaktoprotect.blogspot.com x_refsource_MISC
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- security.netapp.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- www.cisa.gov government-resource
Patchminder. CVE-2017-12615: Unrestricted file upload in Apache Tomcat. https://patchminder.com/cve/cve-2017-12615/ (accessed 5 December 2026).