Skip to content
PiLabs security advisory Updated 2 November 2026
High 8.1 CVE-2016-3081 Known exploited

Command injection in Dynamic Method Invocation of Apache Struts

Affected
Apache Struts
Affected versions
≥ 2.3.20, < 2.3.20.3; ≥ 2.3.21, < 2.3.24.3; ≥ 2.3.25, < 2.3.28.1
Disclosed
Last updated
CVSS 3.1 vector
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Written automatically on 27 October 2026 from the NVD and the CISA catalogue of known exploited vulnerabilities. The facts above come from those sources; check them before you act. Updated by Pinet on 2 November 2026. Sources of this advisory

Apache reports that certain Apache Struts versions allow remote attackers to execute arbitrary code when Dynamic Method Invocation is enabled. CISA lists CVE-2016-3081 as exploited.

What is affected

The vulnerability, tracked as CVE-2016-3081, affects Apache Struts. The sources describe it as a command injection flaw (CWE-77) that applies only when Dynamic Method Invocation is enabled. It was disclosed on 2016-04-26.

The affected version ranges given in the sources are:

  • ≥ 2.3.20, < 2.3.20.3
  • ≥ 2.3.21, < 2.3.24.3
  • ≥ 2.3.25, < 2.3.28.1

The vendor advisory lists the fixed releases. Check it for the release that applies to your branch.

What the flaw allows

The sources state that remote attackers can execute arbitrary code through the method: prefix, in a way related to chained expressions. Arbitrary code execution means an attacker could run code with the privileges of the application server process.

The NVD records a CVSS 3.1 base score of 8.1, which is high severity, with the vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. In plain terms, the flaw can be reached over the network without privileges or user interaction. The attack complexity is rated high, and the impact on confidentiality, integrity and availability is rated high.

Exploitation

CISA lists this vulnerability as exploited. It was added to the CISA Known Exploited Vulnerabilities catalogue on 2026-10-08. CISA's stated deadline for US federal agencies to act is 2026-10-11. CISA records the use of this vulnerability in ransomware campaigns as unknown.

The due date applies to US federal agencies. For other organisations it is only an indication of how CISA rates the urgency.

What to do

Work out whether you run Apache Struts in any of the version ranges above, including applications that bundle it and are maintained by third parties. For each instance, confirm with the vendor advisory whether Dynamic Method Invocation applies to your configuration.

CISA's required action is to apply mitigations in accordance with the vendor instructions. CISA also asks for the internet exposure of each asset to be assessed, and for the product to be discontinued if mitigations are unavailable. The Apache Struts security bulletin S2-032 is the primary source for the fixed releases. The NVD entry for CVE-2016-3081 collects further references.

What to do

Follow the vendor instructions in the Apache Struts security bulletin S2-032, which lists the fixed releases and how to check exposure. CISA's required action is to apply mitigations per vendor instructions, or to discontinue use of the product if mitigations are unavailable. Details are in the CISA Known Exploited Vulnerabilities catalogue.

Sources

Mentioned in security bulletins

All vulnerabilities

Need to know whether these vulnerabilities affect you?

A consultant can check which of the affected products you run and what to fix first. For a wider review, ask for a security assessment.