Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
CISA confirms exploitation of this vulnerability in real attacks. Prioritise checking whether your application is affected. CISA KEV · CC0 1.0
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.struts:struts2-core | >= 2.0.4, < 2.3.35, >= 2.5, < 2.5.17 | 2.3.35, 2.5.17 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-11776
- https://github.com/apache/struts/commit/6e87474f9ad0549f07dd2c37d50a9ccd0977c6e
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.exploit-db.com/exploits/45367
- https://www.exploit-db.com/exploits/45262
- https://www.exploit-db.com/exploits/45260
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776
- https://web.archive.org/web/20201208145803/https://securitytracker.com/id/1041547
- https://web.archive.org/web/20200807025819/http://www.securitytracker.com/id/1041888
- https://web.archive.org/web/20180822160726/http://www.securityfocus.com/bid/105125
- https://security.netapp.com/advisory/ntap-20181018-0002
- https://security.netapp.com/advisory/ntap-20180822-0001
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
- https://lgtm.com/blog/apache_struts_CVE-2018-11776
- https://github.com/hook-s3c/CVE-2018-11776-Python-PoC
- https://github.com/apache/struts
- https://cwiki.apache.org/confluence/display/WW/S2-057
- http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://www.securityfocus.com/bid/105125
- http://www.securitytracker.com/id/1041547
- http://www.securitytracker.com/id/1041888
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
org.apache.struts:struts2-core- Disclosed
- 18.10.2018
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-cr6j-3jp9-rw65 - CC BY 4.0
Vulnerability history: org.apache.struts:struts2-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 60
- First → latest
- 10.2018 01.2026
- Without a fix
- 0
- Exploited in attacks
- 6
Severity breakdown
- Critical 14
- High 25
- Medium 20
- Low 1
Disclosures per year
- 2018: 6
- 2019: 0
- 2020: 0
- 2021: 1
- 2022: 45
- 2023: 4
- 2024: 1
- 2025: 2
- 2026: 1
-
Apache Struts vulnerable to remote command execution (RCE) due to improper input validation this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.