VulnarioBlogApache Struts vulnerabilities

Apache Struts Vulnerabilities: The 10 Most Critical Apache Struts Security Bugs (CVEs)

Apache Struts vulnerabilities are security flaws in Apache Struts that attackers can abuse to steal data, take over a server or interrupt a service. Apache Struts is a Java web application framework, known for the 2017 Equifax breach. The National Vulnerability Database (NVD) lists 99 CVEs for Apache Struts, 17 of them rated critical, and 12 were published in the last 12 months. CISA lists 9 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.

This guide lists the 10 most critical Apache Struts security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Apache Struts security basics, the current end-of-life dates and a free way to be told about the next Apache Struts CVE as soon as it is published.

Key takeaways

  • 9 CVEs are in CISA's KEV catalog, so attackers have exploited them in the wild.
  • 17 Apache Struts CVEs are rated critical (CVSS v3), and 12 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-104711, published Oct 5, 2026.
  • Supported Apache Struts releases today (per endoflife.date): 7, 6. Releases not on the list are past their announced end of life.
  • You can monitor Apache Struts for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Apache Struts CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Apache Struts CVEs at a glance

Most critical Apache Struts vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2020-175309.8 Critical2020-12-11Apache Struts Remote Code ExecutionYes
2CVE-2017-97919.8 Critical2017-07-10Apache Struts 1 Improper Input ValidationYes
3CVE-2017-56389.8 Critical2017-03-11Apache Struts Remote Code ExecutionYes (ransomware use known)
4CVE-2013-22519.8 Critical2013-07-20Apache Struts Improper Input ValidationYes
5CVE-2012-03919.8 Critical2012-01-08Apache Struts 2 Improper Input ValidationYes
6CVE-2018-117768.1 High2018-08-22Apache Struts Remote Code ExecutionYes
7CVE-2017-98058.1 High2017-09-15Apache Struts Deserialization of Untrusted DataYes
8CVE-2016-30818.1 High2016-04-26Apache Struts Command InjectionYes
9CVE-2006-15477.5 High2006-03-30Apache Struts 1 ActionForm Denial-of-ServiceYes
10CVE-2026-1047119.8 Critical2026-10-05Remote code executionNo

Each Apache Struts CVE explained

1. CVE-2020-17530: Apache Struts Remote Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2021-11-03)
  • Published 2020-12-11
  • CWE-917
What NVD says
Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.0.0 to before 2.5.30
What to do
Upgrade to 2.5.30 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2020-17530 (opens in a new tab)

2. CVE-2017-9791: Apache Struts 1 Improper Input Validation

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-02-10)
  • Published 2017-07-10
  • CWE-20
What NVD says
The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.3.1; 2.3.1.1; 2.3.1.2; 2.3.3
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2017-9791 (opens in a new tab)

3. CVE-2017-5638: Apache Struts Remote Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2021-11-03)
  • Published 2017-03-11
  • CWE-755
What NVD says
The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.2.3 to before 2.3.32; 2.5.0 to before 2.5.10.1
What to do
Upgrade to the fixed release for your branch (2.3.32, 2.5.10.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-5638 (opens in a new tab)

4. CVE-2013-2251: Apache Struts Improper Input Validation

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-25)
  • Published 2013-07-20
  • CWE-74
What NVD says
Apache Struts 2.0.0 through 2.3.15 allows remote attackers to execute arbitrary OGNL expressions via a parameter with a crafted (1) action:, (2) redirect:, or (3) redirectAction: prefix.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.0.0 through 2.3.15
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2013-2251 (opens in a new tab)

5. CVE-2012-0391: Apache Struts 2 Improper Input Validation

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-01-21)
  • Published 2012-01-08
  • CWE-94
What NVD says
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.2.3.1
What to do
Upgrade to 2.2.3.1 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2012-0391 (opens in a new tab)

6. CVE-2018-11776: Apache Struts Remote Code Execution

  • CVSS 8.1 High
  • In CISA KEV (added 2021-11-03)
  • Published 2018-08-22
What NVD says
Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time,…
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.0.4 to before 2.3.35; 2.5.0 to before 2.5.17
What to do
Upgrade to the fixed release for your branch (2.3.35, 2.5.17) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2018-11776 (opens in a new tab)

7. CVE-2017-9805: Apache Struts Deserialization of Untrusted Data

  • CVSS 8.1 High
  • In CISA KEV (added 2021-11-03)
  • Published 2017-09-15
  • CWE-502
What NVD says
The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to Remote Code Execution when deserializing XML payloads.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.1.2 to before 2.3.34; 2.5.0 to before 2.5.13
What to do
Upgrade to the fixed release for your branch (2.3.34, 2.5.13) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-9805 (opens in a new tab)

8. CVE-2016-3081: Apache Struts Command Injection

  • CVSS 8.1 High
  • In CISA KEV (added 2026-10-08)
  • Published 2016-04-26
  • CWE-77
What NVD says
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.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.3.20 to before 2.3.20.3; 2.3.21 to before 2.3.24.3; 2.3.25 to before 2.3.28.1
What to do
Upgrade to the fixed release for your branch (2.3.20.3, 2.3.24.3, 2.3.28.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2016-3081 (opens in a new tab)

9. CVE-2006-1547: Apache Struts 1 ActionForm Denial-of-Service

  • CVSS 7.5 High
  • In CISA KEV (added 2022-01-21)
  • Published 2006-03-30
  • CWE-749
What NVD says
ActionForm in Apache Software Foundation (ASF) Struts before 1.2.9 with BeanUtils 1.7 allows remote attackers to cause a denial of service via a multipart/form-data encoded form with a parameter name that references the public getMultipartRequestHandler method, which provides further access to elements in the CommonsMultipartRequestHandler implementation and BeanUtils.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 1.2.9
What to do
Upgrade to 1.2.9 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2006-1547 (opens in a new tab)

10. CVE-2026-104711: Remote code execution

  • CVSS 9.8 Critical
  • Published 2026-10-05
  • CWE-917
What NVD says
Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application is configured to use the legacy RESTful action mapper, a crafted request can inject an OGNL expression that may lead to remote code execution. Struts 7 is affected only when the OGNL allowlist is disabled; it is enabled by default.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.0.0 through 2.3.37; 2.5.0 through 2.5.33; 6.0.0 to before 6.12.0; 7.0.0 to before 7.4.0
What to do
Upgrade to the fixed release for your branch (6.12.0, 7.4.0) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-104711 (opens in a new tab)

Apache Struts end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Apache Struts vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Apache Struts releases are 7, 6.

Apache Struts release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Apache Struts 7Dec 11, 2024Not announced7.4.0Supported
Apache Struts 6Jun 2, 2022Not announced6.12.0Supported
Apache Struts 2.5May 5, 2016Apr 30, 20242.5.33End of life
Apache Struts 2.3Dec 8, 2011May 14, 20192.3.37End of life
Apache Struts 2.2Jun 29, 2010Ended2.2.3.1End of life
Apache Struts 2.1Oct 29, 2007Ended2.1.8.1End of life
Apache Struts 2.0Sep 24, 2006Ended2.0.14End of life
Apache Struts 1.3Dec 14, 2005Apr 5, 20131.3.10End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

Apache Struts security checklist

  1. Update the core, themes, plugins and extensions as soon as security releases appear.
  2. Remove plugins, themes and modules you do not use.
  3. Give users the minimum role they need and enable two-factor authentication for administrators.
  4. Keep debug and development modes off in production.
  5. Back up files and database before every update.
  6. Put a web application firewall and rate limiting in front of login pages.

Your stack is bigger than Apache Struts. A flaw anywhere in the chain can be the way in, so also review our guides to Java vulnerabilities, Apache Tomcat vulnerabilities and Log4j vulnerabilities.

How to get alerted about new Apache Struts vulnerabilities

NVD received 12 new Apache Struts CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Apache Struts and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Apache Struts alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Apache Struts vulnerabilities

What are the most critical Apache Struts vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Apache Struts CVEs include CVE-2020-17530 (CVSS 9.8), CVE-2017-9791 (CVSS 9.8), CVE-2017-5638 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have Apache Struts vulnerabilities been exploited in real attacks?

Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 9 Apache Struts CVEs, including CVE-2020-17530, CVE-2017-9791, CVE-2017-5638. Treat these as the highest priority to patch.

How many vulnerabilities does Apache Struts have?

As of Nov 3, 2026 the National Vulnerability Database lists 99 CVEs for Apache Struts, with 17 rated critical by CVSS v3. 12 were published in the previous twelve months.

Which Apache Struts versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Apache Struts releases as supported: 7, 6. Releases that are not listed are past their announced end of life.

How can I get alerted when a new Apache Struts CVE is published?

Add Apache Struts to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Apache Struts and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Apache Struts secure?

Apache Struts is as secure as its patch level. NVD published 12 new Apache Struts CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2020-17530?

CVE-2020-17530 is a critical Apache Struts vulnerability with a CVSS score of 9.8, published Dec 11, 2020. Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.