CVE-2026-48860Distribution-over-TLS LAN allowlist silently bypassed due to sockname/peername confusion…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang | Fixed | 1:27.3.4.6+dfsg-1ubuntu0.2 | UBUNTU-CVE-2026-48860 |
| Ubuntu 25.10 | erlang | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-48860 | |
| Ubuntu 24.04 | erlang | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | erlang | Not affected vulnerable_code_not_present | ||
| Debian 14 | erlang | Fixed | 1:29.0.2+dfsg-1 | DEBIAN-CVE-2026-48860 |
| Debian 13 | erlang | Fixed | 1:27.3.4.1+dfsg-1+deb13u3 | DEBIAN-CVE-2026-48860 |
| Debian 12 | erlang | Fix pending | DEBIAN-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.
- Erlang OTP: affected: 11.0 and later; fixed in
11.2.12.9,11.6.0.2,11.7.2 - Erlang OTP: affected: 26.0 and later; fixed in
27.3.4.13,28.5.0.2,29.0.2 - Erlang OTP: affected: 7a08c5507862a7011568506d0c17b1fdef30bee4 to before 0209a6df65d605552b378273027b3968b35f26b4; fixed in
0209a6df65d605552b378273027b3968b35f26b4
Workaround: Implement a custom verify_fun SSL option that correctly checks the peer IP address using inet:peername/1 on the socket.
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-gp7x-mfv6-52cv (vendor-advisory)
- https://github.com/erlang/otp/commit/0209a6df65d605552b378273027b3968b35f26b4 (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-gp7x-mfv6-52cv
- https://cna.erlef.org/cves/CVE-2026-48860.html
- https://osv.dev/vulnerability/EEF-CVE-2026-48860
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/7a08c5507862a7011568506d0c17b1fdef30bee4
- https://github.com/erlang/otp/commit/0209a6df65d605552b378273027b3968b35f26b4
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.