Actively exploited · Published Apr 26, 2016 · Assigned by redhat
CVE-2016-3081
High 8.1 Exploited
In plain English
A high-severity command injection in Struts from Apache. Attackers are actively exploiting it in the wild (listed by CISA on October 8, 2026). The chance it is exploited in the next 30 days is estimated at 96.5% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Federal agencies must remediate by Oct 11, 2026.
Official description
Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via method: prefix, related to chained expressions.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.struts:struts2-core | 2.3.20.3 | GHSA-8c6j-ffmf-q6vm |
| Maven | org.apache.struts:struts2-core | 2.3.24.3 | GHSA-8c6j-ffmf-q6vm |
| Maven | org.apache.struts:struts2-core | 2.3.28.1 | GHSA-8c6j-ffmf-q6vm |
Affected products (as reported)
Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- 1035665 vdb-entry, x_refsource_SECTRACK
- https://struts.apache.org/docs/s2-032.html x_refsource_CONFIRM
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html x_refsource_CONFIRM
- http://www.rapid7.com/db/modules/exploit/linux/http/struts_dmi_exec x_refsource_MISC
- 39756 exploit, x_refsource_EXPLOIT-DB
- 91787 vdb-entry, x_refsource_BID
- http://packetstormsecurity.com/files/136856/Apache-Struts-2.3.28-Dynamic-Method-Invocation-Remote-Code-Execution.html x_refsource_MISC
- 87327 vdb-entry, x_refsource_BID
- http://www.rapid7.com/db/modules/exploit/multi/http/struts_dmi_exec x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-3081 government-resource