On Monday, attackers successfully executed operating system commands on six production servers of Hex.pm, a package registry used by Elixir and Erlang developers. The breach exploited a remote code execution vulnerability, CVE-2026-129514, which had been present in the registry's code since February 2016. This flaw allowed unauthenticated POST requests to execute arbitrary commands, compromising the integrity of the package registry. Within 15 minutes of detecting the malicious activity, the Hex.pm team had patched all affected servers. Although no package modifications were found, the possibility of unauthorized access to account data such as email addresses, password hashes, and two-factor authentication secrets remains. As a precaution, all users have been logged out, and session keys have been replaced. While API keys are considered secure, users are advised to change passwords, especially if they are weak. To ensure security, developers should fetch packages only from repo.hex.pm and avoid third-party mirrors until a new client is available. The incident has been reported to relevant authorities. Additionally, three Elixir libraries have addressed related vulnerabilities, although these are separate from the Hex.pm attack. Organizations running their own copy of the registry must apply the patch to protect their systems.
CVE-2026-129514: Hex.pm Servers Compromised via RCE Exploit
Attackers executed OS commands on six Hex.pm production servers via a long-standing RCE, impacting package registry integrity.
Executive Summary
Hex.pm servers were breached using a remote code execution vulnerability present since 2016, compromising server integrity. The flaw allowed command execution before routing and authentication, leading to potential data exposure. The Hex.pm team has patched the servers and taken steps to secure user accounts.
Actionable insights
PremiumWhat Premium adds to this story
- 3 concrete actions your team can take on this story
- The same on every Monday and Friday story
- Every Monday and Friday edition by email, on top of Wednesday
€2 a month. New to Premium? The first 7 days are free, no card needed.
Unlock with PremiumOriginal source
thehackernews.com

