patchminder
Exploited in the wild · CISA KEV CVE-2018-11776

Remote code executionin Apache Struts.

Published 22 Aug 2018 · 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 3 Nov 2021.

On CISA's listAttack code is public
Severity
High 8.1
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. 100.0% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.3.35, 2.5.17
In plain words

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.

CISA: Apache Struts contains a vulnerability that allows for remote code execution under two circumstances. One, where the alwaysSelectFullNamespace option is true and the value isn't set for a result defined in underlying configurations and in same time, its upper package configuration have no or wildcard namespace. Or, using URL tag which doesn't have value and action set and in same time, its upper package configuration have no or wildcard namespace.

What to do now
  • Upgrade org.apache.struts:struts2-core (Maven) to 2.3.35, 2.5.17 or later, whichever matches your release line.
  • CISA requires US federal agencies to fix it by 3 May 2022.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Struts
2.3 to 2.3.34
Not confirmed
CVE record
Apache Struts
2.5 to 2.5.16
Not confirmed
CVE record
org.apache.struts:struts2-core (Maven)
2.0.4 to before 2.3.35
2.3.35
GitHub advisory
org.apache.struts:struts2-core (Maven)
2.5 to before 2.5.17
2.5.17
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. 5 Jun 2018
    CVE ID reserved by apache.
  2. 22 Aug 2018
    Published in the CVE List.
  3. 22 Aug 2018
    Metasploit module: Apache Struts 2 Namespace Redirect OGNL Injection.
  4. 23 Aug 2018
    First public proof of concept on GitHub.
  5. 3 Nov 2021
    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
4 entries
GitHub proof of concepts
18 repositories
Exploit-DBEDB-ID 45260remote exploit for jsp, published 26 Aug 2018
Exploit-DBEDB-ID 45262remote exploit for jsp, published 25 Aug 2018
Exploit-DBEDB-ID 45367remote exploit for multiple, published 10 Sep 2018, verified by Exploit-DB
Exploit-DBEDB-ID 45367remote exploit for multiple, published 10 Sep 2018, verified by Exploit-DB
GitHubno warning signs foundmazen160/struts-pwn_CVE-2018-11776304 stars · created 25 Aug 2018An exploit for Apache Struts CVE-2018-11776
GitHubno warning signs foundhook-s3c/CVE-2018-11776-Python-PoC123 stars · created 24 Aug 2018Working Python test and PoC for CVE-2018-11776, includes Docker lab
GitHubno warning signs found649/Apache-Struts-Shodan-Exploit56 stars · created 29 Aug 2018This tool takes advantage of CVE-2018-11776 and Shodan to perform mass exploitation of verified and vulnerable Apache Struts servers.
GitHubno warning signs foundEkultek/Strutter21 stars · created 27 Aug 2018Proof of Concept for CVE-2018-11776
GitHubno warning signs foundbrianwrf/S2-057-CVE-2018-1177616 stars · created 28 Aug 2018A simple exploit for Apache Struts RCE S2-057 (CVE-2018-11776)
GitHubno warning signs foundarlyone/Apache-Struts-0Day-Exploit16 stars · created 10 Oct 2019Critical Remote Code Execution Vulnerability (CVE-2018-11776) Found in Apache Struts.
GitHubno warning signs foundxfox64x/CVE-2018-1177615 stars · created 23 Aug 2018Creating a vulnerable environment and the PoC
GitHubno warning signs foundbhdresh/CVE-2018-1177612 stars · created 25 Aug 2018Vulnerable docker container for CVE-2018-11776
GitHubno warning signs foundjiguangsdf/CVE-2018-1177610 stars · created 24 Aug 2018CVE-2018-11776(S2-057) EXPLOIT CODE
GitHubno warning signs foundknqyf263/CVE-2018-117764 stars · created 25 Aug 2018Environment for CVE-2018-11776 / S2-057 (Apache Struts 2)
Referencewww.exploit-db.comnamed as exploit in the CVE record
Referencewww.exploit-db.comnamed as exploit in the CVE record
Referencewww.exploit-db.comnamed as exploit in the CVE record

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

References
Cite this page

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