Skip to main content
Vulnerability Database/CVE-2026-101356

CVE-2026-101356: Apache Tomcat Race Condition Vulnerability

CVE-2026-101356 is a race condition flaw in Apache Tomcat HTTP/2 processing that causes request and response mix-up between users. This article covers the technical details, affected versions, security impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-101356 Overview

Apache Tomcat contains an incorrect object recycling and re-use vulnerability affecting HTTP/2 processing of asynchronous servlets. The flaw can trigger request and/or response mix-up between concurrent users, exposing one user's data to another. The issue stems from a race condition [CWE-362] in how Tomcat recycles internal request and response objects across HTTP/2 streams handled by async servlets.

Affected branches include Tomcat 11.0.22 through 11.0.26, 10.1.55 through 10.1.60, and 9.0.118 through 9.0.122. The Apache Tomcat project recommends upgrading to 11.0.27, 10.1.61, or 9.0.123.

Critical Impact

Attackers can remotely trigger cross-user data exposure and service disruption against Tomcat servers using HTTP/2 with async servlets, without authentication or user interaction.

Affected Products

  • Apache Tomcat 11.0.22 through 11.0.26
  • Apache Tomcat 10.1.55 through 10.1.60
  • Apache Tomcat 9.0.118 through 9.0.122

Discovery Timeline

  • 2026-10-20 - CVE-2026-101356 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-101356

Vulnerability Analysis

The vulnerability is a race condition classified under [CWE-362]. Apache Tomcat pools and recycles internal request and response objects to reduce garbage collection pressure. When an asynchronous servlet completes processing on an HTTP/2 stream, Tomcat returns those objects to the pool for reuse by subsequent requests.

Under specific timing conditions on HTTP/2 connections, Tomcat releases these objects before the async lifecycle fully completes. A subsequent concurrent request can acquire the same object while residual state remains attached. The server may then route headers, bodies, or responses intended for one client to another client sharing the Tomcat instance.

The outcome is cross-request data confusion. One user may receive another user's response, or a request may be processed with another user's context. On busy multi-tenant deployments the probability of mix-up increases with concurrent HTTP/2 traffic to async endpoints.

Root Cause

The root cause is an object lifecycle error in the HTTP/2 async servlet code path. Request and response objects are recycled before all references held by async processing threads are released. This violates the single-owner invariant required for safe pool reuse.

Attack Vector

Exploitation is network-based, requires no authentication, and no user interaction. An attacker needs only the ability to send concurrent HTTP/2 requests to an exposed Tomcat server that dispatches at least one endpoint through the async servlet API. Triggering the mix-up reliably requires sustained concurrent load, but opportunistic exposure can occur under normal traffic.

No verified public exploit code is available at the time of publication. See the Apache Mailing List Archive and the Openwall OSS Security Discussion for upstream technical details.

Detection Methods for CVE-2026-101356

Indicators of Compromise

  • User reports of receiving unexpected content, session data, or responses belonging to other users.
  • Application logs showing response bodies or headers that do not correlate with the originating request ID or user context.
  • HTTP/2 streams in Tomcat access logs where request method, path, or user-agent diverges from the logged response for the same stream.

Detection Strategies

  • Inventory Tomcat deployments and identify instances running affected versions (11.0.22–11.0.26, 10.1.55–10.1.60, 9.0.118–9.0.122) with HTTP/2 enabled.
  • Audit application code and web.xml descriptors for use of AsyncContext, @WebServlet(asyncSupported = true), or startAsync() calls on HTTP/2-exposed endpoints.
  • Correlate upstream load balancer logs with Tomcat access logs to detect response/request pairs that do not match on headers such as X-Request-ID.

Monitoring Recommendations

  • Enable verbose Tomcat access logging that records both request and response identifiers per HTTP/2 stream.
  • Monitor for anomalous spikes in concurrent HTTP/2 stream counts and async servlet invocations.
  • Alert on application-layer errors indicating state corruption, such as session or principal mismatches in authenticated endpoints.

How to Mitigate CVE-2026-101356

Immediate Actions Required

  • Upgrade Apache Tomcat to 11.0.27, 10.1.61, or 9.0.123 as the Apache project recommends.
  • If immediate upgrade is not possible, disable HTTP/2 on exposed connectors until patching is complete.
  • Review and inventory async servlet endpoints exposed over HTTP/2 and restrict access where feasible.

Patch Information

The Apache Tomcat project has released fixed versions 11.0.27, 10.1.61, and 9.0.123. These releases correct the object lifecycle handling in the HTTP/2 async servlet code path. Refer to the Apache Mailing List Archive for the official announcement.

Workarounds

  • Disable the HTTP/2 upgrade protocol on affected Tomcat connectors by removing the UpgradeProtocol element referencing Http2Protocol from server.xml.
  • Convert affected servlets to synchronous processing by removing asyncSupported = true and startAsync() calls where application design permits.
  • Place a reverse proxy in front of Tomcat that terminates HTTP/2 and forwards HTTP/1.1 to the Tomcat connector.
bash
# Example: disable HTTP/2 by removing the upgrade protocol from server.xml
# Before:
# <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" ...>
#     <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
# </Connector>
#
# After (HTTP/2 disabled):
# <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" ... />

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.