Skip to main content
Public proof of conceptFix available

CVE-2026-104711

Apache Struts: OGNL injection in the legacy RESTful action mapper

A public proof of concept exists; no exploitation attested.

  • Published2026-10-05
  • Fixed in7.4.0 · 6.12.0
  • WeaknessCWE-917

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-10-0519:17CVE publishedNVD

Versions per branch

NVD
Apache struts
BranchAffectedFixed in
7.x≥ 7.0.0, < 7.4.07.4.0
6.x≥ 6.0.0, < 6.12.06.12.0
2.x≥ 2.0.0, ≤ 2.3.37no fix published
2.5≥ 2.5.0, ≤ 2.5.33no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Apache Software Foundation Apache Strutsother versions: not affected

    package org.apache.struts:struts2-corehttps://repo.maven.apache.org/maven2

    Affected
    • ≥ 2.0.0, ≤ 2.3.37no fix statedsemver
    • ≥ 2.5.0, ≤ 2.5.33no fix statedsemver
    • ≥ 6.0.0, ≤ 6.11.0no fix statedsemver
    • ≥ 7.0.0, ≤ 7.3.0no fix statedsemver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-10-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • org.apache.struts:struts2-coreRed Hat Lightwell:Mavenall versions · fixed in 6.1.1.rhlw-00021

Vendor advisories

  • CVE-2026-104711 Red Hat Product Security

    org.apache.struts/struts2-core: Apache Struts: Arbitrary code execution via expression injection in legacy RESTful action mapper

Full record on NVD

Fix

  1. Update Apache struts to 7.4.0 · 6.12.0

Advisories and patches

Detection

read 2026-11-11 10:17 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2026-10-05
Last Modified
2026-10-08
NVD status
Analyzed
GitHub Advisory
GHSA-wfm5-pq4p-gff9

Frequently asked questions

What is CVE-2026-104711?

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.

Is CVE-2026-104711 actively exploited?

Active exploitation of CVE-2026-104711 has not been confirmed. Its EPSS score was 1.7% on 2026-11-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-104711?

CVE-2026-104711 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running struts2-core? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record