home / blog

2026-11-27 · high

CVE-2018-11776: RCE Vulnerability in Apache Struts

RCE vulnerability in Apache Struts when alwaysSelectFullNamespace is true

CVE-2018-11776: RCE Vulnerability in Apache Struts

CVE-2018-11776 is a Remote Code Execution (RCE) vulnerability in Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16. The vulnerability occurs when alwaysSelectFullNamespace is set to true (either by user or a plugin like Convention Plugin) and results are used with no namespace while its upper package has no or wildcard namespace.

The severity of this vulnerability is classified as high (CVSS 8.1). According to unverified signals on GitHub, there are repositories that claim to contain differential exploits demonstrating OGNL expression execution on vulnerable versions and refusal on fixed versions. The vulnerability was officially published on August 22, 2018.

In defense, administrators should update Apache Struts to the patched version. It's also possible to apply mitigations such as disabling alwaysSelectFullNamespace when not strictly necessary and verifying if the application uses configurations that leverage this functionality.

At a glance

What
Remote Code Execution (RCE) vulnerability in Apache Struts when alwaysSelectFullNamespace is true
Severity
High (CVSS 8.1)
Affected versions
Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16
Fix
Not specified in the data
Status
Published on August 22, 2018
Action
Update to patched version, which according to available data is 2.3.35/2.5.17

Sources: NVD, CVE-2018-11776

← All articles