CVE-2026-87022: Apache Tomcat WebSocket Message Smuggling Vulnerability

tomcat Updated 01 Oct 2026

Summary

01/10/2026
Yes i
High
Not published

CVE-2026-87022: Apache Tomcat: WebSocket message smuggling with per-message-deflate. Affects tomcat across 4 version ranges.

>= 7.0.56, < 9.0.45 >= 9.0.0, < 9.0.122 >= 10.1.0, < 10.1.60 >= 11.0.0, < 11.0.26

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, and Java Expression Language technologies. It is widely used for deploying Java applications and provides a robust environment for running web applications. However, certain versions of Tomcat are vulnerable to a specific issue related to WebSocket message handling, particularly when using the per-message-deflate feature.

Vulnerability Detail

The vulnerability arises from improper handling of length parameter inconsistencies in Apache Tomcat, which can lead to WebSocket message smuggling. This issue affects multiple versions of Tomcat, allowing attackers to exploit the flaw and potentially manipulate WebSocket messages. The vulnerability is particularly critical as it can compromise the integrity of the data being transmitted, leading to unauthorized access or data manipulation.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.0.56, < 9.0.45 9.0.45
  • >= 9.0.0, < 9.0.122 9.0.122
  • >= 10.1.0, < 10.1.60 10.1.60
  • >= 11.0.0, < 11.0.26 11.0.26

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate upgrading is not feasible, consider disabling the per-message-deflate feature in WebSocket configurations to mitigate the risk until a proper update can be applied. This can typically be done in the server configuration files where WebSocket settings are defined.

Conclusion

The CVE-2026-87022 vulnerability in Apache Tomcat highlights a critical issue with WebSocket message handling that can lead to serious security risks. Users are strongly advised to upgrade to the latest patched versions to safeguard their applications. For those unable to upgrade immediately, disabling the per-message-deflate feature can serve as a temporary workaround.

See every vulnerability recorded for tomcat →

Share this vulnerability

FAQ

The vulnerability affects Apache Tomcat versions from 11.0.0 through 11.0.25, 10.1.0 through 10.1.59, and 9.0.0 through 9.0.121. Older versions, such as 8.5.0 through 8.5.100 and 7.0.56 through 7.0.109, are also affected.

WebSocket message smuggling is a technique used by attackers to manipulate the communication between a client and server, allowing them to inject or alter messages without detection.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply providing a manifest file like package-lock.json, you can check for vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to test your application without signup.

If exploited, this vulnerability can lead to unauthorized access to sensitive data, data manipulation, and overall compromise of the application's integrity.

Yes, you can temporarily disable the per-message-deflate feature in your WebSocket configurations to reduce the risk until you can upgrade to a patched version.

Related vulnerabilities

Recent vulnerabilities recorded for tomcat.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 7.0.56, < 9.0.45 9.0.45
  • >= 9.0.0, < 9.0.122 9.0.122
  • >= 10.1.0, < 10.1.60 10.1.60
  • >= 11.0.0, < 11.0.26 11.0.26

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback