What is CVE-2016-3081?

Apache Struts contains a command injection vulnerability that could allow remote attackers to execute arbitrary code via method:prefix when Dynamic Method Invocation is enabled.

CISA added this issue to its exploited-vulnerability catalog on 2026-10-08. This is the catalog date, not this article’s publication date.

Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2016-3081 — NVD, CVE-2016-3081 — CVE Program record

First, confirm where the vulnerable product is running

CVE-2016-3081 affects Apache Struts versions 2.3.19 to 2.3.28 when Dynamic Method Invocation is enabled, allowing remote attackers to inject commands via a method: prefix. Exploitation can lead to arbitrary code execution. The vulnerability is associated with chained expressions in Struts's expression language. Mitigations depend on vendor guidance; affected deployments must apply the recommended patches or mitigations, ensuring alignment with CISA BOD 26-04 prioritization. Organizations should evaluate each Struts instance's internet exposure and apply the appropriate risk-based remediation steps before the exposure window.

The named vulnerable product is Apache Struts. Deployment on a cloud platform does not by itself establish that a managed AWS, Azure or GCP service is vulnerable. Confirm the product, version, vendor-supported deployment and remediation owner.

Vendor remediation comes first

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.

Use the current vendor advisory for affected versions and fixed builds. This catalog entry does not establish a universal fixed version or a cloud-specific hotfix.

Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2016-3081 — NVD

AWS: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. Check that the affected Struts application is not directly exposed to the internet; use a VPC endpoint or proxy if possible.
  2. Review AWS Systems Manager Patch Manager’s supported OS/package list to confirm it can manage the Struts package source; verify vendor-supported fix availability.

Sources: AWS Systems Manager Patch Manager

Azure: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. Confirm the Struts workload runs on a supported Linux OS in Azure; check Azure Update Manager’s coverage for the specific package source.
  2. Restrict direct internet access to the Struts service and ensure the environment follows Azure’s network security best practices.

Sources: Azure Update Manager overview

GCP: remediation and deployment checks

Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.

  1. Validate that the Struts application resides on a Compute Engine VM with OS Config Agent enabled; verify the vendor-supported Struts update package is available in the repository.
  2. Isolate the workload from public networks using internal IPs or a Cloud NAT gateway and enforce IAM policies limiting access.

Sources: Google Cloud VM Manager — About Patch

How to verify the fix

  1. Confirm Dynamic Method Invocation is disabled in the Struts configuration files or replace the vulnerable libraries with a vendor-validated release.
  2. Run a vulnerability scanner or static analysis tool on the Struts code to verify that no method: prefix injection patterns remain.

Questions teams ask

What versions of Apache Struts are vulnerable to CVE-2016-3081?

Sources indicate the vulnerability affects versions 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. Exact patch versions are not listed in the provided data; verify against the official Apache Struts advisory.

Can cloud-native services such as AWS Systems Manager, Azure Update Manager, or Google VM Manager automatically fix this Struts vulnerability?

The documentation states these managed services orchestrate OS and application updates only for supported packages. Struts may not be covered; confirm vendor-supported fix availability before relying on any managed remediation. Do not assume they automatically patch Struts.

Sources & further reading

This brief summarizes public source material. Confirm affected versions and the current vendor instructions before changing production. No original exploit validation is claimed.