Skip to main content

Apache Struts 2: 9 New Flaws and End-of-Life Versions

  • Published
  • 10 min read
Cover image: Apache Struts 2: 9 New Flaws and End-of-Life Versions
Contents7

On 30 November 2026, the Apache Software Foundation published information on nine vulnerabilities (S2-080 to S2-088) in Apache Struts 2, which is widely used in web systems built with Java. Some of them may let an outsider run programs if certain conditions are met, and others may let an outsider into pages that were meant to be restricted by URL. In Japan, JVN also issued a warning on 1 December.

This article explains which of the nine affect your company, which version to update to, and what to do if you are still using Struts 2.3 or 2.5, for which no fixed version will be released.

Key points

  • The version to choose now is Struts 7.5.1, or 6.13.0 if you are on the 6 series. However, one of the nine, S2-088, has no fix in the 6 series and needs a workaround in the settings.
  • Seven of the nine apply to the 2.5 series and four to the 2.3 series, both out of support, but no fixed versions will be released.
  • In 6.13.0 and in 7.5.0 or later, requests returning from single sign-on or payment pages may fail with a 403 error. Testing before you update is important.
  • As of 4 December, we could not find any exploitation of the nine in official sources. On the other hand, a 10-year-old Struts 2 vulnerability was added in October 2026 to the US CISA's list of vulnerabilities with confirmed exploitation.

9

Vulnerabilities published on 30 November (S2-080 to S2-088)

7

Of these, the number that apply to the 2.5 series, which is out of support

8.8

CVSS 3.1 score of S2-081 (assessed by CISA, High)

Key terms

Apache Struts 2 = Free software that serves as the foundation for building web systems in Java (called a framework). It is used for bookings, applications, internal business systems and so on.

Numbers such as S2-081 = Serial numbers that the Struts development team gives to its security information. Each issue gets one, separately from its CVE ID.

OGNL = An expression language used inside Struts to connect pages and data. If text sent from outside is run as one of these expressions, an attacker may be able to control the server.

Plugin = A component that adds features to Struts. Some of these nine issues affect you only if you use a particular plugin.

The nine vulnerabilities and the systems they affect

Not all nine apply to every system. Start with the "Applies if" column and compare it with your own system. The severity ratings are those given by the Struts development team.

IDWhat could happenApplies ifSeverity
S2-086
CVE-2026-133642
An attacker gets around URL restrictions and enters restricted pagesYou restrict Struts URLs through server settings, a filter or a reverse proxyImportant
S2-081
CVE-2026-133637
An input value is run as an expression inside an error message, which may lead to code execution from outsideYou use the Bean Validation plugin (in the 7 series, only if you have disabled the OGNL allowlist)Moderate
S2-084
CVE-2026-133640
A small request forces a huge response and stops the server from workingYou receive input numbers as BigDecimal and display them on a pageModerate
S2-085
CVE-2026-133641
The same mechanism uses up CPU and memoryYou use BigDecimal values in the number tag or in messages such as error messagesModerate
S2-082
CVE-2026-133638
The token check that prevents forged operations (CSRF) stops workingYou use the Execute and Wait interceptor together with the token checkModerate
S2-080
CVE-2026-133636
The mechanism that rejects requests from other sites lets some requests throughYou are on the 6 or 7 series and rely on this mechanism aloneLow
S2-083
CVE-2026-133639
A malicious script is embedded in a page (XSS)You use the Javatemplates pluginLow
S2-087
CVE-2026-133643
A malicious script is embedded in a page (XSS)You use the doubleselect tag with the doubleMultiple attributeLow
S2-088
CVE-2026-133644
Restrictions such as accepting only POST do not workYou are on 6.2.0 or later and put @HttpPost or similar on methodsLow

The one the development team rates as most serious is S2-086. If you apply a restriction in front of Struts, such as allowing /admin only from inside the company, an attacker may be able to pass through it and run other processing. Systems that check permissions inside Struts are said not to be affected by this bypass.

S2-081 is rated "Moderate", but CISA scores it 8.8 (High) in CVSS 3.1. S2-084 and S2-085 are 7.5 (High) and can be attacked by someone who is not logged in. Do not put these off for systems that are open to the public.

* On the same day, S2-079 (CVE-2026-133649, Low), which affects only Struts 6.9.0, was also published. It is fixed in 6.10.0 and later.

Exploitation status (as of 4 December 2026)

These nine are not listed in the 3 December version of CISA's list of vulnerabilities with confirmed real-world exploitation (KEV). We also found no entries covering this issue in the lists of IPA "Important Security Information" and JPCERT/CC "Alerts". On 2 December, IPA added this information to its list page dedicated to Struts 2. However, for S2-080 and S2-088, explanations of the method or the problem are already public.

What deserves attention is that old vulnerabilities are still being targeted. On 8 October 2026, CISA added a Struts 2 vulnerability published in 2016 (S2-032, CVE-2016-3081) to KEV. It affects 2.3.20 to 2.3.28 (except 2.3.20.3 and 2.3.24.3), and if a particular setting (Dynamic Method Invocation) is enabled, programs can be run from outside. Being 10 years old does not make it safe to ignore.

Which version do you have? Fixed versions and support status

You can check the version in the system's WEB-INF/lib folder, from the name of the file struts2-core-(version).jar, or from settings such as pom.xml. If you are not sure, the reliable way is to ask the company that maintains the system for the Struts version number.

SeriesNumber that applyActionRequirements and notes
Struts 7 series
(7.4.0 and earlier)
9
(S2-081 only under certain conditions)
Update to 7.5.1. The nine are fixed in 7.5.0, and 7.5.1 restores the earlier handling of spaces in input valuesJava 17 or later, Jakarta Servlet 6 or later
Struts 6 series
(6.12.0 and earlier)
9Update to 6.13.0. S2-088 is not fixed, so work around it by putting the restriction on the class insteadJava 8 or later, Servlet 3.1 or later
Struts 2.5 series7
(S2-081 to S2-087)
No fixed version Migrate to 6.13.0 or 7.5.1End of support (end date given as 30 October 2023)
Struts 2.3 series4
(S2-082, 083, 086, 087)
No fixed version Migrate to 6.13.0 or 7.5.1End of support (end date given as 12 September 2019)
Struts 1 seriesNot covered by this informationEnd of support Consider rebuilding on a different frameworkEnded on 5 April 2013. No fixes will be released even if problems are found

* The numbers count issues that apply to at least one version in the series. Please check the exact version numbers in each of the references. "Not covered" does not mean safe. For versions that are out of support, new problems may not have been investigated.

Before you update: will payment or login pages stop working?

This update may take more than simply swapping files. The official notes for 6.13.0 describe changes in behavior. Test the following three in particular beforehand.

  1. Pages that users return to from other sites

    Requests that return by POST from single sign-on using SAML or OIDC, or from a payment company's page, may be rejected with a 403 error. Register the relevant processing in exemptedPaths using the path inside the application, such as /saml/acs.action. Also review any existing entries to make sure they are written correctly.

  2. REST plugin URLs

    URLs ending in ;edit can no longer be used. Change them to /edit.

  3. Input check messages

    Error messages from the Bean Validation plugin are now displayed as plain text, exactly as written. Check that your own custom messages appear correctly.

Moving to the 7 series is a bigger job. You need Java 17 and a server that supports Jakarta Servlet 6, and names such as com.opensymphony.xwork2 have also changed. Check your Tomcat version as well. Tomcat updates are summarized in "Tomcat vulnerabilities (November 2026)".

Workarounds if you cannot update right away

These are stopgaps until the update, taken from the official information. For S2-086, there is said to be no way to prevent it through settings alone.

IDWorkaround
S2-081For error messages that include input values, assign your own message key and put the text in the application's message file
S2-082Place the token check before Execute and Wait. Submit to that processing only from pages that have a token
S2-084
S2-085
Add processing that rejects values with too many digits when converting to BigDecimal. Limiting them only at display time does not prevent the problem
S2-086There is no workaround through settings alone. Check whether permissions are also checked inside Struts, and update as soon as you can
S2-087Remove the doubleMultiple attribute itself from the doubleselect tag (setting it to false is not enough)
S2-088Put restrictions such as @HttpPost on the class, not on the method

How to proceed if you are still using the 2.3 or 2.5 series

Perhaps you cannot reach the company that built the system, or cannot get the budget to rebuild it right away. For systems where an old Struts remains for reasons like these, the following order is realistic.

  1. Narrow who can reach it

    If a system does not need to be opened from the internet, allow access only from inside the company or over a VPN. If it must be public, turn off pages and features you do not use.

  2. Secure the source code and the way to run it

    Check that you have the source code, the build steps and the server connection details. Without all of these, you can neither update nor migrate.

  3. Decide where to migrate

    The Struts development team explains that moving from the 2.5 series to the 6 series is smoother than moving to the 7 series. Because it can keep running on Java 8, one approach is to go to 6.13.0 first and consider the 7 series or a different framework afterwards.

  4. Check for signs of intrusion

    If the system has not been updated for a long time, check before updating for files you do not recognize, unknown administrators and suspicious outbound traffic.

We explain how to think about out-of-support systems in general in "Dealing with vulnerabilities in legacy systems", and updates to Java itself in "Responding to Java vulnerabilities".

Leave it to Digi Dinos

Digi Dinos is a company that supports DX, security, and system operation and maintenance. We are ISO 27001 certified, and we also maintain systems built in Java and take over systems built by other companies.

  • Current state review: We identify your Struts version, the plugins you use, and which of the nine issues affect you.
  • Update and migration support: We include testing of pages that cannot go down, such as payment and single sign-on.
  • System takeover: We can also take over maintenance of Struts systems whose contract with the company that built them has ended.

Not sure which Struts version you have? Just ask (free consultation)

We can guide you in Japanese or English, from checking the version to planning the update or migration.

FAQ

We have just updated to 6.12.0. Do we need to update again?

Yes. S2-084 fixes what was missed by the earlier fix (S2-076) in 6.12.0 and 7.4.0. S2-086 and others also apply to 6.12.0, so we recommend updating to 6.13.0.

Should we choose 7.5.0 or 7.5.1?

7.5.1. In 7.5.0, spaces before and after input text were being removed. 7.5.1 restores the earlier behavior, and the development team also recommends updating to it.

Do systems used only inside the company need updating too?

The risk is lower than for systems open to the internet, but if even one internal device is taken over, the system may be targeted from there. Update your public systems first, then your internal ones.

Can we apply just the fixes to a version that is out of support?

Apache will not release any. The official site also introduces outside companies that provide paid fixes for out-of-support versions, but it states that this is not an endorsement by Apache. Even if you use them, treat them as a stopgap until you migrate.

Related articles