Apache Tomcat on Windows Remote Code Execution Vulnerability

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.

Published 8 Oct 2026Updated 8 Oct 202666 sources
CVSS 0.0 ✓ VERIFIED REFERENCE△ CISA KEV

What happened

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.

Affected versions

Tomcat: See original advisory Fixed: See vendor advisory.

Why it matters

This source correlation may provide earlier visibility while structured CVE metadata is still being updated.

Detection & mitigation

  • Review the original advisory and validate affected versions.
  • Apply vendor-provided updates or mitigations when available.

Public PoC references

RepositoryAuthorFirst seenReference
Exploit-DB 42953Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (1)xxlegend2017-09-20VerifiedPoC-in-GitHub · breaktoprotect/CVE-2017-12615POC Exploit for Apache Tomcat 7.0.x CVE-2017-12615 PUT JSP vulnerability.★ 112breaktoprotect2017-09-23CandidatePoC-in-GitHub · mefulton/cve-2017-12615just a python script for cve-2017-12615★ 11mefulton2017-09-25CandidatePoC-in-GitHub · zi0Black/POC-CVE-2017-12615-or-CVE-2017-12717CVE-2017-12617 and CVE-2017-12615 for tomcat server★ 6zi0Black2017-10-06CandidatePoC-in-GitHub · wsg00d/cve-2017-12615tomcat-put-cve-2017-12615★ 3wsg00d2017-11-01CandidatePoC-in-GitHub · BeyondCy/CVE-2017-12615Tomcat 远程代码执行漏洞 Exploit★ 1BeyondCy2017-11-28CandidatePoC-in-GitHub · 1337g/CVE-2017-12615CVE-2017-12615 Tomcat RCE (TESTED)★ 41337g2017-12-26CandidatePoC-in-GitHub · cved-sources/cve-2017-12615cve-2017-12615★ 0cved-sources2019-01-17CandidatePoC-in-GitHub · ianxtianxt/CVE-2017-12615CVE-2017-12615 批量脚本★ 1ianxtianxt2020-01-20CandidatePoC-in-GitHub · cyberharsh/Tomcat-CVE-2017-12615★ 0cyberharsh2020-06-24CandidatePoC-in-GitHub · w0x68y/CVE-2017-12615-EXPCVE-2017-12615 任意文件写入exp,写入webshell★ 1w0x68y2021-01-12CandidatePoC-in-GitHub · tpt11fb/AttackTomcatTomcat常见漏洞GUI利用工具。CVE-2017-12615 PUT文件上传漏洞、tomcat-pass-getshell 弱认证部署war包、弱口令爆破、CVE-2020-1938 Tomcat AJP文件读取/包含★ 258tpt11fb2022-11-13CandidatePoC-in-GitHub · xiaokp7/Tomcat_PUT_GUI_EXPTomcat PUT方法任意文件写入(CVE-2017-12615)exp★ 11xiaokp72023-03-10CandidatePoC-in-GitHub · lizhianyuguangming/TomcatScanProtomcat自动化漏洞扫描利用工具,支持批量弱口令检测、后台部署war包getshell、CVE-2017-12615 文件上传、CVE-2020-1938/CNVD-2020-10487 文件包含★ 297lizhianyuguangming2024-08-29CandidatePoC-in-GitHub · wudidwo/CVE-2017-12615-poc★ 0wudidwo2024-11-19CandidatePoC-in-GitHub · edyekomu/CVE-2017-12615-PoCPoC environment and exploit for the Apache Tomcat on Windows Remote Code Execution Vulnerability★ 0edyekomu2025-06-21CandidatePoC-in-GitHub · Fa1c0n35/CVE-2017-12615Tomcat - PUT Method★ 0Fa1c0n352025-11-07CandidatePoC-in-GitHub · netw0rk7/CVE-2017-12615-Home-LabCVE-2017-12615 Tomcat: Remote Code Execution via JSP Upload Home Lab for Red Teaming, Penetration Testing★ 0netw0rk72025-11-17CandidatePoC-in-GitHub · CyberCTF/vulhub-tomcat-cve-2017-12615Vulhub tomcat/CVE-2017-12615: Tomcat 8.5.19 PUT JSP upload, run with Isoloom★ 0CyberCTF2026-10-08CandidatePoC-in-GitHub · nouhaila2030/apache-tomcat-security-auditPenetration test of Apache Tomcat — Ghostcat, CVE-2017-12615 and Struts2/OGNL exploitation with MITRE ATT&CK mapping★ 0nouhaila20302026-10-09Candidate