Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.netty/netty-handler
  4. ›
  5. CVE-2026-50010

CVE-2026-50010: Netty: Wrapping plain trust manager silently disables hostname verification

June 15, 2026

SimpleTrustManagerFactory.engineGetTrustManagers() and related paths wrap any user-supplied plain X509TrustManager in X509TrustManagerWrapper, which extends X509ExtendedTrustManager but implements the 3-arg checkServerTrusted(chain, authType, SSLEngine) by discarding the SSLEngine and calling the 2-arg delegate. Because the object now IS an X509ExtendedTrustManager, neither SunJSSE’s internal AbstractTrustManagerWrapper nor Netty’s own OpenSslX509TrustManagerWrapper will re-wrap it to add endpoint-identification. Consequently, even though Netty 4.2 sets endpointIdentificationAlgorithm=“HTTPS” by default, a client built with SslContextBuilder.forClient().trustManager(somePlainX509TrustManager) performs no hostname verification at all.

References

  • github.com/advisories/GHSA-c653-97m9-rcg9
  • github.com/netty/netty/releases/tag/netty-4.1.135.Final
  • github.com/netty/netty/releases/tag/netty-4.2.15.Final
  • github.com/netty/netty/security/advisories/GHSA-c653-97m9-rcg9
  • nvd.nist.gov/vuln/detail/CVE-2026-50010

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.135, all versions starting from 4.2.0 before 4.2.15

Fixed versions

  • 4.1.135
  • 4.2.15

Solution

Upgrade to versions 4.1.135, 4.2.15 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

maven/io.netty/netty-handler/CVE-2026-50010.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:22:50 +0000.