Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat.embed/tomcat-embed-core
  4. ›
  5. CVE-2026-42498

CVE-2026-42498: Apache Tomcat - WebSocket authentication header exposure

May 12, 2026 (updated May 18, 2026)

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

  • github.com/advisories/GHSA-fv25-8xcx-gqjc
  • github.com/apache/tomcat/commit/169d725788ea6aec217ecac70fe4161c837ba423
  • github.com/apache/tomcat/commit/6cbe274592ef2d11607b5b188e1df649de52f8d5
  • github.com/apache/tomcat/commit/b7b173694d588ddcfa432f079baf763cbbbaa5c4
  • lists.apache.org/thread/n61zwf75jrv09rz90j4jssncm244bwdb
  • nvd.nist.gov/vuln/detail/CVE-2026-42498
  • tomcat.apache.org/security-10.html
  • tomcat.apache.org/security-11.html
  • tomcat.apache.org/security-9.html

Code Behaviors & Features

Detect and mitigate CVE-2026-42498 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 9.0.118, all versions starting from 10.1.0-M1 before 10.1.55, all versions starting from 11.0.0-M1 before 11.0.22

Fixed versions

  • 9.0.118
  • 10.1.55
  • 11.0.22

Solution

Upgrade to versions 9.0.118, 10.1.55, 11.0.22 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

maven/org.apache.tomcat.embed/tomcat-embed-core/CVE-2026-42498.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:25 +0000.