Skip to content
OpenAdvisories
High · 7.5 CVE-2026-48860 EUVD-2026-36057

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

Published Jun 10, 2026 · Updated Sep 24, 2026 · Assigned by EEF

Description

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

The inet_tls_dist:check_ip/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:load_binary/3.

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

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

Affected products

VendorProductAffectedFixed
Erlang OTP 26.0, 11.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 erlang 1:29.0.2+dfsg-1 —
Debian 13 erlang 1:27.3.4.1+dfsg-1+deb13u3 —
Debian 12 erlang No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS erlang 1:27.3.4.6+dfsg-1ubuntu0.2 USN-8901-1
Ubuntu 25.10 erlang No fix yet —
Ubuntu 24.04 LTS erlang 1:25.3.2.8+dfsg-1ubuntu4.8 USN-8901-1
Ubuntu 22.04 LTS erlang 1:24.2.1+dfsg-1ubuntu0.8 USN-8901-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS erlang 1:22.2.7+dfsg-1ubuntu0.5+esm3 USN-8901-1
Ubuntu Pro 18.04 LTS erlang 1:20.2.2+dfsg-1ubuntu2+esm4 USN-8901-1
Ubuntu Pro 16.04 LTS erlang 1:18.3-dfsg-1ubuntu3.1+esm4 USN-8901-1
Ubuntu Pro 14.04 LTS erlang 1:16.b.3-dfsg-1ubuntu2.2+esm3 USN-8901-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 erlang27 +38 27.3.4.17-1.hum1 RHSA-2026:63160
ReleasePackageFixed inAdvisory
SLES 15 SP7 erlang26 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SLES 15 SP6 erlang26 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 erlang26 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed erlang 28.5.0.4-1.1 openSUSE-SU-2026:11559-1
openSUSE Tumbleweed erlang27 27.1.3-3.1 openSUSE-SU-2026:11560-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 erlang 26.2.5.21-2 —

Advisories 6

References