CVE-2026-50010: Netty: Wrapping plain trust manager silently disables hostname verification
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.
Published Jun 15, 2026
Affected packages
io.netty:netty-handler
- Ecosystem
- Maven
- Affected
- >= 4.2.0.Final, < 4.2.15.Final
- Fixed in
- 4.2.15.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-handler
io.netty:netty-handler
- Ecosystem
- Maven
- Affected
- <= 4.1.134.Final
- Fixed in
- 4.1.135.Final
- Check
mvn dependency:tree -Dincludes=io.netty:netty-handler
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
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-75595
Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext
critical9.1Sep 8, 2026CVE-2026-75596
Netty: Fragmented ClientHello records trigger quadratic pre-handshake reassembly in default SNI parsing
medium6.9Sep 8, 2026CVE-2026-44249
Netty has an IPv6 Subnet Filter Bypass via Incorrect Comparator Masking
high8.1Jun 8, 2026CVE-2026-45416
Netty: SNI handler pre-allocates up to 16 MiB from nine attacker bytes
high7.5Jun 8, 2026CVE-2025-24970
SslHandler doesn't correctly validate packets which can lead to native crash when using native SSLEngine
high7.5Feb 10, 2025
