$ techbeacon▋
CVE & Exploits

Critical Remote‑Code‑Execution Flaw in Hex.pm Registry Patched After Multi‑Server Breach

Critical Remote‑Code‑Execution Flaw in Hex.pm Registry Patched After Multi‑Server Breach

The maintainers of Hex.pm, the main package registry serving the Elixir and Erlang ecosystems, disclosed that a severe remote‑code‑execution vulnerability—rated CVSS 10—has been patched after it was exploited to breach six of the service's web servers.

According to the security advisory, the attackers gained access to the six servers on November 23, leveraging a flaw that researchers traced back to code introduced in 2016. The vulnerability allowed the threat actors to run arbitrary commands on the compromised machines, effectively giving them full control over the affected infrastructure.

While Hex.pm has confirmed that the intrusion could have enabled the theft of stored data, the company has not provided evidence of a large‑scale data exfiltration. As a precaution, all registered users have been instructed to reset their passwords immediately, and the registry is urging developers to audit any credentials that may have been reused elsewhere.

Hex.pm functions as the central hub for publishing and retrieving libraries used by thousands of applications built with Elixir and Erlang. Because these languages are often employed in high‑availability, fault‑tolerant systems, the integrity of the package supply chain is a critical security consideration. Compromised packages can propagate malicious code to downstream projects, making registry breaches a high‑impact threat vector.

In response to the incident, Hex's security team applied an emergency patch that closes the vulnerable code path and blocked further command execution on the compromised servers. The team is conducting a forensic investigation, collaborating with external security researchers, and has pledged to publish a detailed post‑mortem once the analysis is complete.

The breach underscores the growing focus on software supply‑chain security, prompting experts to call for stronger authentication mechanisms, regular dependency audits, and more transparent vulnerability disclosure processes across open‑source registries. Developers using Hex.pm are advised to monitor official communications for updates and to adopt best‑practice credential hygiene, such as unique passwords and two‑factor authentication, to mitigate future risks.

Threat Desk — Threat desk.

Comments (0)

Be the first to comment.

Join the discussion

Protected by reCAPTCHA v3

Related