CVE-2016-3081: Apache Struts Command Injection Vulnerability

High severity, CVSS 8.1. Actively exploited: in CISA KEV since 2026-10-08. EPSS: 97% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2026-10-11): 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.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apache Struts, from 2.3.20, before 2.3.20.3: fixed in 2.3.20.3
  • Apache Struts, from 2.3.21, before 2.3.24.3: fixed in 2.3.24.3
  • Apache Struts, from 2.3.25, before 2.3.28.1: fixed in 2.3.28.1

Affected products

Affected packages

Published 2016-04-26. Last modified 2026-10-09.