CVEfocus › CVE database › CVE-2026-48860

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

CVSS 7.5 HighEPSS 0.4% (higher than 24% of CVEs)Published 2026-06-10Updated 2026-11-20Assigner: EEF

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.

CWE-1025CWE-863

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Fix pending
1Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04erlangFixed1:27.3.4.6+dfsg-1ubuntu0.2UBUNTU-CVE-2026-48860
Ubuntu 25.10erlangWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-48860
Ubuntu 24.04erlangNot affected
vulnerable_code_not_present
Ubuntu 22.04erlangNot affected
vulnerable_code_not_present
Debian 14erlangFixed1:29.0.2+dfsg-1DEBIAN-CVE-2026-48860
Debian 13erlangFixed1:27.3.4.1+dfsg-1+deb13u3DEBIAN-CVE-2026-48860
Debian 12erlangFix pendingDEBIAN-CVE-2026-48860

What the vendor says

As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Implement a custom verify_fun SSL option that correctly checks the peer IP address using inet:peername/1 on the socket.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.