TechBriefe
Software

Hex.pm Registry Hit by Critical RCE Attack

Kieran Mitchell 26.11.2026

A Decade-Old Flaw, Finally Patched

Hackers exploited a critical remote code execution flaw in Hex.pm, the package registry serving Elixir and Erlang developers. On Monday, the attacker executed operating system commands on six production servers. The vulnerability, rated CVSS 10.0, had lingered in the codebase since February 2016. The maintenance team patched all affected servers within approximately 15 minutes of detection.

The attack targeted the registry's core infrastructure, allowing the attacker to run arbitrary commands with elevated privileges. This level of access poses a direct threat to the integrity of the package distribution pipeline. Developers relying on Hex.pm for dependencies faced potential supply chain risks during the incident.

What Does This Mean for Developers?

The root cause was a remote code execution bug present for nearly a decade. Such long-lived vulnerabilities are common in open-source infrastructure, where maintenance cycles can be slow. The CVSS 10.0 rating indicates maximum severity, meaning the flaw allowed full system compromise without authentication. The quick patch deployment shows the team's rapid response capability.

Developers should verify their dependency chains were not tampered with during the attack window. The incident highlights the importance of monitoring package registry health. Teams using Elixir or Erlang packages from Hex.pm should audit recent installations for anomalies.

How long was the vulnerability present? The flaw existed in the registry code since February 2016. It was identified and patched within 15 minutes of the attack on Monday.

Frequently Asked Questions

What was the severity rating? The vulnerability carried a CVSS score of 10.0, the highest possible severity. This rating reflects the ability to execute arbitrary code on the server.

How many servers were affected? Six production servers were compromised. All were patched promptly by the maintenance team.

Share:

More stories: