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 10 Feb 2022.
The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.
CISA: The Struts 1 plugin in Apache Struts might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.
- CISA requires US federal agencies to fix it by 10 Aug 2022.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
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
- 21 Jun 2017CVE ID reserved by apache.
- 7 Jul 2017First public proof of concept on GitHub.
- 7 Jul 2017Metasploit module: Apache Struts 2 Struts 1 Plugin Showcase OGNL Code Execution.
- 10 Jul 2017Published in the CVE List.
- 10 Feb 2022Added to CISA's Known Exploited Vulnerabilities list.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
3 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
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
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Struts vulnerabilities
Same weakness: Improper input validation
- www.oracle.com x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- struts.apache.org x_refsource_CONFIRM
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- security.netapp.com x_refsource_CONFIRM
- www.cisa.gov government-resource
Patchminder. CVE-2017-9791: Remote code execution in Apache Struts. https://patchminder.com/cve/cve-2017-9791/ (accessed 5 December 2026).