Actively exploited vulnerability / CVE-2012-0391
Apache Struts 2: a flaw lets attackers take control of the server
A vulnerability in Apache Struts 2 lets a remote attacker run their own commands on the server hosting the web application. This can lead to data theft, tampering with the application, or using the server as a foothold for further attacks on the company network. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2012-0391 · EUVD-2022-2464
- On the CISA list (US)
- yes, since 21 January 2022
- Deadline given to US federal agencies
- 21 July 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 76.5% (FIRST's estimate for the next 30 days)
Does it concern you?
Apache Struts 2 is a building block for Java web applications such as portals, internal tools and online shops. If your company runs custom web applications written in Java, they may use it without you knowing.
All versions of Apache Struts 2 before 2.2.3.1 are affected. Ask your IT team or the company that built your applications which Struts version they use.
Affected products and versions
- Apache Struts 2
What to do
Update Apache Struts 2 to version 2.2.3.1 or later, following the vendor's instructions. Moving to the latest available version is best.
The official description
The text below is the description from the public database.
The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 contains an improper input validation vulnerability that allows for remote code execution.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.