CVE-2016-3081 in Apache Struts and 15 more products
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.
Affects 16 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Struts | 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5+48 more2.0.6 2.0.7 2.0.8 2.0.9 2.0.10 2.0.11 2.0.11.1 2.0.11.2 2.0.12 2.0.13 2.0.14 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.8 2.1.8.1 2.2.1 2.2.1.1 2.2.3 2.2.3.1 2.3.1 2.3.1.1 2.3.1.2 2.3.3 2.3.4 2.3.4.1 2.3.7 2.3.8 2.3.12 2.3.14 2.3.14.1 2.3.14.2 2.3.14.3 2.3.15 2.3.15.1 2.3.15.2 2.3.15.3 2.3.16 2.3.16.1 2.3.16.2 2.3.16.3 ≥ 2.3.20, < 2.3.20.3 ≥ 2.3.21, < 2.3.24.3 ≥ 2.3.25, < 2.3.28.1 |
| Huawei | Anyoffice | v200r005c00 v200r006c00 |
| Huawei | Oceanstor 5600 V3 (device and firmware) | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Oceanstor 18800F (device and firmware) | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Oceanstor 9000 (device and firmware) | v100r001c01 v100r001c30 v300r005c00 |
| Huawei | Agile Controller-Campus (device and firmware) | v100r002c00 |
| Huawei | Oceanstor 5800 V3 (device and firmware) | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Logcenter | v100r001c10 v100r001c20 |
| Oracle | Siebel E-Billing | 7.1 |
| Oracle | Micros Retail Xbri Loss Prevention | 10.0.1 10.5.0 10.6.0 10.7.0 10.8.0 10.8.1 |
| Oracle | Flexcube Private Banking | 2.0.0.0 2.0.1 2.2.0 12.0.1 12.0.3 12.1.0 |
| Huawei | Firehunter6000 Firmware | v100r001c20 |
| Huawei | Oceanstor 18500 V3 Firmware | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Oceanstor 18500F Firmware | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Oceanstor 18800 V3 Firmware | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Oceanstor 5300 V3 Firmware | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Oceanstor 5500 V3 Firmware | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Oceanstor 6800 V3 Firmware | v300r001 v300r002 v300r003c00 v300r003c10 |
| Huawei | Oceanstor N8500 Firmware | v200r001c09spc505 v200r001c91spc205 v200r001c91spc900 v200r001c91spc901 |
| Huawei | Oceanstor Onebox Firmware | v100r003c10 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2026-10-08 |
|---|---|
| Public exploit | Reported · reference |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-3081 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-158856-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2016-04-26 |
| Last modified | 2026-10-09 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in Apache Struts 2 allows remote attackers to execute arbitrary code due to improper handling of method invocation.
The vulnerability arises from the use of the 'method:' prefix in chained expressions when Dynamic Method Invocation is enabled. Attackers can exploit this to execute arbitrary code on the server.
Questions
What is CVE-2016-3081?
A critical vulnerability in Apache Struts 2 allows remote attackers to execute arbitrary code due to improper handling of method invocation.
What is the CVSS score for CVE-2016-3081?
CVE-2016-3081 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 96.9%.
Is CVE-2016-3081 actively exploited?
Yes. CVE-2016-3081 is in the CISA known-exploited catalog (added 2026-10-08). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2016-3081?
Priority: IMMEDIATE. Advisory: https://struts.apache.org/docs/s2-032.html PSIRT: [email protected]
What systems are affected by CVE-2016-3081?
CVE-2016-3081 affects Apache Struts; Huawei Anyoffice, Oceanstor 5600 V3, Oceanstor 18800F, Oceanstor 9000, Agile Controller-Campus, Oceanstor 5800 V3, Logcenter; Oracle Siebel E-Billing, Micros Retail Xbri Loss Prevention (plus 1 more product).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Struts","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-09.