NettyApplication

CVE-2026-50010

HIGH · 7.5 CVSS v3.1 Published 2026-06-12
Fix available
A fix is available. Upgrade to 4.1.135 / 4.2.15 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Netty is a network application framework for development of protocol servers and clients. Prior to versions 4.1.135.Final and 4.2.15.Final, 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. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Netty's SimpleTrustManagerFactory wraps user-supplied plain X509TrustManager implementations in X509TrustManagerWrapper, which extends X509ExtendedTrustManager but bypasses SSLEngine-based hostname verification by discarding the SSLEngine parameter and calling the 2-arg delegate. Because the wrapper appears as an X509ExtendedTrustManager, neither SunJSSE's AbstractTrustManagerWrapper nor Netty's own OpenSslX509TrustManagerWrapper re-wrap it to add endpoint identification, causing hostname verification to be completely bypassed even when endpointIdentificationAlgorithm='HTTPS' is set by default in Netty 4.2.

MitigationUpgrade to Netty 4.1.135.Final or 4.2.15.Final. If using custom trust managers via SslContextBuilder.forClient().trustManager(), verify that endpoint identification is properly enforced or migrate to the default trust manager configuration.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
NettyApplication
Affected:< 4.1.135>= 4.2.0, < 4.2.15

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Netty library version
    Locate the netty-common or netty-transport JAR file in your application's classpath and check its version manifest, or query your dependency management system (Maven, Gradle, etc.) for the netty version
    Affected if The installed Netty version is less than 4.1.135.Final or is 4.2.0 through 4.2.14.Final
  2. Determine if SimpleTrustManagerFactory is in use
    Search your codebase for imports or references to io.netty.handler.ssl.SimpleTrustManagerFactory, or check if your application uses any custom TrustManagerFactory implementations that extend SimpleTrustManagerFactory
    Affected if Your application uses SimpleTrustManagerFactory to wrap a TrustManager
  3. Verify if plain X509TrustManager is being wrapped
    Examine the code that initializes the TrustManager - look for TrustManagerFactory.getTrustManagers() returning an array containing a javax.net.ssl.X509TrustManager that does not implement javax.net.ssl.X509ExtendedTrustManager
    Affected if You are passing a plain X509TrustManager (non-extended) to SimpleTrustManagerFactory or SslContextBuilder.forClient().trustManager()
  4. Check SslContextBuilder client configuration
    Search for SslContextBuilder.forClient().trustManager() calls in your code and examine what TrustManager object is passed as the argument
    Affected if The application uses SslContextBuilder.forClient().trustManager() with a plain X509TrustManager without explicit endpoint identification configuration
  5. Inspect endpoint identification configuration
    Review your SSL/TLS client configuration to determine if endpointIdentificationAlgorithm is explicitly set, or check if your SslContext is built with .endpointIdentificationAlgorithm() specified
    Affected if Endpoint identification algorithm is not explicitly configured and the application relies on the default HTTPS setting which is bypassed by this vulnerability

You are affected if your application uses a Netty version in the affected range AND uses SimpleTrustManagerFactory with a plain X509TrustManager via SslContextBuilder.forClient().trustManager() without explicit endpoint identification configuration.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.1.135 / 4.2.15 or later
Fixed in 4.1.1354.2.15
Interim mitigation

Upgrade to Netty 4.1.135.Final or 4.2.15.Final. If using custom trust managers via SslContextBuilder.forClient().trustManager(), verify that endpoint identification is properly enforced or migrate to the default trust manager configuration.

Recommended fix High confidence

Netty 4.1.135.Final or 4.2.15.Final (depending on which major.minor line you are on)

  1. Identify the current Netty version in use by checking project dependencies (e.g., pom.xml, build.gradle, or Maven/Gradle output)
  2. If using Netty 4.1.x line, upgrade to version 4.1.135.Final
  3. If using Netty 4.2.x line, upgrade to version 4.2.15.Final
  4. Update the dependency version in build configuration file (pom.xml, build.gradle, or equivalent)
  5. Run build to fetch new dependency and verify no conflicts
  6. Test SSL/TLS client connections to confirm hostname verification is now performed correctly
  7. Verify no regressions in existing SSL/TLS functionality
Caveat Minor version upgrade within same major.minor should have minimal breaking changes; however, review Netty release notes between your current version and the target version for any behavioral changes

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Netty Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA3.0 h
15.0 hours of engineering $2,560
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,096.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-50010 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-50010 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data