Struts decides which action a request invokes by looking at its path, and the Apache CNA record says it took that path “from the request as it was received rather than from the path the servlet container had already decoded and normalised. The two can differ, so a request can be authorized by the container, by a filter or by a reverse proxy under one path and executed by Struts as a different action.” Anything that restricts access to actions by URL pattern in front of Struts, a security-constraint in web.xml, a filter, a proxy rule, can be walked around, and a path matching struts.action.excludePattern could still be handled. This is the Important bulletin of the ten bulletins S2-079 to S2-088 that Apache announced together on 30 November 2026, all fixed by Struts 7.5.0 and 6.13.0 (GA 20 November 2026; 7.5.1 of 26 November is the current 7.x release) except S2-079, fixed in 6.10.0 in May, and S2-088, fixed in 7.5.0 only. Upgrade to Struts 7.5.0 or later, or 6.13.0 or later on the 6.x line; the bulletin says there is no configuration-only mitigation, and until the upgrade is in, authorisation that lives inside Struts, on the action, is the only kind this bug respects.
CVE-2026-133642 at a glance.
| Component | Apache Struts, struts2-core: the action mapper that turns a request path into an action name and namespace (DefaultActionMapper and the mappers derived from it, including the REST plugin’s), plus the struts.action.excludePattern check in the filter |
| Affected versions | Struts 2.1.2 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.12.0 and 7.0.0 through 7.4.0, per the Apache CNA record and the bulletin; 2.3 and 2.5 are end of life and get no fix. Struts 2.0.x is before the range |
| Fixed in | Struts 7.5.0 and 6.13.0, GA 20 November 2026 and announced as security releases on 30 November; 7.5.1 of 26 November is current on 7.x. The change is WW-5842, “fix(core)!: map actions from the servlet path and path info the container reports”, pull request #2118 on main and #2119 on the 6.x branch (release notes; neither the bulletin nor the notes name the CVE, the pairing is by subject). No distribution packages Struts 2 |
| Severity | Apache: Important (“Maximum security rating” on the bulletin), CWE-436 interpretation conflict. No CVSS score from any source: NVD is in Received state with an empty metrics block on 2 December 2026, the CNA gives none and the CISA ADP has not added one; no distribution rates it |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00382 (34th percentile) on 1 December 2026 |
| Who is exposed | Struts applications on an affected line whose access control is applied by path before Struts sees the request: a security-constraint with url-patterns, a servlet filter keyed on the URL, Spring Security’s requestMatchers in front of a Struts filter, an nginx or Apache location block, or excludePattern itself. The bulletin: applications “that enforce authorization inside Struts, for example with an interceptor on the action, apply it to the action that actually runs and are not affected by the bypass”, though it tells them to upgrade too |
| Published | Apache bulletin S2-086 last updated 20 November 2026; announcement and CVE record 30 November 2026; this page built 2 December 2026, last updated 2 December 2026 |
What it is
A servlet container decodes and normalises a request URI before it dispatches it: percent-encoding is resolved, . and .. segments are collapsed, path parameters are stripped, and the result is what the container’s own security-constraint matching uses and what it reports to the application as servlet path and path info. Struts did not use that result. Its action mapper worked from the request as received, so an attacker who could write the same action two ways, one that the front-door rule did not match and one that Struts resolved to the protected action, got the protected action. The bulletin names the three places such a rule usually lives: the container’s security constraints, a URL-pattern filter, and a reverse proxy; and it adds that struts.action.excludePattern, the setting that tells the Struts filter to leave certain paths to other servlets, was evaluated on the same raw path, so “a request could be handled by Struts although its path matched” the exclusion.
The bulletin credits four reporters, Svyatoslav Berestovsky, Gouri Sankar A (g0w6y), Yu Deshui and @qiushui_sky, which suggests the discrepancy was found more than once. It rates the issue Important and says plainly: “There is no configuration-only mitigation for this issue.” The exception it carves out is structural rather than configurable. An application that authorises inside Struts, with an interceptor on the action or a check in the action itself, applies its check to whatever action actually runs, so it does not care which path got the request there; only path-keyed checks in front of Struts are bypassed.
The fix in 7.5.0 and 6.13.0 (WW-5842, pull request #2118 on main, #2119 on 6.x) maps actions “from the servlet path and path info the container reports”, which the release notes mark as a breaking change with an exclamation mark, and the bulletin lists what changes: the REST plugin no longer recognises the ;edit URL form (use /edit), and struts.mapper.editMethodName no longer affects URL mapping, though it still selects the result shown when an update fails validation. Those are the two things to test after upgrading an application that uses the REST plugin.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. Struts 2 is a Maven dependency and no distribution packages it, so the row that matters is the last one.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page; Alpine does not package Struts | — |
| Debian | NOT-FOR-US: “Apache software not packaged in Debian” (the tracker page for S2-086 was read; the set shares the entry) | — |
| Ubuntu | Tracker returned a server error to the automated reader on 2 December 2026; Ubuntu does not package Struts 2 | — |
| RHEL, Rocky, Alma, CentOS Stream | Not consulted for this page; Red Hat does not ship Struts 2 in RHEL | — |
| openSUSE/SLE | Not consulted for this page; SUSE does not ship Struts 2 | — |
Maven Central (org.apache.struts), application bundles, containers with a vendored war | The upstream release applies; every application on an affected line needs a rebuild and redeploy. Release tags STRUTS_7_5_0 and STRUTS_6_13_0 were cut on 8 November 2026 (GitHub shows 7.5.0 as a pre-release); GA is the 20 November date on the announcement page | 7.5.0 (7.x line; 7.5.1 is current) or 6.13.0 (6.x line) |
How to check
After the version, the question is where authorisation lives. If every protected action is guarded by an interceptor or a check in the action class, the bypass has nothing to bypass; if any of it is a URL pattern in web.xml, a filter, a Spring Security matcher or a proxy rule, that rule is porous on an affected release.
# 1. the Struts jars an application actually loads (6.13.0 / 7.5.0 and later are fixed; 2.3.x and 2.5.x are end of life)
for p in $(pgrep -x java); do tr '\0' '\n' < /proc/$p/cmdline | grep -oE '[^:]*struts2?-[a-z-]+-[0-9][^:]*\.jar' | sed "s/^/pid $p: /"; done
find / -name 'struts2-core-*.jar' 2>/dev/null | grep -vE '/\.m2/' | sort -u
for w in /opt/*/*.war /opt/*/webapps/*.war /var/lib/tomcat*/webapps/*.war; do unzip -l "$w" 2>/dev/null | grep -oE 'struts2-[a-z-]+-[0-9][^ ]*\.jar' | sed "s|^|$w: |"; done 2>/dev/null
# 2. path-keyed access control in front of Struts: web.xml constraints, exclude patterns, proxy rules
grep -nE '<security-constraint>|<url-pattern>' /path/to/webapp/WEB-INF/web.xml
grep -rnE 'struts\.action\.excludePattern|struts\.mapper\.editMethodName' --include='struts*.xml' --include='*.properties' /path/to/src
grep -rnE 'requestMatchers\(|antMatchers\(|mvcMatchers\(' --include='*.java' /path/to/src | head
grep -nE '^\s*location\b|<Location' /etc/nginx/sites-enabled/* /etc/nginx/conf.d/* /etc/httpd/conf.d/* /etc/apache2/sites-enabled/* 2>/dev/null | grep -iE 'admin|secure|internal' | head
# 3. authorisation inside Struts, which the bulletin says is not bypassed
grep -rnE '<interceptor-ref name="(roles|auth|login|security)' --include='struts*.xml' /path/to/src | head
grep -rnE '@InterceptorRef\(|implements (Interceptor|SessionAware)' --include='*.java' /path/to/src | headA 7.5.0, 7.5.1 or 6.13.0 jar is fixed. On an affected one, each hit in step 2 is a rule that an attacker can get past by writing the path differently, and each protected action behind such a rule that has nothing in step 3 guarding it is exposed; an application with an empty step 2 and a roles or custom authorisation interceptor on its protected packages is in the bulletin’s not-affected case. If the REST plugin is in use, note editMethodName and any ;edit links for the post-upgrade test.
How to fix it
Upgrade the dependency, rebuild, redeploy. There is no 2.x fix: 2.3 and 2.5 are end of life and an application still on them has to move to 6.13.0 or 7.5.1. The bulletin offers no configuration-only mitigation, so the interim is to move authorisation inside Struts for the actions that matter.
# Maven: 7.x line (7.5.1 is current) or 6.x line
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>7.5.1</version> <!-- or 6.13.0 on the 6.x line -->
</dependency>
mvn -U clean package && mvn dependency:tree | grep struts2# Gradle
implementation 'org.apache.struts:struts2-core:7.5.1' // or 6.13.0
./gradlew --refresh-dependencies build# Interim for a protected package: put the check on the action, not the path (struts.xml)
<package name="admin" namespace="/admin" extends="struts-default">
<interceptors>
<interceptor-stack name="adminStack">
<interceptor-ref name="roles"><param name="allowedRoles">admin</param></interceptor-ref>
<interceptor-ref name="defaultStack"/>
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="adminStack"/>
...
</package>The roles interceptor shown is the stock one and relies on the container’s isUserInRole(); a custom interceptor that checks the session works the same way. Either runs against the action that actually executes, which is the property the bulletin relies on. What not to do: do not try to close this by adding more patterns to the front-door rule, by normalising the path in the proxy, or by tightening excludePattern. The mismatch is between the container’s path and the one Struts computes, and no amount of care on the container’s side changes what Struts computes; the four reporters found four ways in, and the bulletin’s answer is the upgrade.
Sources
- CVE-2026-133642 at CVE.org — the Apache CNA record (30 November 2026): the description, the affected ranges, the fix versions and the CWE; no CVSS metric from the CNA or the CISA ADP on 2 December 2026
- Apache Struts bulletin S2-086 — Important, the raw-path mapping, the
excludePatternconsequence, the interceptor exception, “no configuration-only mitigation”, the REST plugin;editandeditMethodNamecompatibility notes, the four reporters; created by Lukasz Lenart, last updated 20 November 2026 - Struts announcements — 7.5.0 and 6.13.0 GA on 20 November 2026, 7.5.1 on 26 November, 6.10.0 GA on 25 May 2026, and the ten security announcements of 30 November 2026 including this one; downloads
- Struts 7.5.0 release notes and 6.13.0 release notes — WW-5842 “fix(core)!: map actions from the servlet path and path info the container reports”, #2118 (main) and #2119 (6.x); tags cut 8 November 2026
- NVD entry — Received, published 30 November 2026 (read on 2 December 2026); the CWE from Apache, no CVSS metric in the JSON
- Distribution trackers: Debian (NOT-FOR-US, read for the set); Ubuntu returned a server error to the automated reader on 2 December 2026; Red Hat and SUSE not consulted, neither ships Struts 2
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00382 (percentile 0.344) on 1 December 2026
Related reading
- CVE-2026-133638: Apache Struts Execute and Wait Interceptor lets the Token Interceptor accept a token the application never issued — S2-082, Moderate, the same set
- CVE-2026-133644: Apache Struts ignores an HTTP method restriction on an action’s default method — S2-088, fixed in 7.5.0 only, the same set
- CVE-2026-133636: Apache Struts Fetch Metadata Interceptor accepts cross-site requests its policy rejects — S2-080, the same set
- CVE-2026-133649: Apache Struts 6.9.0 ignores an HTTP method restriction on an action class — S2-079, 6.9.0 only, the same set
- CVE-2016-3081: Apache Struts dynamic method invocation — the older lesson in letting the request choose what runs
- Hardening a service — why a path rule at the proxy is defence in depth and not the authorisation layer
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

