Skip to content
OpenAdvisories
High · 8.1 Known exploited Scanner template Public exploit CVE-2016-3081 EUVD-2022-3161GHSA-8c6j-ffmf-q6vm

Apache Struts RCE Vulnerability

Published Apr 26, 2016 · Updated Oct 9, 2026 · Assigned by redhat

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.struts:struts2-core >= 2.3.19, < 2.3.20.3 2.3.20.3 GHSA-8c6j-ffmf-q6vm
Maven org.apache.struts:struts2-core >= 2.3.21, < 2.3.24.3 2.3.24.3 GHSA-8c6j-ffmf-q6vm
Maven org.apache.struts:struts2-core >= 2.3.25, < 2.3.28.1 2.3.28.1 GHSA-8c6j-ffmf-q6vm

Advisories 1

References