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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.38% (percentile 24, 2026-11-26)
- **CWE:** CWE-1025, CWE-863
- **Published:** 2026-06-10T14:35:49.987Z
- **Modified:** 2026-11-20T06:17:29.327Z

## Who should check

- Anyone running Erlang OTP \>= 11.0, \< \*
- Anyone running Erlang OTP \>= 26.0, \< \*
- Anyone running Erlang OTP \>= 7a08c5507862a7011568506d0c17b1fdef30bee4, \< 0209a6df65d605552b378273027b3968b35f26b4

## 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 and fixed versions

- Erlang OTP: \>= 11.0, \< \* (cvelist)
- Erlang OTP: \>= 26.0, \< \* (cvelist)
- Erlang OTP: \>= 7a08c5507862a7011568506d0c17b1fdef30bee4, \< 0209a6df65d605552b378273027b3968b35f26b4 (cvelist)

## Mitigation

- Upgrade OTP to 0209a6df65d605552b378273027b3968b35f26b4 or later.
- Vendor workaround: Implement a custom verify\_fun SSL option that correctly checks the peer IP address using inet:peername/1 on the socket.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-48860. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-48860.md
Affected: Erlang OTP >= 11.0, < *; Erlang OTP >= 26.0, < *; Erlang OTP >= 7a08c5507862a7011568506d0c17b1fdef30bee4, < 0209a6df65d605552b378273027b3968b35f26b4
Fixed in: Erlang OTP 0209a6df65d605552b378273027b3968b35f26b4

Steps:
1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-48860 being exploited?

There is no confirmed exploitation: CVE-2026-48860 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-48860?

High: CVSS 7.5 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-48860?

Erlang OTP \>= 11.0, \< \*; Erlang OTP \>= 26.0, \< \*; Erlang OTP \>= 7a08c5507862a7011568506d0c17b1fdef30bee4, \< 0209a6df65d605552b378273027b3968b35f26b4.

### Is there a fix for CVE-2026-48860?

Yes. Fixed in Erlang OTP 0209a6df65d605552b378273027b3968b35f26b4. Upgrade OTP to 0209a6df65d605552b378273027b3968b35f26b4 or later. Vendor workaround: Implement a custom verify\_fun SSL option that correctly checks the peer IP address using inet:peername/1 on the socket.

### How do I check if I'm affected by CVE-2026-48860?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-48860>

HTML: <https://flawdb.com/CVE-2026-48860> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-48860>
