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

CVE-2026-88041: Apache Tomcat Information Disclosure Flaw

CVE-2026-88041 is an information disclosure vulnerability in Apache Tomcat caused by incomplete cleanup that allows trailer data from previous requests to leak into subsequent ones. This article covers technical details, affected versions, 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-88041 Overview

CVE-2026-88041 is an incomplete cleanup vulnerability [CWE-459] in Apache Tomcat. The flaw allows HTTP trailer information from a previous request to leak into a subsequent request processed by the same connection or thread. This cross-request data exposure can disclose sensitive metadata between unrelated clients sharing the server.

The issue affects Apache Tomcat 11.0.0-M23 through 11.0.26, 10.1.27 through 10.1.60, and 9.0.92 through 9.0.122. The Apache Software Foundation released fixes in versions 11.0.27, 10.1.61, and 9.0.123.

Critical Impact

Residual HTTP trailer data from one request can appear in a later unrelated request, enabling information disclosure between clients sharing a Tomcat instance.

Affected Products

  • Apache Tomcat 11.0.0-M23 through 11.0.26
  • Apache Tomcat 10.1.27 through 10.1.60
  • Apache Tomcat 9.0.92 through 9.0.122

Discovery Timeline

  • 2026-10-20 - CVE-2026-88041 published to the National Vulnerability Database
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-88041

Vulnerability Analysis

The vulnerability stems from incomplete cleanup of HTTP trailer state between requests on the same connection. HTTP trailers are headers that follow the message body in chunked transfer encoding. Tomcat parses and stores these trailers during request processing but fails to fully reset the associated internal structures when the request completes.

When the connection is reused for a subsequent request, residual trailer data from the earlier request persists. Application code or downstream components that read trailer values may observe values set by the previous client. This creates a cross-request information disclosure condition without any direct interaction between the two clients.

The behavior is categorized under CWE-459: Incomplete Cleanup and is particularly relevant in deployments that use persistent HTTP/1.1 connections or HTTP/2 streams carrying trailer metadata.

Root Cause

The root cause is missing or partial state reset of the trailer field collection in Tomcat's HTTP request processor between successive requests. The parser retains trailer entries beyond the lifetime of the request they belong to, violating the request isolation guarantee expected from the servlet container.

Attack Vector

An attacker sends a request containing crafted trailer headers over a connection or worker likely to be reused. A later request from a different client reads these residual trailers through the servlet API. The attack does not require authentication but relies on the attacker's trailers being consumed by application logic or logging in the follow-up request context. The vulnerability mechanism is documented in the Apache mailing list discussion and the Openwall OSS Security advisory.

Detection Methods for CVE-2026-88041

Indicators of Compromise

  • Unexpected HTTP trailer fields appearing in application logs that do not match the originating client request
  • Repeated chunked transfer-encoded requests with unusual trailer headers from a single source IP
  • Application behavior that references trailer values which were never sent by the current client

Detection Strategies

  • Inspect Tomcat access and application logs for trailer-related header names recurring across unrelated sessions
  • Compare request IDs or correlation tokens stored in trailers against the request body origin to detect mismatches
  • Deploy inline HTTP inspection rules that flag chunked requests carrying trailers directed at vulnerable Tomcat versions

Monitoring Recommendations

  • Monitor the installed Apache Tomcat version via inventory tooling and alert on any instance running an affected release
  • Track outbound responses for sensitive values that may have originated as trailers in a prior request
  • Enable verbose logging of HTTP/1.1 chunked trailer processing in non-production environments to validate request isolation after patching

How to Mitigate CVE-2026-88041

Immediate Actions Required

  • Upgrade Apache Tomcat to version 11.0.27, 10.1.61, or 9.0.123 depending on the installed major version
  • Inventory all Tomcat deployments, including embedded instances inside Spring Boot and third-party applications, to identify affected versions
  • Review application code that reads HTTP trailers via jakarta.servlet.http.HttpServletRequest#getTrailerFields() for sensitivity to residual data

Patch Information

The Apache Tomcat project fixed the issue in 11.0.27, 10.1.61, and 9.0.123. Users on affected branches should upgrade to the corresponding fixed release. Release notes and source are available through the Apache Tomcat announcements.

Workarounds

  • Disable HTTP/1.1 keep-alive on affected connectors to prevent connection reuse, accepting the performance cost until a patch is applied
  • Reject requests containing trailer headers at an upstream reverse proxy or web application firewall
  • Avoid consuming trailer fields in application code until the server is upgraded
bash
# Example: reject requests containing HTTP trailers at an NGINX reverse proxy
# Place in the server or location block protecting the Tomcat upstream
if ($http_trailer) {
    return 400;
}
proxy_http_version 1.1;
proxy_set_header Connection "close";
proxy_pass http://tomcat_backend;

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.