Live threats

All CVEs / Apache

CVE-2012-0391Apache Struts 2

Remote Code Execution in Apache Struts 2 via OGNL Injection

Critical 9.8 KEV No auth neededHigh EPSS

Priority
81
CVSS 3.1
9.8
EPSS
76.5%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Jan 21, 2022
CISA deadline
Jul 21, 2022
Ransomware use
Unknown
Published
Jan 8, 2012
Updated
Jun 16, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 interprets parameter values as OGNL expressions during exception handling for mismatched data types. A remote unauthenticated attacker can execute arbitrary Java code via crafted parameters. CISA confirmed this vulnerability as actively exploited.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 contains an improper input validation vulnerability that allows for remote code execution.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 2.2.3.1

Update Apache Struts 2 to version 2.2.3.1 or later. Refer to the vendor advisory for detailed upgrade instructions.

Vendor advisory · struts.apache.org ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for Struts 2.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was July 21, 2022.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.struts.xwork:xwork-core < 2.2.3.1 2.2.3.1 —
Maven org.apache.struts:struts2-core < 2.2.3.1 2.2.3.1 —

Per OSV / GitHub Advisories (GHSA-4wrr-9h5r-m92w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts< 2.2.3.1

Official sources

References

Links published by the sources. Open them with care.