Skip to main content
EPSS 0.4%top 72%

Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. (CVE-2026-104711)

0
Critical
Published: 10/05/2026 (10/05/2026, 21:31:34 UTC)
Source: GCVE Database

Description

CVE-2026-104711 is a critical Expression Language Injection vulnerability in Apache Struts affecting versions from 2.0.0 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.11.0, and 7.0.0 through 7.3.0. It occurs when the legacy RESTful action mapper is used and allows injection of OGNL expressions that may lead to remote code execution. Struts 7 is only affected if the OGNL allowlist is disabled, which is not the default. Applications using the default action mapper, restful2 mapper, or Struts REST plugin are not vulnerable. Fixed versions are 6.12.0 and 7.4.0.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

org.apache.struts/struts2-core
pkg:maven/org.apache.struts/struts2-core
Affected versions
>=2.0.0 <2.3.38>=2.5.0 <2.5.34>=6.0.0 <6.12.0>=7.0.0 <7.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 16:48:38 UTC

Technical Analysis

This vulnerability in Apache Struts involves improper neutralization of special elements in expression language statements, specifically OGNL expressions, when the legacy RESTful action mapper is configured. An attacker can craft a request to inject malicious OGNL expressions, potentially leading to remote code execution. The issue affects multiple version ranges: 2.0.0 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.11.0, and 7.0.0 through 7.3.0. Struts 7 versions are only vulnerable if the OGNL allowlist is disabled, which is off by default. Other action mappers such as the default, restful2, or the Struts REST plugin are not affected. The vulnerability is addressed in versions 6.12.0 and 7.4.0.

Potential Impact

Successful exploitation can lead to remote code execution without requiring user interaction or privileges, resulting in full compromise of affected systems. The vulnerability has a CVSS 3.1 score of 9.8 (critical), indicating high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Users should upgrade affected Apache Struts versions to 6.12.0 or 7.4.0, where this vulnerability is fixed. For Struts 7 users, ensure the OGNL allowlist is enabled (the default setting) to mitigate risk. Applications using the default action mapper, restful2 mapper, or Struts REST plugin are not affected and require no action related to this vulnerability. Patch status is confirmed fixed in the specified versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-wfm5-pq4p-gff9
Osv Schema Version
1.4.0
Aliases
["CVE-2026-104711"]
Database Specific Severity
CRITICAL
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac523742cdf04f656c4bf3d

Added to database: 10/06/2026, 16:36:04 UTC

Last enriched: 10/06/2026, 16:48:38 UTC

Last updated: 10/07/2026, 03:48:07 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses