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.
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.
- 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.
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
- 5 Jun 2018CVE ID reserved by apache.
- 22 Aug 2018Published in the CVE List.
- 22 Aug 2018Metasploit module: Apache Struts 2 Namespace Redirect OGNL Injection.
- 23 Aug 2018First public proof of concept on GitHub.
- 3 Nov 2021Added 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.
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
- www.securitytracker.com vdb-entry
- www.securityfocus.com vdb-entry
- www.securitytracker.com vdb-entry
- lists.apache.org mailing-list
- www.oracle.com
- www.oracle.com
- www.oracle.com
- security.netapp.com
- cwiki.apache.org
- psirt.global.sonicwall.com
- www.oracle.com
- lgtm.com
- security.netapp.com
- www.arubanetworks.com
- github.com
- packetstormsecurity.com
- www.cisa.gov government-resource
Patchminder. CVE-2018-11776: Remote code execution in Apache Struts. https://patchminder.com/cve/cve-2018-11776/ (accessed 5 December 2026).