VYPR
High severity7.5NVD Advisory· Published Jun 12, 2026· Updated Jun 12, 2026

CVE-2026-50010

CVE-2026-50010

Description

Netty's trust manager wrapping silently disables TLS hostname verification when using a plain X509TrustManager, enabling man-in-the-middle attacks.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Netty's trust manager wrapping silently disables TLS hostname verification when using a plain X509TrustManager, enabling man-in-the-middle attacks.

Vulnerability

In Netty versions prior to 4.1.135.Final and 4.2.15.Final, SimpleTrustManagerFactory.engineGetTrustManagers() wraps any user-supplied plain X509TrustManager in an X509TrustManagerWrapper. This wrapper extends X509ExtendedTrustManager but implements the 3-arg checkServerTrusted(chain, authType, SSLEngine) by discarding the SSLEngine and delegating to the 2-arg method. Because the object now implements X509ExtendedTrustManager, neither SunJSSE's internal AbstractTrustManagerWrapper nor Netty's own OpenSslX509TrustManagerWrapper re-wraps it to add endpoint identification. Consequently, even though Netty 4.2 sets endpointIdentificationAlgorithm="HTTPS" by default, hostname verification is silently disabled when a client uses SslContextBuilder.forClient().trustManager(somePlainX509TrustManager). [1][2][3]

Exploitation

An attacker with network position (e.g., on the same network or able to intercept TLS connections) can exploit this vulnerability. The attacker only needs to present a valid certificate trusted by the client's trust manager; the client will not verify that the certificate's hostname matches the intended server. No authentication, user interaction, or special privileges are required beyond network access. The attack is straightforward: the attacker performs a man-in-the-middle attack, intercepting the TLS handshake and presenting a forged certificate. [3]

Impact

Successful exploitation allows an attacker to perform man-in-the-middle attacks, bypassing TLS hostname verification entirely. This can lead to disclosure of sensitive information, credential theft, and compromise of data integrity. The impact is high as the vulnerability undermines the security guarantee of TLS connections in affected client applications. [3]

Mitigation

Netty released fixed versions 4.1.135.Final and 4.2.15.Final on 2026-06-12. Users should upgrade to these versions or later. For users who cannot upgrade, ensure that custom trust managers are not wrapped by SimpleTrustManagerFactory or implement hostname verification externally. No other workarounds are available in the references. [1][2][3]

AI Insight generated on Jun 12, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Netty/Nettyreferences2 versions
    (expand)+ 1 more
    • (no CPE)
    • (no CPE)range: <4.1.135.Final || <4.2.15.Final

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

3

News mentions

0

No linked articles in our index yet.