CVE-2026-133642
Apache Struts: Action mapped from a path that differs from the one the servlet container authorized
Check your servers for CVE-2026-133642
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-133642 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Interpretation conflict vulnerability in Apache Struts. When deciding which action a request invokes, Struts derived the 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. Where access to actions is restricted by URL pattern in front of Struts, such as a security-constraint, a URL-pattern filter or a proxy rule, that restriction can be bypassed. For the same reason, a request could be handled by Struts although its path matched struts.action.excludePattern. 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.
This issue affects Apache Struts: from 2.1.2 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.12.0, from 7.0.0 through 7.4.0.
Users are recommended to upgrade to version 6.13.0 or 7.5.0, which fixes the issue.
Exploitation
EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 34.3% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-436 Interpretation Conflict
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Apache Struts
package
org.apache.struts:struts2-core |
affected from 2.1.2 up to and including 2.3.37 affected from 2.5.0 up to and including 2.5.33 affected from 6.0.0 up to and including 6.12.0 affected from 7.0.0 up to and including 7.4.0
Other versions: unaffected
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-133642 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-133642RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-133642Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-133642
trivy image --scanners vuln IMAGE | grep CVE-2026-133642
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://cwiki.apache.org/confluence/display/WW/S2-086 cwiki.apache.org · vendor advisory
Other references
Source: the record CVE-2026-133642 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse