Distribution-over-TLS LAN allowlist silently bypassed due to sockname/peername confusion in inet_tls_dist
CVE-2026-48860Published 10 Jun 2026, 14:35 UTC
Real-world risk
0.4/ 10Low
Routine
If the vulnerable configuration applies to you: 0.9
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from 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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Erlang/OTPWidespread | >= 11.0, < *; >= 26.0, < * | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 19), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.049
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.0486 × threat 0.850.413
- Rounded to one decimal between 0.1 and 100.4
Exploitation and evidence timeline
- 10 Jun 2026 Published
- 3 Dec 2026 Risk 0.4 (cvss fallback)
Weakness
CWE-863, CWE-1025
References
- https://github.com/erlang/otp/security/advisories/GHSA-gp7x-mfv6-52cvrelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-48860.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-48860related
- https://www.erlang.org/doc/system/versions.html#order-of-versionsx-version-scheme
- https://github.com/erlang/otp/commit/7a08c5507862a7011568506d0c17b1fdef30bee4related
- https://github.com/erlang/otp/commit/0209a6df65d605552b378273027b3968b35f26b4patch
- CVE-2026-48860 on CVE.org