# CVE-2026-48860: Distribution-over-TLS LAN allowlist silently bypassed due to sockname/peername confusion in inet_tls_dist

- Severity: High 7.5 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-06-10T14:35:49.987Z
- Modified: 2026-11-25T06:30:24.273Z
- Also known as: EEF-CVE-2026-48860, GHSA-gp7x-mfv6-52cv
- Weaknesses: CWE-863, CWE-1025
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- ssl: from 11.0 before *
- otp: from 26.0 before *
- erlang/otp: from 7a08c5507862a7011568506d0c17b1fdef30bee4 before 0209a6df65d605552b378273027b3968b35f26b4
- https://github.com/erlang/otp: from 7a08c5507862a7011568506d0c17b1fdef30bee4 before 0209a6df65d605552b378273027b3968b35f26b4
- erlang erlang/otp: from 26.0 before 27.3.4.13; from 28.0 before 28.5.0.2; from 29.0 before 29.0.2
- erlang erlang/ssl: from 11.0 before 11.2.12.9; from 11.6 before 11.6.0.2; from 11.7 before 11.7.2

## Every score

- EEF: CVSS:4.0 7.5 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-gp7x-mfv6-52cv> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-48860.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-48860> (related, third-party-advisory)
- <https://www.erlang.org/doc/system/versions.html#order-of-versions> (product, web)
- <https://github.com/erlang/otp/commit/7a08c5507862a7011568506d0c17b1fdef30bee4> (related, web)
- <https://github.com/erlang/otp/commit/0209a6df65d605552b378273027b3968b35f26b4> (fix, patch)

## Sources

- CVE List: [CVE-2026-48860](https://www.cve.org/CVERecord?id=CVE-2026-48860), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-48860](https://osv.dev/vulnerability/EEF-CVE-2026-48860), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-48860](https://nvd.nist.gov/vuln/detail/CVE-2026-48860), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-48860 · Whole record: https://cve.day/CVE-2026-48860.json · Rebuilt by cve.day 2026-11-25T22:59:24.341Z
