A critical certificate-validation flaw in Erlang/Open Telecom Platform (OTP) could let a man-in-the-middle attacker impersonate a legitimate HTTPS/TLS server and read traffic that clients believe is encrypted end to end, according to The Hacker News, which disclosed the issue on 30 November.

The bug, tracked as CVE-2026-124286, carries a CVSS score of 9.1 out of 10.0. An Erlang/OTP TLS client configured with full server authentication can be tricked during the TLS 1.2 handshake — it completes a connection it believes has been validated against a trusted server, when in fact it is talking to an attacker-controlled endpoint.

One detail is worth noting before it is repeated elsewhere: the source coverage attributes the flaw to OTP's SSH implementation while simultaneously describing TLS client behaviour. Those are distinct subsystems within OTP, and the discrepancy is material to anyone scoping a patch. Practitioners should confirm which application is affected, along with authoritative affected and fixed version ranges, directly against the primary Erlang/OTP advisory rather than relying on secondary summaries.

Why this matters beyond the Erlang community

OTP is not merely a language runtime; it is infrastructure. Messaging brokers, chat servers, databases and a substantial amount of telecom signalling software ship with Erlang/OTP embedded, often as an indirect dependency that never appears on a team's own bill of materials. Organisations running middleware built on Erlang — including deployments of RabbitMQ, ejabberd and CouchDB, as well as Elixir applications and telecom platforms — may be exposed without having written a line of Erlang themselves.

The exploit conditions make the risk sharper. A successful attack does not require breaking cryptography; it requires the client to accept the wrong identity. From the client's perspective the connection is encrypted and appears legitimate, which is precisely what makes interception silent. In environments where OTP-based services talk to upstream APIs, other services or operator systems over TLS, a man-in-the-middle position is the only realistic prerequisite.

What to do
  1. Inventory first. Find every service that embeds Erlang/OTP — directly or through a packaged dependency — and record the version in use. Container images and vendored distributions are the usual blind spots.
  2. Check the primary advisory. Confirm the affected component (SSH versus SSL/TLS application) and the exact fixed version boundaries before scheduling work. Do not treat a vendor summary as authoritative.

Affected versions: specific version ranges are not listed here. Secondary coverage disagrees on which OTP subsystem is implicated — SSH or the SSL application used for TLS — and publishing an unverified range could send teams to the wrong patch level. Consult the upstream Erlang/OTP advisory for CVE-2026-124286 for the authoritative affected and fixed version numbers.

  1. Patch and restart. OTP fixes generally require rebuilding and relaunching dependent applications; a library swap alone will not take effect. Plan restart windows for brokers and chat servers accordingly.
  2. Watch for patch lag. If a packaged middleware project has not yet shipped an OTP update, track it explicitly — the exposure sits with the dependency, not with your own code.

For IT teams in Hong Kong and elsewhere that rely on packaged Erlang-based services, the practical lesson is familiar but worth restating: the vulnerability lives in a layer most organisations do not monitor, and the certificate checks it undermines are the ones everyone assumes are always on.

Source: The Hacker News, https://thehackernews.com/2026/11/critical-erlangotp-tls-flaw-could-let.html


據 The Hacker News 於 11 月 30 日披露,Erlang/Open Telecom Platform (OTP) 存在一項嚴重的憑證驗證漏洞,可令中間人(man-in-the-middle)攻擊者冒充合法 HTTPS/TLS 伺服器,讀取客戶端誤以為已端對端加密的通訊流量。

該漏洞編號為 CVE-2026-124286,CVSS 評分達 10.0 分中的 9.1 分。一個設定為完整伺服器認證的 Erlang/OTP TLS 客戶端,可在 TLS 1.2 握手過程中被誤導——它會完成一個自認已向可信伺服器驗證的連線,但實際上通訊對象是攻擊者控制的端點。

有一個細節在轉述前須留意:原始報道將漏洞歸因於 OTP 的 SSH 實作,但同時又描述 TLS 客戶端行為。兩者屬 OTP 內的不同子系統,此差異對制訂修補方案的人士至關重要。從業人員應直接查閱 Erlang/OTP 官方通告,確認受影響的應用程式以及權威的受影響及已修復版本範圍,而非依賴二手摘要。

為何此事超越 Erlang 社群範疇

OTP 不僅是語言運行環境,更是基礎設施。消息隊列代理(messaging broker)、聊天伺服器、資料庫以及大量電信信令軟件均內嵌 Erlang/OTP 出貨,往往作為間接依賴(indirect dependency),從不出現在團隊自身的物料清單(bill of materials)之中。運行基於 Erlang 中間件的機構——包括 RabbitMQ、ejabberd 及 CouchDB 的部署,以及 Elixir 應用程式和電信平台——可能在自身一行 Erlang 代碼也沒寫過的情況下已經暴露於風險之中。

漏洞的利用條件令風險更為凸顯。成功的攻擊無需破解密碼學;只需客戶端接受錯誤的身份。從客戶端角度而言,連線已加密且看似合法,這正是攔截得以無聲無息的原因。在基於 OTP 的服務透過 TLS 與上游 API、其他服務或營運商系統通訊的環境中,中間人位置是唯一現實的先決條件。

應採取的措施
  1. 先做盤點。找出所有內嵌 Erlang/OTP 的服務——無論直接或透過封裝依賴(packaged dependency)——並記錄所用版本。container image 及內置(vendored)發行版本通常是盲點所在。
  2. 查閱官方通告。在安排修補工作前,確認受影響的元件(SSH 還是 SSL/TLS application)以及確切的已修復版本界線。切勿將供應商摘要當作權威依據。

受影響版本:此處不列出具體版本範圍。二手報道對涉及哪個 OTP 子系統——SSH 還是用於 TLS 的 SSL application——說法不一,若發布未經核實的範圍,可能令團隊修補至錯誤版本。請查閱針對 CVE-2026-124286 的 Erlang/OTP 上游通告,以獲取權威的受影響及已修復版本號。

  1. 修補並重啟。OTP 修復一般須重新建置及重新啟動相關應用程式;僅更換函數庫不會生效。應據此為消息隊列代理及聊天伺服器規劃重啟時段。
  2. 留意修補滯後。若某封裝中間件項目尚未推出 OTP 更新,須明確追蹤其進度——暴露風險在於依賴項,而非自身的代碼。

對香港及其他地區依賴封裝 Erlang 服務的 IT 團隊而言,這一教訓雖屬老生常談卻仍值得重申:漏洞存在於大多數機構未有監控的層面,而它所破壞的憑證檢查,正是所有人假設永遠啟用的那些。

來源:The Hacker News, https://thehackernews.com/2026/11/critical-erlangotp-tls-flaw-could-let.html

新聞來源 / Original News Source