Critical RCE in Apache Struts via OGNL Injection
CVE-2026-21847 · Affected: Apache Struts 2.x < 2.5.34
A critical remote code execution vulnerability was identified in Apache Struts allowing unauthenticated attackers to execute arbitrary commands via crafted OGNL expressions in HTTP request parameters. The mindthehack research team discovered this vulnerability during a routine engagement and coordinated disclosure with the Apache Foundation.
Impact
Full system compromise. An attacker can execute arbitrary OS commands with the privileges of the application server. No authentication required.
Remediation
Upgrade to Apache Struts 2.5.34 or later. If immediate patching is not possible, deploy WAF rules to block OGNL expression patterns in request parameters.