Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2016-3087: 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

74
This week
CRITICAL 9.8REMOTEWATCHLISTDOWNGRADE

CVE-2016-3087 is a critical-severity flaw (CVSS 9.8) affecting struts. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 vectors related to an ! (exclamation mark) operator to the REST Plugin.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance81.9% (top 1%)
CISA exploited listNo
WeaknessCWE-20
Published2016-06-07
Last modified2026-06-17
Publisher (CNA): Red Hat, Inc. · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache struts DOWNGRADE
Affected: 2.3.20 · 2.3.20.1 · 2.3.24 · 2.3.24.1 · 2.3.28
Fixed in: no fixed release known
Safe to downgrade to: a release before 2.3.20
1. Check installed version
apt-cache policy struts || rpm -q struts || struts --version
2. No fixed release: DOWNGRADE to a release before 2.3.20 (Debian / Ubuntu)
apt-cache madison struts sudo apt install struts=<VERSION_BEFORE_2.3.20> sudo apt-mark hold struts
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list struts sudo dnf downgrade struts-<VERSION_BEFORE_2.3.20> sudo dnf versionlock add struts
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Maven · org.apache.struts:struts2-core · FIXED · 2.3.20.3 · vulnerable: >= 2.3.19, < 2.3.20.3 · source
Set org.apache.struts:struts2-core to 2.3.20.3 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora 46 · rust-ingredients · FIXED · 0.3.3-2.fc46 · FEDORA-2026-0b3d9feffd · source
sudo dnf upgrade --advisory=FEDORA-2026-0b3d9feffd
Fedora ELN · dpkg · FIXED · 1.23.11-2.eln159 · FEDORA-2026-732e4ac21b · source
sudo dnf upgrade --advisory=FEDORA-2026-732e4ac21b
RHEL 5 · struts · NOT AFFECTED

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2016-3087?

struts: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2016-3087 being exploited?

CVE-2016-3087 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2016-3087 affect?

CVE-2016-3087 affects struts. Severity is critical (CVSS 9.8). 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 vectors related to an ! (exclamation mark) operator to the REST Plug

How urgent is CVE-2016-3087?

Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Apache Struts vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.