CVE-2026-42498: Apache Tomcat - WebSocket authentication header exposure
Versions Affected: Apache Tomcat 11.0.0-M1 to 11.0.21 Apache Tomcat 10.1.0-M1 to 10.1.54 Apache Tomcat 9.0.2 to 9.0.117 Older, unsupported versions may also be affected Description: If a WebSocket request was redirected after authentication, Tomcat's WebSocket client would present the most recent authentication header to the redirect target host.
Published May 12, 2026 · Updated May 18, 2026
Affected packages
org.apache.tomcat.embed:tomcat-embed-core
- Ecosystem
- Maven
- Affected
- < 9.0.118
- Fixed in
- 9.0.118
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-core
org.apache.tomcat.embed:tomcat-embed-core
- Ecosystem
- Maven
- Affected
- >= 10.1.0-M1, < 10.1.55
- Fixed in
- 10.1.55
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-core
org.apache.tomcat.embed:tomcat-embed-core
- Ecosystem
- Maven
- Affected
- >= 11.0.0-M1, < 11.0.22
- Fixed in
- 11.0.22
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat.embed:tomcat-embed-core
org.apache.tomcat:tomcat
- Ecosystem
- Maven
- Affected
- < 9.0.118
- Fixed in
- 9.0.118
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat
org.apache.tomcat:tomcat
- Ecosystem
- Maven
- Affected
- >= 10.1.0-M1, < 10.1.55
- Fixed in
- 10.1.55
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat
org.apache.tomcat:tomcat
- Ecosystem
- Maven
- Affected
- >= 11.0.0-M1, < 11.0.22
- Fixed in
- 11.0.22
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat
org.apache.tomcat:tomcat-catalina
- Ecosystem
- Maven
- Affected
- < 9.0.118
- Fixed in
- 9.0.118
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-catalina
org.apache.tomcat:tomcat-catalina
- Ecosystem
- Maven
- Affected
- >= 10.1.0-M1, < 10.1.55
- Fixed in
- 10.1.55
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-catalina
org.apache.tomcat:tomcat-catalina
- Ecosystem
- Maven
- Affected
- >= 11.0.0-M1, < 11.0.22
- Fixed in
- 11.0.22
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat-catalina
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Versions Affected: Apache Tomcat 11.0.0-M1 to 11.0.21 Apache Tomcat 10.1.0-M1 to 10.1.54 Apache Tomcat 9.0.2 to 9.0.117 Older, unsupported versions may also be affected
Description: If a WebSocket request was redirected after authentication, Tomcat's WebSocket client would present the most recent authentication header to the redirect target host.
Mitigation: Users of the affected versions should apply one of the following mitigations:
- Upgrade to Apache Tomcat 11.0.22 or later
- Upgrade to Apache Tomcat 10.1.55 or later
- Upgrade to Apache Tomcat 9.0.118 or later
Credit: This issue was identified by lokerxx
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-42498
- https://lists.apache.org/thread/n61zwf75jrv09rz90j4jssncm244bwdb
- https://github.com/apache/tomcat/commit/169d725788ea6aec217ecac70fe4161c837ba423
- https://github.com/apache/tomcat/commit/6cbe274592ef2d11607b5b188e1df649de52f8d5
- https://github.com/apache/tomcat/commit/b7b173694d588ddcfa432f079baf763cbbbaa5c4
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-9.html
- https://github.com/advisories/GHSA-fv25-8xcx-gqjc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-65182
Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability
critical9.1No fixAug 26, 2026CVE-2026-65637
Apache Tomcat - HTTP/2 no-authority bypass of strict SNI validation
critical9.8Aug 26, 2026CVE-2026-65905
Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability
critical9.8No fixAug 26, 2026CVE-2026-68525
Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability
critical9.1No fixAug 26, 2026CVE-2026-50229
Apache Tomcat has a Cross-site Scripting vulnerability
medium6.1No fixJun 29, 2026CVE-2026-53404
Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability
high7.3No fixJun 29, 2026
