Vulnerability · Published Jun 10, 2026 · Assigned by EEF
CVE-2026-48860Distribution-over-TLS LAN allowlist silently bypassed due to sockname/peername confusion in inet_tls_dist
High 7.5
In plain English
A high-severity incorrect authorization in OTP from Erlang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | erlang | no fix listed | DEBIAN-CVE-2026-48860 |
| Debian:13 | erlang | 1:27.3.4.1+dfsg-1+deb13u3 | DEBIAN-CVE-2026-48860 |
| Debian:14 | erlang | 1:29.0.2+dfsg-1 | DEBIAN-CVE-2026-48860 |
| Ubuntu:22.04:LTS | erlang | 1:24.2.1+dfsg-1ubuntu0.8 | USN-8901-1 |
| Ubuntu:24.04:LTS | erlang | 1:25.3.2.8+dfsg-1ubuntu4.8 | USN-8901-1 |
| Ubuntu:25.10 | erlang | no fix listed | UBUNTU-CVE-2026-48860 |
| Ubuntu:26.04:LTS | erlang | 1:27.3.4.6+dfsg-1ubuntu0.2 | USN-8901-1 |
| Ubuntu:26.04:LTS | erlang | 1:27.3.4.6+dfsg-1ubuntu0.2 | UBUNTU-CVE-2026-48860 |
Affected products (as reported)
Weakness: CWE-1025, CWE-863 · Vector: CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/erlang/otp/security/advisories/GHSA-gp7x-mfv6-52cv vendor-advisory, related
- EEF CNA record for CVE-2026-48860 related
- OSV record EEF-CVE-2026-48860 related
- Erlang/OTP version ordering x_version-scheme
- Introducing commit 7a08c55 in erlang/otp related
- Fix commit 0209a6d in erlang/otp patch