CVE-2026-48860: Distribution-over-TLS LAN allowlist silently bypassed due to sockname/peername confusion in inet_tls_dist

Published Jun 10, 2026
·
Updated

Distribution-over-TLS LAN allowlist silently bypassed due to sockname/peername confusion in inettlsdist

Other sources

Reliance on IP Address for Authentication vulnerability in Erlang/OTP ssl (inettlsdist module) allows unauthenticated bypass of the distribution-over-TLS LAN allowlist.

The inettlsdist:checkip/1 function, which enforces a LAN allowlist for Erlang distribution over TLS, calls inet:sockname/1 instead of inet:peername/1 to obtain the peer's IP address. Because inet:sockname/1 returns the local socket address, both the local IP and the supposed peer IP resolve to the same value, causing the subnet mask comparison to always succeed regardless of the actual remote address. Any holder of a CA-signed TLS certificate can therefore bypass the LAN restriction and gain full Erlang distribution access to the node, including rpc:call/4 and code:loadbinary/3.

This vulnerability is associated with program file lib/ssl/src/inettlsdist.erl.

This issue affects OTP from OTP 26.0 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to ssl from 11.0 before 11.7.2, 11.6.0.2 and 11.2.12.9.

NVD

Reliance on IP Address for Authentication vulnerability in Erlang/OTP ssl (inettlsdist module) allows unauthenticated bypass of the distribution-over-TLS LAN allowlist.

The inettlsdist:checkip/1 function, which enforces a LAN allowlist for Erlang distribution over TLS, calls inet:sockname/1 instead of inet:peername/1 to obtain the peer's IP address. Because inet:sockname/1 returns the local socket address, both the local IP and the supposed peer IP resolve to the same value, causing the subnet mask comparison to always succeed regardless of the actual remote address. Any holder of a CA-signed TLS certificate can therefore bypass the LAN restriction and gain full Erlang distribution access to the node, including rpc:call/4 and code:loadbinary/3.

This vulnerability is associated with program file lib/ssl/src/inettlsdist.erl.

This issue affects OTP from OTP 26.0 before OTP 29.0.2, OTP 28.5.0.2 and OTP 27.3.4.13, corresponding to ssl from 11.0 before 11.7.2, 11.6.0.2 and 11.2.12.9.

MITRE

Affected Software

9 affected componentsFixes available
Erlang OTP>=26.0<29.0.2, <28.5.0.2, <27.3.4.13
Erlang ssl>=11.0<11.7.2, <11.6.0.2, <11.2.12.9
Erlang Erlang\/otp>=26.0<27.3.4.13
Erlang Erlang\/otp>=28.0<28.5.0.2
Erlang Erlang\/otp>=29.0<29.0.2
Erlang Erlang\/ssl>=11.0<11.2.12.9
Erlang Erlang\/ssl>=11.6<11.6.0.2
Erlang Erlang\/ssl>=11.7<11.7.2
Microsoft azl3 erlang 26.2.5.20-1<26.2.5.21-2
26.2.5.21-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.2.5.21-2
  2. Upgrade

    Upgrade Erlang/OTP ssl (inet_tls_dist) to a version that resolves this vulnerability.

    Fixed in 29.0.2
  3. Upgrade

    Upgrade Erlang/OTP ssl (inet_tls_dist) to a version that resolves this vulnerability.

    Fixed in 28.5.0.2
  4. Upgrade

    Upgrade Erlang/OTP ssl (inet_tls_dist) to a version that resolves this vulnerability.

    Fixed in 27.3.4.13
  5. Upgrade

    Upgrade Erlang/OTP ssl (inet_tls_dist) to a version that resolves this vulnerability.

    Fixed in 11.7.2
  6. Upgrade

    Upgrade Erlang/OTP ssl (inet_tls_dist) to a version that resolves this vulnerability.

    Fixed in 11.6.0.2
  7. Upgrade

    Upgrade Erlang/OTP ssl (inet_tls_dist) to a version that resolves this vulnerability.

    Fixed in 11.2.12.9

Event History

Jun 10, 2026
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
DescriptionWeakness
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 17, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-48860?

CVE-2026-48860 has a high severity rating of 7.5 based on the CVSS scoring.

2

How do I fix CVE-2026-48860?

To fix CVE-2026-48860, ensure that you apply the latest updates from Erlang/OTP that address this vulnerability.

3

What type of vulnerability is CVE-2026-48860?

CVE-2026-48860 is a reliance on IP address for authentication vulnerability affecting the erl_tls_dist module.

4

What are the potential impacts of CVE-2026-48860?

The vulnerability allows for an unauthenticated bypass of the distribution-over-TLS LAN allowlist, which could lead to unauthorized access.

5

Which software is affected by CVE-2026-48860?

CVE-2026-48860 affects Erlang OTP and Erlang SSL modules.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203