Apache Struts2 Core Arbitrary Code Execution via OGNL Sandbox Escape

Posted by Daniel Owens via Fulldisclosure on Nov 01

Description
Apache Struts2 Core version 7.4.0 and below attempt to prevent arbitrary code execution via Object-Graph Navigation
Language (OGNL) through several different mechanisms but only in a cursory fashion — the libraries only guard against
immediate calls evaluated by the OGNL engine via `SecurityMemberAccess`, but an allowed call that, instead, accepts
nested arguments and, itself, invokes reflection internally executes outside of the…

Source: Full Disclosure (seclists.org) · 2026-11-02