Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Struts app using Bean Validation plugin
-
DeliverySubmit crafted OGNL payload in validated field
-
ExploitValidation message embeds and evaluates expression
-
ExecutionOGNL expression executes server-side
-
ImpactRemote code execution in application context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Expression language sanitization
|
| Exploitation Conditions | Exploitation requires that the target application (1) uses the Apache Struts Bean Validation plugin, and (2) uses validation constraints whose standard/default message text already includes the value being validated, so that the attacker-supplied value is placed into the message and then evaluated as an OGNL expression. Applications that do not use the Bean Validation plugin are not affected. For Struts 7 (7.0.0-7.4.0), exploitation additionally requires the OGNL allowlist to be disabled - it is ENABLED BY DEFAULT, so default Struts 7 deployments are not exploitable; Struts 2.5.0-2.5.33 and 6.0.0-6.12.0 are affected in default configurations. The PR:L metric indicates the attacker must be able to reach and submit to the vulnerable validated form, which in authenticated applications limits exposure; the specific OGNL/trigger mechanics beyond the message-evaluation path are not further detailed in the available sources. |
| Impact | This is a credible, upgrade-worthy issue but not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity flaw that yields full remote code execution - the worst-case outcome for a web framework. However, the real-world footprint is gated by configuration: the application must use the Bean Validation plugin AND use validation constraints whose standard message embeds the submitted value, so this is NOT a blanket 'all Struts installs' bug. Critically, Struts 7 is affected only when the OGNL allowlist is disabled, and that allowlist is ENABLED BY DEFAULT - meaning default Struts 7 deployments are not affected, while Struts 2.5.x and 6.x are affected in default configurations. The vuln.today Decision label is 'this_week' (not act_now/emergency). There is no CISA KEV listing and no EPSS score supplied, and no public exploit reference appears in the input, so exploitation is not confirmed as active or widespread. The PR:L in the Apache-supplied vector implies some privilege/authentication to reach the vulnerable form, though public (unauthenticated) validated forms could lower that bar in specific apps - verify against your own application's exposure. Net: prioritize patching for affected 2.5.x/6.x branches this week given RCE potential, but treat default Struts 7 as lower urgency. |
| Exploit ScenarioDerived | An attacker submits a crafted value into a form field that is checked by the Bean Validation plugin using a constraint whose default message echoes the submitted value; because that message text is evaluated as an OGNL expression rather than rendered as literal text, the attacker's expression executes on the server, achieving remote code execution. The CVSS AV:N/AC:L vector indicates this is network-reachable with low attack complexity, though PR:L suggests the attacker needs enough access to reach the validated form. No public exploit code is identified in the provided sources at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 30, 2026
Expression Language injection in Apache Struts (2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0) can cause a Bean Validation message that embeds the submitted value to be evaluated as an OGNL expression instead of displayed as text, potentially leading to remote code execution by an authenticated remote attacker. Struts 7 is exposed only when the OGNL allowlist is disabled (it is enabled by default), while the 2.5.x and 6.x ranges are affected in default configurations; applications that do not use the Bean Validation plugin are not affected. No public exploit identified at time of analysis; vendors have released fixes in 6.13.0 and 7.5.0, and this is assessed as a credible, upgrade-worthy issue rather than an emergency.
Earlier versions of this analysis (1)
Expression language injection in Apache Struts (2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0) can escalate to remote code execution when an application uses the Bean Validation plugin and a validation constraint's standard/default message text already embeds the value being validated, causing that submitted value to be evaluated as an expression instead of displayed as text. Exposure is sharply conditional: applications that do not use the Bean Validation plugin are unaffected, and Struts 7.x is exploitable only if the OGNL allowlist has been manually disabled, since it ships enabled by default, so default Struts 7 deployments are not exploitable. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (high attack complexity, network reachable), and no KEV entry, public exploit code, EPSS score, or SSVC data was supplied with this report, so quantitative exploitation-probability signals are missing; the vuln.today decision label is this_month rather than act_now.
RemediationAI
Upgrade to Apache Struts 6.13.0 or 7.5.0, the versions the vendor states fix this issue (advisory S2-081: https://cwiki.apache.org/confluence/display/WW/S2-081). No fixed 2.5.x release is listed, so 2.5.0 through 2.5.33 users should migrate to 6.13.0 or 7.5.0 rather than wait for a branch update. Where an immediate upgrade is not possible, keep the OGNL allowlist enabled on Struts 7 deployments - it is the default and disabling it is what makes 7.0.0 through 7.4.0 exploitable - and review Bean Validation constraints for standard or default message templates that embed the validated value, since those are the path through which the submitted value reaches expression evaluation. Applications that do not rely on Bean Validation can remove the plugin, which eliminates the exposure at the cost of losing bean-validation functionality; applications that do not use the plugin are already unaffected and need no action beyond tracking the upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-917, Expression Language Injection, in Apache Struts' Bean Validation integration. When validation constraints are declared with a standard/default message that already incorporates the value being validated, an attacker-controlled submission can end up inside the message text that Struts' expression machinery processes, so the value is interpreted as an OGNL expression rather than rendered literally. OGNL evaluation in Struts is the classic route to arbitrary code execution, which is why the confidentiality, integrity, and availability impacts are all high. The exposure is tightly scoped: the application must use the Bean Validation plugin and must use constraints whose default message includes the validated value. Deployment mode matters - on Struts 7.0.0 through 7.4.0 the OGNL allowlist gates exploitation and is enabled by default, so stock Struts 7 deployments are not exploitable, whereas Struts 2.5.0 through 2.5.33 and 6.0.0 through 6.12.0 are affected in default configurations. The CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates network reachability, low attack complexity, and that the attacker must be positioned to submit to the vulnerable validated form, which in authenticated applications limits exposure. The specific OGNL and trigger mechanics beyond the message-evaluation path are not detailed in the available sources.
Know when Apache Struts gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable validated form (AV:N, AC:L), requires access to submit to the Bean Validation form (PR:L), no user interaction, and OGNL execution yields full RCE giving high C/I/A.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
3DescriptionCVE.org
Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application uses the Bean Validation plugin, a validation message that places the submitted value into its text could be evaluated as an expression rather than shown as text, which may lead to remote code execution. This can happen with validation constraints whose standard message already includes the value being validated. Struts 7 is affected only when the OGNL allowlist is disabled; it is enabled by default. Applications that do not use the Bean Validation plugin are not affected.
This issue affects Apache Struts: 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.
Executive ViewAI
A high-severity Expression Language injection vulnerability in Apache Struts (CVE-2026-133637) enables authenticated remote attackers to execute arbitrary code, potentially leading to full system compromise. Organizations using affected Struts versions in their web applications must act promptly, as this flaw impacts default configurations in widely deployed 2.5.x and 6.x branches. Leadership should prioritize remediation to prevent unauthorized access to critical business systems and protect sensitive data.
Apply vendor patch. Until patched, restrict access to trusted networks or users, and ensure the OGNL allowlist is enabled for Struts 7.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Apache Struts
View allReflected cross-site scripting in Apache Struts lets a remote, unauthenticated attacker execute script in a victim's bro
Cross-site scripting in Apache Struts UI tags affects applications that render pages through the non-default Javatemplat
HTTP method restrictions declared with annotations such as @HttpPost can be silently bypassed in Apache Struts 6.2.0 thr
URL-pattern access control bypass in Apache Struts allows unauthenticated remote requests to reach actions that front-en
Apache Struts 2.5.12 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0 can be driven into CPU and memory exh
Denial of service in Apache Struts 2.5.12 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0, where an unauth
Cross-site request forgery protection can be bypassed in Apache Struts when an application combines the Execute and Wait
EUVD-2026-138187
GHSA-2www-j5fx-7287
NVD
CVE.org
EPSS
VulDB
Exploit-DB