DKDKCISSP
VulnerabilitiesINCIDENT

Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers

Hackers exploited a critical vulnerability in Hex.pm, compromising six servers and potentially accessing user data.

DKCISSP News Desk25 Nov 2026, 2:36 pm3 min read
Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers
Image courtesy of The Hacker News. Original report

An attacker executed operating system commands on six production servers of Hex.pm, a package registry for Elixir and Erlang developers, by exploiting a critical vulnerability present since 2016. The flaw, tracked as CVE-2026-129514, received a maximum CVSS score of 10.0, indicating a severe risk to the affected systems.

The attack occurred on a Monday, when the attacker sent unauthenticated POST requests that triggered a vulnerability in the Hex.pm server code. The Hex.pm team quickly responded, patching all servers within approximately 15 minutes of the first malicious request. Despite the rapid response, the team could not confirm whether the attacker accessed sensitive user data, including email addresses and password hashes.

The vulnerability allowed the attacker to run arbitrary operating system commands due to a flaw in the request body parser used by Hex.pm. This parser, which processes requests in an Erlang data format, was designed to be safe. However, it accepted a specific data structure that enabled the attacker to execute a function of their choice through error reporting code, ultimately leading to command execution on the server.

In general, remote code execution (RCE) vulnerabilities allow an attacker to execute commands on a target machine from a distance, often without needing physical access. These vulnerabilities can be exploited through various means, such as sending specially crafted requests to a server that fails to properly validate input. In this case, the flaw in Hex.pm's parser allowed for such exploitation, ultimately compromising the integrity of the server's operations.

The attack specifically targeted six production servers of Hex.pm, which is used by developers to manage dependencies for Elixir and Erlang applications. The Hex.pm team conducted thorough checks following the incident, confirming that no packages were altered during the attack. However, they noted that the potential for data access could not be ruled out, as logs did not capture all relevant activity.

The timeline of events began with the exploitation occurring on Monday, with the first malicious request logged between 18:16 and 18:29 UTC. The Hex.pm team patched the servers by 18:31 UTC the same day, and a report of the incident was sent to various authorities, including the Swedish data protection authority and CISA in the United States, later that night.

In response to the incident, the Hex.pm maintainers logged out all users and replaced session and access token signing keys to mitigate further risk. Users were advised to change their passwords, especially if they had weak passwords, although API keys did not require replacement. The team also recommended that developers who only fetch public packages should continue to do so from the official repository and avoid third-party mirrors until further notice.

What remains unclear is whether any sensitive data was accessed during the attack, as the logs did not capture database reads or other potential data access. The identity of the attacker is also unknown, although activity from the two addresses involved suggests prior testing against a local copy of Hex.pm. The team continues to monitor the situation and is taking steps to ensure the security of their systems.

What security teams should do

  • Developers should change passwords, particularly if they are weak.
  • Organizations running their own copies of the Hex.pm registry should deploy the latest patch.
DKCISSP VIEWOur take, not reported fact

What it meansA critical vulnerability in Hex.pm allowed attackers to execute commands on servers, potentially compromising user data.

Ask your IT team this weekHow do we ensure all our package registries are up to date with the latest security patches?What measures are in place to monitor unauthorized access to our systems?

DecisionThe IT team will deploy the latest security patches for all affected systems, and security will verify completion.

MORE IN VULNERABILITIES

More cybersecurity reporting

Unpatched Cacti Zero-Day Enables RCE in Just Four HTTP Requests via Guest Access29 Nov 2026, 1:54 pmMicrosoft Store App Found Delivering Vinci RAT Capable of Remote System Control28 Nov 2026, 1:33 pmHackers Exploit 10 Vulnerabilities Across Mitel, Juniper, Vates, and Danfoss Products26 Nov 2026, 8:44 pmDrupal Warns of New Highly Critical Site Takeover Vulnerability Under Active Exploitation26 Nov 2026, 12:42 pm