Actively Exploited in the Wild

This vulnerability is being actively exploited in the wild.

Apache Struts 2 Remote Code Execution Vulnerability in ExceptionDelegator Component

Vulnerability

A remote code execution vulnerability has been identified in Apache Struts 2 versions prior to 2.2.3.1. The issue arises in the ExceptionDelegator component, where parameter values are incorrectly processed as OGNL expressions during exception handling related to data type mismatches. This flaw allows remote attackers to execute arbitrary Java code by crafting specific parameter values.

Impact

Exploitation of this vulnerability allows for remote execution of arbitrary Java code on the server.

Reproduction

To reproduce this vulnerability, upload a Java class with a property of type Integer or Long, along with the appropriate getter and setter methods. Then, use a Struts action configured to handle validation. Input a crafted value that triggers a conversion error, such as a string representation of a number, into a field expected to be an integer. This will cause the framework to evaluate the input as an OGNL expression, executing the injected Java code.

Remediation

Users are advised to upgrade to Apache Struts 2.3.18 or later, which addresses this vulnerability. Additionally, applications should not be run in developer mode during production.

Added: Mar 11, 2026, 7:03 PM
Updated: Mar 11, 2026, 7:03 PM

Vulnerability Rating

Custom Algorithm
spread
6.4
impact
7.5
exploitability
10.0
remediation
8.3
relevance
0.0
threat
9.8
urgency
2.9
incentive
8.3

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.