Remote code executionin Apache Struts.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 3 Nov 2021. Ransomware groups use it too.
The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.
CISA: Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.
- Upgrade org.apache.struts:struts2-core (Maven) to 2.3.32, 2.5.10.1 or later, whichever matches your release line.
- CISA requires US federal agencies to fix it by 3 May 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
- 29 Jan 2017CVE ID reserved by apache.
- 7 Mar 2017First public proof of concept on GitHub.
- 7 Mar 2017Metasploit module: Apache Struts Jakarta Multipart Parser OGNL Injection.
- 11 Mar 2017Published in the CVE List.
- 3 Nov 2021Added to CISA's Known Exploited Vulnerabilities list.
- 3 Nov 2021CISA lists known use in ransomware campaigns.
- 21 Oct 2025CVE 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 Struts vulnerabilities
Same weakness: Improper handling of exceptional conditions
- nmap.org x_refsource_MISC
- www.arubanetworks.com x_refsource_CONFIRM
- arstechnica.com x_refsource_MISC
- security.netapp.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- struts.apache.org x_refsource_CONFIRM
- blog.talosintelligence.com x_refsource_MISC
- www.imperva.com x_refsource_MISC
- h20566.www2.hpe.com x_refsource_CONFIRM
- www.kb.cert.org third-party-advisory, x_refsource_CERT-VN
- isc.sans.edu x_refsource_MISC
- struts.apache.org x_refsource_CONFIRM
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- www.eweek.com x_refsource_MISC
- www.securityfocus.com vdb-entry, x_refsource_BID
- twitter.com x_refsource_MISC
- github.com x_refsource_MISC
- packetstormsecurity.com x_refsource_MISC
- www.symantec.com x_refsource_CONFIRM
- support.lenovo.com x_refsource_CONFIRM
- git1-us-west.apache.org x_refsource_CONFIRM
- h20566.www2.hpe.com x_refsource_CONFIRM
- git1-us-west.apache.org x_refsource_CONFIRM
- cwiki.apache.org x_refsource_CONFIRM
- cwiki.apache.org x_refsource_CONFIRM
- www.oracle.com x_refsource_CONFIRM
- h20566.www2.hpe.com x_refsource_CONFIRM
- blog.trendmicro.com x_refsource_MISC
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
Patchminder. CVE-2017-5638: Remote code execution in Apache Struts. https://patchminder.com/cve/cve-2017-5638/ (accessed 5 December 2026).