CVE-2018-11776
Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
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.
- Record
CVE-2018-11776- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 9.3 High
AV:N/AC:M/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List
8.1
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.
- Record
CVE-2018-11776- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
EUVDEUVD-2018-0582
8.1
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.
- Record
EUVD-2018-0582- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-cr6j-3jp9-rw65
8.1
Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
Apache Struts contains a Remote Code Execution when using results with no namespace and it's upper actions have no or wildcard namespace. The same flaw exists when using a url tag with no value, action set, and it's upper actions have no or wildcard namespace.
- Record
GHSA-cr6j-3jp9-rw65- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H - Weakness
- CWE-20
- Updated
- 2026-11-02
CISA KEV No score
Apache Struts Remote Code Execution Vulnerability
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.
- Record
CVE-2018-11776- Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2018-11776- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-cr6j-3jp9-rw65
8.1
Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
Apache Struts contains a Remote Code Execution when using results with no namespace and it's upper actions have no or wildcard namespace. The same flaw exists when using a url tag with no value, action set, and it's upper actions have no or wildcard namespace.
- Record
GHSA-cr6j-3jp9-rw65- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H - Weakness
- CWE-20
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.struts:struts2-coreMaven |
2.0.4 to 2.3.34 | 2.3.35 |
org.apache.struts:struts2-coreMaven |
2.5 to 2.5.16 | 2.5.17 |
org.apache.struts:struts2-coreMaven |
2.0.4 up to 2.3.35, plus listed versions 2.0.112.0.11.12.0.11.22.0.122.0.14 Show 45 moreShow less2.0.52.0.62.0.82.0.92.1.22.1.62.1.82.1.8.12.2.12.2.1.12.2.32.2.3.12.3.12.3.1.12.3.1.22.3.122.3.142.3.14.12.3.14.22.3.14.32.3.152.3.15.12.3.15.22.3.15.32.3.162.3.16.12.3.16.22.3.16.32.3.202.3.20.12.3.20.32.3.242.3.24.12.3.24.32.3.282.3.28.12.3.292.3.32.3.302.3.312.3.322.3.332.3.342.3.42.3.4.1 |
2.3.35 |
org.apache.struts:struts2-coreMaven |
2.5 up to 2.5.17, plus listed versions 2.5.12.5.102.5.10.12.5.122.5.13 Show 6 moreShow less2.5.142.5.14.12.5.162.5.22.5.52.5.8 |
2.5.17 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | Apache Struts 2 Namespace Redirect OGNL Injection | 2018-08-22 |
| PoC in GitHub | xfox64x/CVE-2018-11776 | 2018-08-23 |
| PoC in GitHub | hook-s3c/CVE-2018-11776-Python-PoC | 2018-08-24 |
| PoC in GitHub | jiguangsdf/CVE-2018-11776 | 2018-08-24 |
| Exploit-DB | Apache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (2) | 2018-08-25 |
| PoC in GitHub | bhdresh/CVE-2018-11776 | 2018-08-25 |
| PoC in GitHub | knqyf263/CVE-2018-11776 | 2018-08-25 |
| PoC in GitHub | mazen160/struts-pwn_CVE-2018-11776 | 2018-08-25 |
| Exploit-DB | Apache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (1) | 2018-08-26 |
| PoC in GitHub | Ekultek/Strutter | 2018-08-27 |
Show 12 moreShow less
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | brianwrf/S2-057-CVE-2018-11776 | 2018-08-28 |
| PoC in GitHub | tuxotron/cve-2018-11776-docker | 2018-08-28 |
| PoC in GitHub | 649/Apache-Struts-Shodan-Exploit | 2018-08-29 |
| Exploit-DB | Apache Struts 2 - Namespace Redirect OGNL Injection (Metasploit) | 2018-09-10 |
| PoC in GitHub | cved-sources/cve-2018-11776 | 2019-01-06 |
| PoC in GitHub | OzNetNerd/apche-struts-vuln-demo-cve-2018-11776 | 2019-06-24 |
| PoC in GitHub | cucadili/CVE-2018-11776 | 2019-10-08 |
| PoC in GitHub | arlyone/Apache-Struts-0Day-Exploit | 2019-10-10 |
| PoC in GitHub | freshdemo/ApacheStruts-CVE-2018-11776 | 2020-06-12 |
| PoC in GitHub | sonpt-afk/CVE-2018-11776-FIS | 2023-06-21 |
| PoC in GitHub | m4sk0ff/CVE-2018-11776 | 2025-09-09 |
| Nuclei | Apache Struts2 S2-057 - Remote Code Execution |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploitation, exploits | ||
| first indexed | CVE List, EUVD, Exploit-DB, GitHub Advisories, CISA KEV, Metasploit, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-11776 is a high vulnerability (CVSS 8.1) in Apache Struts, published August 22, 2018. CISA lists it as known to be exploited, since November 3, 2021. EUVD reports exploitation since November 3, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 100.0%, the 99th percentile. Fixed in org.apache.struts:struts2-core 2.3.35.
References
securitytracker.com/id/1041888
exploit-db.com/exploits/45367
exploit-db.com/exploits/45262
securityfocus.com/bid/105125
securitytracker.com/id/1041547
exploit-db.com/exploits/45260
Show 22 moreShow less
lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
oracle.com/security-alerts/cpujul2020.html
oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
security.netapp.com/advisory/ntap-20181018-0002
cwiki.apache.org/confluence/display/WW/S2-057
psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012
oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html
lgtm.com/blog/apache_struts_CVE-2018-11776
security.netapp.com/advisory/ntap-20180822-0001
arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt
github.com/hook-s3c/CVE-2018-11776-Python-PoC
packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776
nvd.nist.gov/vuln/detail/CVE-2018-11776
lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E
github.com/apache/struts/commit/6e87474f9ad0549f07dd2c37d50a9ccd0977c6e
web.archive.org/web/20180822160726/http://www.securityfocus.com/bid/105125
web.archive.org/web/20200807025819/http://www.securitytracker.com/id/1041888
web.archive.org/web/20201208145803/https://securitytracker.com/id/1041547
github.com/advisories/GHSA-cr6j-3jp9-rw65
github.com/apache/struts
Left out here: 2 versions. The JSON record has them.