Under active attack

Apache Struts 2: CVE-2012-0391

Apache Struts 2 Improper Input Validation Vulnerability. CISA added it to its list of flaws being exploited in the wild on 21 Jan 2022.

CVE
CVE-2012-0391
Vendor
Apache
Product
Struts 2
Added to CISA's exploited list
21 Jan 2022
US federal patch deadline
21 Jul 2022
Used in ransomware campaigns
Not known
Exploit likelihood, next 30 days
77% (higher than 99% of scored flaws)

What CISA says

The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 contains an improper input validation vulnerability that allows for remote code execution.CISA, Known Exploited Vulnerabilities catalog

In plain English: Input not checked properly

The software trusts input it should have checked. An attacker sends data in a shape the developers never expected, and the program does something it was never meant to.

What to do

Apply updates per vendor instructions.

If you run Apache Struts 2, treat this as urgent: attackers are already using it. If you're not sure whether you run it anywhere, start there.

References

Quick answers

Is CVE-2012-0391 being exploited?

Yes. CISA added CVE-2012-0391 (Apache Struts 2) to its Known Exploited Vulnerabilities catalog on 21 Jan 2022, which means there is reliable evidence attackers are using it.

Is CVE-2012-0391 used in ransomware?

CISA does not currently mark CVE-2012-0391 as used in ransomware campaigns. That can change, and it is still being exploited.

When does CVE-2012-0391 have to be fixed?

US federal agencies had to fix it by 21 Jul 2022 under CISA's Binding Operational Directive 22-01. Everyone else should treat that date as a guide: the flaw is already being used.

How likely is CVE-2012-0391 to be exploited?

FIRST's EPSS model puts the chance of exploitation in the next 30 days at 77%, higher than 99% of all scored vulnerabilities (scored 2026-12-04).

How do I fix CVE-2012-0391?

Apply updates per vendor instructions. If you're not sure whether you run Apache Struts 2 anywhere, find out first: an up-to-date inventory is the first step.

Know what's exposed before attackers do

Flaws like this are found by testing, not by waiting. Read the difference between a vulnerability scan and a pen test, what a pen test costs, or see AvalonX plans.

Other Apache flaws under attack

Under active attack
Apache Roller

Apache Roller Deserialization of Untrusted Data Vulnerability

CVE-2026-129448US federal patch deadline 23 Nov 2026
Exploit likelihood, next 30 days 52%
Under active attack
Apache Axis

Apache Axis Unsafe Reflection Vulnerability

CVE-2026-90436US federal patch deadline 21 Nov 2026
Exploit likelihood, next 30 days 67%