Erlang TLS: verify the server your application trusts
An official Erlang/OTP advisory shows that requiring certificate verification can fail to protect a vulnerable client. Remediation must connect protocol settings, the fixed release and application behavior.
Leer en portuguésIn this article
By Pentesty
The client that accepts an identity without a certificate
Published on November 24, 2026, advisory GHSA-7mff-v332-665j describes a client completing a TLS 1.2 handshake without receiving a server certificate and accepting an unsigned ServerKeyExchange. According to the project, an attacker in a man-in-the-middle position can read and modify traffic even when verify_peer and a trust chain are configured.
The issue affects clients offering TLS 1.2 and an affected key exchange, including the default configuration described in the advisory. The project says TLS 1.3 connections and servers are unaffected by this vulnerability. This narrows triage: publishing an HTTPS service using Erlang does not, by itself, establish that a client is exposed.
Find where the application initiates TLS
The first deliverable should map components that open outbound connections: integrations, scheduled jobs and internal services. Record the OTP version, the ssl application, the deployed artifact, verification options and allowed protocols. This is a proposed Pentesty assessment approach, to be adapted to the organization and its operating environment.
Next, confirm that the application actually uses the inventoried component. A rebuilt image, an updated package or a dependency manifest does not prove which runtime handles connections. Tie the evidence to the active process, the test destination and the integration owner before deciding that remediation is complete. Keep that relationship available for later review. The same concern informs peer identity validation in log transport.
Use the version matrix for the right advisory
For CVE-2026-124286, the project lists fixed OTP releases 29.0.3, 28.5.0.9 and 27.3.4.14. Consult the relevant product branch and the version comparison rule in the advisory. Its description explains that the fix already existed in branches 29 and 27 as hardening for another scenario, but had not been included in branch 28.
An earlier advisory, GHSA-c6cw-pr89-w882, covers a different bypass: accepting an anonymous cipher suite the client never offered. Published in July, it has its own fixed releases, including 29.0.4, 28.5.0.4 and 27.3.4.15. This reference supplies technical context. Do not use remediation of one vulnerability as automatic evidence that the other is covered.
Turn the change into an acceptance test
In a controlled, authorized environment, define the expected outcomes before testing. The following is an editorial validation plan, rather than a report of tests performed or exploitation observed. Preserve evidence before and after the change and connect each result to the version actually loaded by the application. Assign an owner to review the results.
- Confirm a legitimate connection using the expected protocol and server identity.
- Check that an invalid or missing identity prevents connection completion in the scenario under assessment.
- Record the negotiated protocol, authentication outcome, timestamp and functional impact without capturing secrets.
- Recheck integrations and monitor failures after deployment, with defined rollback criteria.
Choose a mitigation with compatibility evidence
The project recommends a patched release or restricting the client to TLS 1.3, which is unaffected. Validate that restriction against application destinations to avoid outages. The advisory describes static RSA only as a last resort and discourages it because it removes forward secrecy and has compatibility limitations. Do not turn that fallback into a default remediation policy.
Frequently asked questions
Is verify_peer enough to rule out exposure?
Not for a client affected by the advisory scenario. Check the release, offered protocols and key exchange used by the connection alongside certificate verification settings.
Should every Erlang server be classified as affected?
The November advisory says servers are unaffected by this vulnerability. Investigate components acting as clients and initiating TLS connections separately, using evidence from the actual application.
Does this establish exploitation in production?
The reviewed advisories describe technical conditions and fixes. This analysis does not establish observed exploitation, a company compromise or a connection to any particular incident.
When is remediation validated?
When evidence identifies the appropriate running release, verifies positive and negative authentication outcomes, and confirms continued operation of relevant integrations within the scope approved by the organization.
Sources and references
- Erlang/OTP: official CVE-2026-124286 advisory, November 24, 2026
- Erlang/OTP: context from CVE-2026-55953, published in July 2026
Original Pentesty analysis, published November 30, 2026. The proposed scenarios are editorial guidance, with scope and validation to be defined for each environment.