Wire Observer.
Technology

Hex.pm Breach Exposes Six Registry Servers After Long‑Standing RCE Vulnerability Is Exploited

Hex.pm Breach Exposes Six Registry Servers After Long‑Standing RCE Vulnerability Is Exploited

Six production servers that power Hex.pm, the primary package registry for the Elixir and Erlang ecosystems, were compromised on Monday after an attacker leveraged a remote code execution flaw rated a perfect 10.0 on the Common Vulnerability Scoring System. The breach allowed the intruder to execute arbitrary operating‑system commands on the affected machines, prompting immediate concern among developers who rely on the repository for critical software components.

The vulnerability, which originated in code that has been part of Hex.pm since February 2016, went unnoticed for more than a decade before being weaponized. Security researchers identified the flaw as an unchecked input path that could be manipulated to inject malicious commands during package handling operations. Because the defect resided in core registry logic, it granted the attacker direct access to the underlying host environment across multiple nodes.

Hex.pm’s maintainers confirmed the incident shortly after detection, noting that the compromised servers host the bulk of the public packages used by the Elixir and Erlang communities. While no evidence of stolen source code or altered packages has been released, the team is conducting a comprehensive audit to ensure that no malicious payloads were introduced into the dependency supply chain. Users are being advised to verify the integrity of recently downloaded packages and to monitor for any unexpected behavior in their applications.

The episode underscores the broader risk posed by long‑standing vulnerabilities in open‑source infrastructure. Package registries serve as a critical distribution point for millions of developers, and a single security lapse can cascade into widespread software supply‑chain attacks. Industry experts point to the need for regular code reviews, automated vulnerability scanning, and prompt patch deployment, especially for components that have been in production for many years.

In response, Hex.pm has taken the affected servers offline, applied emergency patches, and is working with security firms to conduct a post‑mortem analysis. The team also plans to roll out additional hardening measures, including stricter input validation and enhanced monitoring of command execution pathways. Developers can expect updates and guidance on best practices for verifying package authenticity in the coming days as the registry restores full service.

Source: feedburner
Kabir Rao — Security desk.

Comments (0)

Be the first to comment.

Join the discussion

Protected by reCAPTCHA v3

Related