cve.bz

CVE-2026-104711 apache struts: Expression Language Injection

9.8 criticalEPSS 1.7%

Critical (9.8) in apache struts. EPSS 1.7% estimated probability of exploitation activity in the next 30 days.

On this page
Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application is configured to use the legacy RESTful action mapper, a crafted request can inject an OGNL expression that may lead to remote code execution. Struts 7 is affected only when the OGNL allowlist is disabled; it is enabled by default. Applications using the default action mapper, the restful2 mapper, or the Struts REST plugin are not affected. This issue affects Apache Struts: from 2.0.0 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.11.0, from 7.0.0 through 7.3.0. Users are recommended to upgrade to version 6.12.0 or 7.4.0, which fixes the issue.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.7% (up from 1.4% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-104711 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-104711?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-104711?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-104711 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-104711

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-104711](https://cve.bz/cve/badge/CVE-2026-104711.svg)](https://cve.bz/cve/CVE-2026-104711)

HTML:

<a href="https://cve.bz/cve/CVE-2026-104711"><img src="https://cve.bz/cve/badge/CVE-2026-104711.svg" alt="CVE-2026-104711"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Strutsfrom 2.0.0 through 2.3.37
Apache Software Foundation Apache Strutsfrom 2.5.0 through 2.5.33
Apache Software Foundation Apache Strutsfrom 6.0.0 through 6.11.0
Apache Software Foundation Apache Strutsfrom 7.0.0 through 7.3.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important severity because an unauthenticated remote attacker could achieve arbitrary code execution by submitting malicious requests that trigger OGNL expression evaluation. However, the risk is mitigated in standard environments because exploitation requires an explicit, non-default configuration to use the legacy RESTful action mapper. Deployments relying on standard action mapping, the restful2 mapper, or the Struts REST plugin remain unaffected, and Struts 7 environments are shielded by default via active OGNL allowlisting.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10google-guiceNot affected
Red Hat Enterprise Linux 8javapackages-tools:201801/google-guiceNot affected
Red Hat Enterprise Linux 9google-guiceNot affected
Red Hat Enterprise Linux 9maven:3.9/google-guiceNot affected
Red Hat Fuse 7struts2-coreNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-104711.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • fixedbyreboot/CVE-2026-104711-POC Harbor Check: matches CVE 2 stars, Python, created
    POC exploit for CVE-2026-104711 - OGNL injection RCE in Apache Struts legacy REST action mapper (S2-075). Vulnerable vs fixed verification …

References

Check your stackJSON