Skip to navigation

Threat reportVulnerabilityTL-2026-2982

Apache Struts Vulnerabilities Enable Remote Code Execution and Denial of Service (CVE-2026-104711, CVE-2026-104712, CVE-2026-104713, CVE-2026-104714)

highPATCHED

The Apache Struts project fixed four vulnerabilities (S2-075 to S2-078) in Struts 7.4.0 and 6.12.0 on 2026-10-02: an OGNL injection in the legacy RESTful action mapper that can lead to remote code execution, a BigDecimal rendering denial of service, an unbounded request body read in the REST plugin, and a shared message formatter that can leak date/time values between concurrent users.

Key facts

IdentifiersTL-2026-2982, CVE-2026-104711, CVE-2026-104712, CVE-2026-104713, CVE-2026-104714
Also known asS2-075, S2-076, S2-077, S2-078
SeverityHIGH
First disclosed
EPSSCVE-2026-104711: 0.8% (57.3th percentile); CVE-2026-104712: 0.5% (46.0th percentile); CVE-2026-104714: 0.4% (40.1th percentile)
Affected productsApache Software Foundation Apache Struts (legacy RESTful action mapper) - CVE-2026-104711; Apache Software Foundation Apache Struts (BigDecimal rendering via tag libraries) - CVE-2026-104712; Apache Software Foundation Apache Struts REST plugin - CVE-2026-104713; Apache Software Foundation Apache Struts (shared message formatter) - CVE-2026-104714
Weaknesses (CWE)CWE-917
MITRE ATT&CK techniquesT1059 Command and Scripting Interpreter, T1190 Exploit Public-Facing Application, T1499.003 Application Exhaustion Flood, T1499.004 Application or System Exploitation
MotivationUNKNOWN
Target sectorstechnology, finance, government administration, telecoms, health
Target regionsGlobal
Detection rules9 (1 shown free)
Sources8 cited sources

Detection coverage

As of 2026-10-11, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-2982 across Splunk SPL, Microsoft KQL and Sigma, covering 11 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Java Application Server Spawning Shell or Interpreter (Struts RCE Post-Exploitation)

Detects a Java or Tomcat service process creating a shell (sh/bash/cmd.exe/powershell.exe). A successful OGNL injection through CVE-2026-104711 gives code execution in the JVM, and a spawned interpreter is the most common first visible post-exploitation step. This is behaviour-based and does not depend on the exploit payload.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1059, T1059.004, T1059.001
  • Data sources: sysmon (EventCode 1, Windows and Linux), DeviceProcessEvents (Defender for Endpoint), edr process creation telemetry
  • Severity: high
  • Confidence: medium

Splunk SPL

index=endpoint sourcetype IN ("XmlWinEventLog:Microsoft-Windows-Sysmon/Operational","sysmon:linux") EventCode=1 earliest=-24h
| where match(ParentImage, "(?i)(^|[^a-z0-9])(java|javaw|tomcat[0-9]*w?)([.]exe)?$")
| where match(Image, "(?i)(^|[^a-z0-9])(sh|bash|dash|zsh|ksh|cmd[.]exe|powershell[.]exe|pwsh[.]exe)$")
``` keep only JVMs that look like app servers; Sysmon older than v12 has no ParentCommandLine ```
| where isnull(ParentCommandLine) OR match(ParentCommandLine, "(?i)(catalina|struts|tomcat|jetty|wildfly|jboss|webapps)")
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as commands values(ParentCommandLine) as parent_cmd by host, User, ParentImage, Image
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

// Java / Tomcat service spawning a shell or interpreter
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("java", "java.exe", "javaw.exe", "tomcat9.exe", "tomcat10.exe", "tomcat11.exe")
| where FileName in~ ("sh", "bash", "dash", "zsh", "ksh", "cmd.exe", "powershell.exe", "pwsh.exe")
| where InitiatingProcessCommandLine has_any ("catalina", "struts", "tomcat", "jetty", "wildfly", "jboss", "webapps")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessParentFileName

Sigma

title: Java Application Server Spawning Shell or Interpreter
id: a3f6b8d2-19c4-4e07-b5a8-72d4c1e90f35
status: experimental
description: Detects a Java or Tomcat process spawning a command shell or PowerShell, a post-exploitation indicator after OGNL injection or other RCE in a Struts application (CVE-2026-104711).
references:
  - https://cwiki.apache.org/confluence/display/WW/S2-075
author: Threadlinqs Team
date: 2026-10-06
tags:
  - attack.execution
  - attack.t1059
  - attack.t1059.004
  - attack.t1059.001
  - cve.2026.104711
logsource:
  category: process_creation
detection:
  selection_parent:
    ParentImage|endswith:
      - '/java'
      - '/javaw'
      - 'java.exe'
      - 'javaw.exe'
      - 'tomcat9.exe'
      - 'tomcat10.exe'
      - 'tomcat11.exe'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/zsh'
      - '/ksh'
      - 'cmd.exe'
      - 'powershell.exe'
      - 'pwsh.exe'
  selection_app:
    ParentCommandLine|contains:
      - 'catalina'
      - 'struts'
      - 'tomcat'
      - 'jetty'
      - 'wildfly'
      - 'jboss'
      - 'webapps'
  condition: selection_parent and selection_child and selection_app
falsepositives:
  - Build or deployment tooling (Maven, Gradle, Jenkins agents) running under a JVM
  - Application start-up wrapper scripts that call sh from the JVM
level: high

Known false positives:

  • Build and deployment tooling (Maven, Gradle, Jenkins) running under a JVM
  • Application wrapper scripts that legitimately call a shell from the JVM

Tuning notes: Baseline legitimate JVM-to-shell parent/child pairs and the exact CommandLine values per host, then allowlist them. Restrict to servers hosting Struts apps via an asset list. Keep Tomcat service names in the parent filters in sync with your environment.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Struts OGNL Exceptions and Parameter-Binding Errors in Application Logs — Exploitation Probing · unlock with TL Creds
  • Java Application Server Downloading Tooling via curl/wget/certutil/PowerShell — Ingress Tool Transfer · unlock with TL Creds
  • BigDecimal Extreme-Scale Parameter / Response Amplification (S2-076 / CVE-2026-104712) — Denial of Service · unlock with TL Creds
  • Vulnerable Apache Struts2-Core JAR Deployed (S2-075 to S2-078) — Exposure · unlock with TL Creds
  • JSP File Written Under Webapps by JVM Process (Webshell Drop After Struts RCE) · unlock with TL Creds
  • Java Heap Exhaustion (OutOfMemoryError) in Application Server Logs (S2-077 / CVE-2026-104713) · unlock with TL Creds
  • Struts OGNL Injection Markers in Web Requests (S2-075 / CVE-2026-104711) — Exploitation · unlock with TL Creds
  • Oversized Request Bodies Against REST Endpoints (S2-077 / CVE-2026-104713) — Denial of Service · unlock with TL Creds

Indicators of compromise

As of 2026-10-11, Threadlinqs Intelligence tracks 11 indicators of compromise for TL-2026-2982.

11 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

No active exploitation or public PoC is reported.

On 2026-10-02 the Apache Struts project released Struts 7.4.0 and 6.12.0 (both General Availability) and published four security bulletins, S2-075 through S2-078. Cyber Security News covered the disclosure on 2026-10-06. The release announcement strongly advises all developers to upgrade. Struts 7.3.0 and 6.11.0, released 2026-08-01, are the last vulnerable releases in their lines.

CVE-2026-104711 (S2-075, rated Moderate by Apache, reporter LeaveSong) is an OGNL injection in the legacy RESTful action mapper. A crafted request can inject an OGNL expression that may lead to remote code execution. Affected versions are Struts 2.0.0-2.3.37, 2.5.0-2.5.33, 6.0.0-6.11.0 and 7.0.0-7.3.0. The S2-075 bulletin attaches the condition that the OGNL allowlist is disabled to the 7.x range; the press article states the allowlist-disabled condition more broadly. Applications using the default mapper, the restful2 mapper or the Struts REST plugin are not affected. The only workaround is to switch away from the legacy RESTful action mapper.

CVE-2026-104712 (S2-076, Moderate, reporter 0xCc.zhang) is a resource-exhaustion denial of service. When request parameters bind to java.math.BigDecimal properties and are rendered through Struts tag libraries, small requests can produce responses many orders of magnitude larger. Affected versions are 2.5.14-2.5.33 (EOL), 6.0.0-6.11.0 and 7.0.0-7.3.0. Applications that do not bind BigDecimal properties, that use JSON/REST plugin responses, or that use other numeric types are unaffected. The workaround is a custom BigDecimal type converter registered in struts-conversion.properties (xwork-conversion.properties on 2.5.x) that bounds the scale before rendering.

CVE-2026-104713 (S2-077, Important, reporter n0mi1k) is a memory-exhaustion denial of service. The REST plugin reads a request body into memory with no bound, so oversized requests can exhaust the heap. Affected versions are 2.1.8-2.3.37, 2.5.0-2.5.33, 6.0.0-6.11.0 and 7.0.0-7.3.0. Struts has no configuration-only fix. The patched releases add a default limit of 2,097,152 characters (2 MB), configurable with struts.rest.content.maxLength. Until upgraded, defenders should enforce a maximum request body size in the reverse proxy or servlet container.

CVE-2026-104714 (S2-078, Moderate, reporter n0mi1k) is a concurrency flaw. A message formatter is shared between concurrently served requests. When localized messages format date or time arguments, one user's value can appear in another user's response, or rendering can fail and surface as a server error. Ordinary concurrent traffic triggers it, with no malicious input needed. Affected versions are 2.0.0-2.3.37, 2.5.0-2.5.33, 6.0.0-6.11.0 and 7.0.0-7.3.0. The workaround is to format date/time values before message interpolation.

The sources state no numeric CVSS score, no active exploitation, no public PoC and no network or file indicators of compromise. Apache's own ratings are Moderate (104711, 104712, 104714) and Important (104713). The HIGH severity assigned here is an analyst estimate based on the remote code execution class of CVE-2026-104711, not a source-stated score. The CVE ids themselves come from the Apache bulletins; NVD and web searches returned nothing for them at the time of research.

MITRE ATT&CK techniques by tactic:

Execution

T1059 Command and Scripting Interpreter

Initial Access

T1190 Exploit Public-Facing Application

Impact

T1499.003 Application Exhaustion Flood; T1499.004 Application or System Exploitation

Remediation

Patches

  • Upgrade to Apache Struts 7.4.0 or later (requires Java 17 and JakartaEE)
  • Upgrade to Apache Struts 6.12.0 or later on the 6.x maintenance line (Servlet API 3.1, JSP API 2.1, Java 8)

Immediate actions

  • Inventory applications built on Apache Struts, including transitive and embedded copies, and identify any that use the legacy RESTful action mapper or the REST plugin
  • Enforce a maximum request body size in the reverse proxy or servlet container in front of any endpoint that accepts request bodies (mitigates CVE-2026-104713)
  • Confirm the OGNL allowlist is enabled on Struts 7.x deployments

Workarounds

  • CVE-2026-104711: use the default action mapper, the restful2 mapper or the Struts REST plugin instead of the legacy RESTful action mapper
  • CVE-2026-104712: register a custom java.math.BigDecimal converter that bounds scale, in struts-conversion.properties (xwork-conversion.properties on 2.5.x)
  • CVE-2026-104713: enforce a request body limit at the reverse proxy or servlet container; patched versions default to 2,097,152 characters, configurable via struts.rest.content.maxLength
  • CVE-2026-104714: format date/time values before passing them to localized messages and interpolate the already-formatted value

Longer-term hardening

  • Migrate off the legacy RESTful action mapper to the default mapper, the restful2 mapper or the Struts REST plugin
  • Move off end-of-life Struts 2.3.x and 2.5.x lines, which will not receive these fixes
  • Subscribe to Apache Struts security bulletins and track the Struts release feed

Affected and fixed versions

  • Apache Software Foundation — Apache Struts (legacy RESTful action mapper) - CVE-2026-104711
    Vulnerable versions: 2.0.0-2.3.37; 2.5.0-2.5.33; 6.0.0-6.11.0; 7.0.0-7.3.0 (with OGNL allowlist disabled)
    Fixed in: 6.12.0; 7.4.0
  • Apache Software Foundation — Apache Struts (BigDecimal rendering via tag libraries) - CVE-2026-104712
    Vulnerable versions: 2.5.14-2.5.33; 6.0.0-6.11.0; 7.0.0-7.3.0
    Fixed in: 6.12.0; 7.4.0
  • Apache Software Foundation — Apache Struts REST plugin - CVE-2026-104713
    Vulnerable versions: 2.1.8-2.3.37; 2.5.0-2.5.33; 6.0.0-6.11.0; 7.0.0-7.3.0
    Fixed in: 6.12.0; 7.4.0
  • Apache Software Foundation — Apache Struts (shared message formatter) - CVE-2026-104714
    Vulnerable versions: 2.0.0-2.3.37; 2.5.0-2.5.33; 6.0.0-6.11.0; 7.0.0-7.3.0
    Fixed in: 6.12.0; 7.4.0

Timeline

Last updated · revalidated 1× · latest source

  • Apache Struts 7.3.0 and 6.11.0 are released; they are the latest releases affected by CVE-2026-104711 to CVE-2026-104714.
  • Bulletins S2-077 (CVE-2026-104713, unbounded REST plugin request body read) and S2-078 (CVE-2026-104714, shared message formatter exposes date/time values across concurrent requests) published; both reported by n0mi1k.
  • Bulletin S2-076 published for CVE-2026-104712, a denial of service from disproportionately large responses when rendering BigDecimal request parameters (reporter: 0xCc.zhang).
  • Bulletin S2-075 published for CVE-2026-104711, an OGNL injection in the legacy RESTful action mapper that may lead to remote code execution (reporter: LeaveSong).
  • Apache Struts 7.4.0 and 6.12.0 are released as General Availability, fixing four vulnerabilities, with the announcement strongly advising all developers to upgrade.
  • HeroDevs publishes analysis of CVE-2026-104711/104713 and offers Never-Ending Support patches for end-of-life Struts 2.3.x/2.5.x lines.
  • SentinelOne Vulnerability Database lists CVE-2026-104711 with a third-party CVSS 3.1 score of 9.8, CWE-917 and EPSS 0.86%, differing from Apache's Moderate rating.
  • Cyber Security News reports the four Struts vulnerabilities and states no active exploitation has been reported.

Update history

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats