CVE-2026-48860: CWE-1025 Comparison Using Wrong Factors in Erlang OTP
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 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to ssl from 11.0 before 11.7.2, 11.6.0.2 and 11.2.12.9.
AI Analysis
Technical Summary
The vulnerability arises because inet_tls_dist:check_ip/1 calls inet:sockname/1 instead of inet:peername/1 to obtain the peer IP address. inet:sockname/1 returns the local socket address, causing the LAN allowlist subnet mask check to always pass regardless of the actual remote IP. Consequently, any entity with a valid CA-signed TLS certificate can bypass the LAN allowlist and gain full Erlang distribution privileges, including remote procedure calls and code loading. This affects Erlang/OTP versions 26.0 before 29.0.2, 28.5.0.2, and 27.3.4.13, and ssl versions 11.0 before 11.7.2, 11.6.0.2, and 11.2.12.9. No official remediation level or patch information is provided in the advisory.
Potential Impact
An attacker possessing a CA-signed TLS certificate can bypass the LAN allowlist restriction for Erlang distribution over TLS. This grants unauthorized full access to the Erlang node's distribution capabilities, including executing remote procedure calls (rpc:call/4) and loading arbitrary code (code:load_binary/3), potentially leading to full compromise of the node.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to trusted networks and carefully control issuance and possession of CA-signed TLS certificates to mitigate risk.
CVE-2026-48860: CWE-1025 Comparison Using Wrong Factors in Erlang OTP
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 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to ssl from 11.0 before 11.7.2, 11.6.0.2 and 11.2.12.9.
CVSS v4.0
Score 7.5high
Affected software
pkg:github/erlang/otpcpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because inet_tls_dist:check_ip/1 calls inet:sockname/1 instead of inet:peername/1 to obtain the peer IP address. inet:sockname/1 returns the local socket address, causing the LAN allowlist subnet mask check to always pass regardless of the actual remote IP. Consequently, any entity with a valid CA-signed TLS certificate can bypass the LAN allowlist and gain full Erlang distribution privileges, including remote procedure calls and code loading. This affects Erlang/OTP versions 26.0 before 29.0.2, 28.5.0.2, and 27.3.4.13, and ssl versions 11.0 before 11.7.2, 11.6.0.2, and 11.2.12.9. No official remediation level or patch information is provided in the advisory.
Potential Impact
An attacker possessing a CA-signed TLS certificate can bypass the LAN allowlist restriction for Erlang distribution over TLS. This grants unauthorized full access to the Erlang node's distribution capabilities, including executing remote procedure calls (rpc:call/4) and loading arbitrary code (code:load_binary/3), potentially leading to full compromise of the node.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to trusted networks and carefully control issuance and possession of CA-signed TLS certificates to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-25T20:44:10.697Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a298ad7c9170919df367449
Added to database: 6/10/2026, 4:03:35 PM
Last enriched: 6/10/2026, 4:18:32 PM
Last updated: 6/10/2026, 5:50:44 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.