CVE-2026-66299
Apache Tomcat vulnerability analysis and mitigation

Overview

CVE-2026-66299 is an Uncontrolled Resource Consumption (DoS) vulnerability in Apache Tomcat's WebSocket chat example application. It affects Apache Tomcat versions 11.0.0-M20 through 11.0.24, 10.1.24 through 10.1.57, and 9.0.89 through 9.0.120; Apache Tomcat 8.5.x and earlier are unaffected. The vulnerability was disclosed on July 28, 2026, by researchers 4ra1n, pyn3rd, and unam4, and patched in versions 11.0.25, 10.1.58, and 9.0.121 (Apache Advisory, Openwall OSS-Sec). It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption) and resides specifically in the WebSocket chat example bundled with Apache Tomcat's examples web application (GitHub Advisory). An unauthenticated remote attacker can exploit this flaw by sending crafted WebSocket messages to the chat example endpoint, causing the server to consume excessive resources without proper throttling or limits. No authentication or user interaction is required, and the attack complexity is low, making it straightforward to automate (Apache Advisory). The vulnerability is only present when the examples web application is deployed — installations that have already removed it per Apache's standard security hardening guidance are not affected (Openwall OSS-Sec).

Impact

Successful exploitation results in a denial-of-service condition, exhausting server resources and rendering the Apache Tomcat instance unavailable to legitimate users. There is no impact on confidentiality or data integrity — the vulnerability is limited to availability (GitHub Advisory). The scope is unchanged, meaning the impact is confined to the vulnerable Tomcat instance itself without direct lateral movement potential (Apache Advisory).

Exploitability

As of the disclosure date, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation (Apache Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.31–0.45%, placing it in the lower percentiles for near-term exploitation likelihood (GitHub Advisory). The attack is automatable due to the lack of authentication and low complexity requirements, but exploitation is limited to deployments that retain the examples web application.

Exploitation steps

  1. Reconnaissance: Identify Apache Tomcat instances running affected versions (9.0.89–9.0.120, 10.1.24–10.1.57, 11.0.0-M20–11.0.24) using tools like Shodan or Censys, and confirm the examples web application is deployed by accessing /examples/ on the target.
  2. Locate the WebSocket chat endpoint: Navigate to the WebSocket chat example, typically accessible at /examples/websocket/chat.xhtml or a similar path on the target Tomcat server.
  3. Establish WebSocket connections: Use a WebSocket client or scripting tool (e.g., Python websockets library, wscat) to open a large number of concurrent WebSocket connections to the chat endpoint.
  4. Send resource-exhausting messages: Flood the endpoint with high-volume or specially crafted WebSocket messages designed to trigger uncontrolled resource allocation on the server side.
  5. Achieve denial of service: Sustain the flood until the Tomcat server exhausts available memory, threads, or other resources, causing it to become unresponsive or crash (Openwall OSS-Sec, Apache Advisory).

Indicators of compromise

  • Network: Unusually high volume of WebSocket connection requests to /examples/websocket/ endpoints; sustained high-bandwidth traffic from one or more source IPs targeting the Tomcat examples application.
  • Logs: Tomcat access logs showing repeated WebSocket upgrade requests (HTTP 101 Switching Protocols) to the chat example endpoint from the same or rotating source IPs; Java out-of-memory errors or thread pool exhaustion messages in catalina.out.
  • Process: Tomcat JVM process consuming abnormally high CPU or memory; thread dumps showing large numbers of threads blocked or waiting in WebSocket handler code.
  • Application: Tomcat service becoming unresponsive or restarting unexpectedly; alerts from monitoring systems indicating availability degradation of the Tomcat instance (Openwall OSS-Sec).

Mitigation and workarounds

The primary remediation is to upgrade Apache Tomcat to a fixed version: 11.0.25, 10.1.58, or 9.0.121 (or later) (Apache Advisory). As an immediate workaround — and as a general security best practice — remove the examples web application from all production Tomcat deployments; installations without the examples application are not affected by this vulnerability (Openwall OSS-Sec). Network-level controls such as rate limiting WebSocket connections or blocking access to /examples/ via a reverse proxy or firewall can also reduce exposure until patching is complete.

Community reactions

The Apache Tomcat security team rated this vulnerability as low severity in their official disclosure, reflecting the limited scope (examples application only) and lack of confidentiality or integrity impact (Openwall OSS-Sec). The vulnerability was credited to researchers 4ra1n, pyn3rd, and unam4. Community reaction has been measured, with standard coverage from vulnerability aggregators and scanner vendors (Tenable Nessus, Qualys) adding detection plugins shortly after disclosure (Apache Advisory).

Additional resources


SourceThis report was generated using AI

Related Apache Tomcat vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59084CRITICAL9.1
  • Apache Tomcat logoApache Tomcat
  • tomcat11-jsp-4_0-api
NoYesJul 14, 2026
CVE-2026-59083CRITICAL9.1
  • Apache Tomcat logoApache Tomcat
  • cpe:2.3:a:apache:tomcat
NoYesJul 14, 2026
CVE-2026-66299HIGH7.5
  • Apache Tomcat logoApache Tomcat
  • tomcat-webapps
NoYesJul 28, 2026
CVE-2026-55957HIGH7.3
  • Apache Tomcat logoApache Tomcat
  • tomcat-servlet-6.0-api
NoYesJun 29, 2026
CVE-2026-55956MEDIUM6.5
  • Apache Tomcat logoApache Tomcat
  • pki-deps:10.6::pki-servlet-engine.src
NoYesJun 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management