patchminder
Exploited in the wild · CISA KEV CVE-2017-9791

Remote code executionin Apache Struts.

Published 10 Jul 2017 · Updated 21 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Yes

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.

On CISA's listAttack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 98.8% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

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.

What to do now
  • 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.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Struts
Not confirmed
Not confirmed
CVE record
org.apache.struts:struts2-struts1-plugin (Maven)
2.3.37 and earlier
Not confirmed
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 21 Jun 2017
    CVE ID reserved by apache.
  2. 7 Jul 2017
    First public proof of concept on GitHub.
  3. 7 Jul 2017
    Metasploit module: Apache Struts 2 Struts 1 Plugin Showcase OGNL Code Execution.
  4. 10 Jul 2017
    Published in the CVE List.
  5. 10 Feb 2022
    Added to CISA's Known Exploited Vulnerabilities list.
  6. 21 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
1 module
Nuclei scan template
Available
Exploit-DB
3 entries
GitHub proof of concepts
3 repositories
MetasploitApache Struts 2 Struts 1 Plugin Showcase OGNL Code Executionrank excellentLinked once a fix or workaround is known.
NucleiApache Struts2 S2-053 · Remote Code Executiondetection templateLinked once a fix or workaround is known.
Exploit-DBEDB-ID 44643remote exploit for jsp, published 17 May 2018, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 44643remote exploit for jsp, published 17 May 2018, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 42324web application exploit for jsp, published 7 Jul 2017, verified by Exploit-DBLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.

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.

Related

Other Struts vulnerabilities

Same weakness: Improper input validation

All CWE-20 vulnerabilities

References
Cite this page

Patchminder. CVE-2017-9791: Remote code execution in Apache Struts. https://patchminder.com/cve/cve-2017-9791/ (accessed 5 December 2026).