Hex package manager hit by attack, patches critical remote code execution flaw
On November 23 the Hex service was compromised through an unauthenticated deserialization bug (CVE-2026-129514) that enabled remote command execution. The attacker issued 69 malicious requests across six web nodes, but the provider halted the traffic and redeployed patched servers within about twenty minutes. No tampering of packages was observed, yet the possibility of leaking emails, password hashes or two‑factor secrets remains.

On November 23 the Hex package manager, which serves the Elixir and Erlang ecosystems, was breached through its public web infrastructure. Attackers leveraged an unauthenticated deserialization flaw (CVE‑2026‑129514, CVSS 10) to run operating‑system commands by sending a crafted Erlang external term format in the request body. From 18:16 to 18:29 UTC a total of 69 malicious calls were directed at six different web nodes.
Hex states that no signs of unauthorized package uploads, database modifications, or persistent footholds have been found. Nevertheless, the company cannot rule out that the adversary may have read records such as user e‑mail addresses, password hashes, API‑key hashes, session data, two‑factor authentication secrets and audit logs, because all accesses to private packages originate from Hex’s own servers and those reads are not logged.
The response involved swapping every hex.pm instance with patched machines at 18:30, followed by a firewall rule that stopped the attacker’s traffic at 18:33. In parallel, the service rotated credentials for storage, CDN, email, database and the signing keys used for sessions and access tokens, which logged every client out. Researchers also disclosed that the same class of vulnerability affected other Elixir projects – the Ash Framework (CVE‑2026‑124283), db_connection (CVE‑2026‑133555) and flop (CVE‑2026‑130411) – all of which were patched shortly after the incident.
Hex advises all account holders to change their passwords immediately and re‑enable two‑factor authentication. Users are also asked to refrain from pulling packages from unofficial mirrors and to rely exclusively on the official repo.hex.pm until new client releases, featuring key‑rotation support, become available. Recipients of suspicious emails claiming to be from Hex should verify the destination links before interacting.
Why it matters for your organization
Security leaders should confirm the authenticity of third‑party packages, enforce credential rotation, and audit registry access while directing developers to the official Hex repository only.
Original source: SecurityWeek
Related Content
Recommended by topic similarity, tags and risk vectors of this article
Neural Override: Python RAT with Autonomous AI Targets SCADA Systems
Unit 42 discovered a Python‑based remote‑access trojan that leverages large‑language models to orchestrate attacks without operator input. The malware talks to a Telegram bot, calls the OpenRouter API and includes an undisclosed component that may target industrial control environments. Its version history reveals a rapid increase in capabilities, suggesting AI‑assisted code generation.
WhatsApp forces logout of iPhone users on legacy iOS
Meta announced that WhatsApp will automatically sign out accounts on iPhones running outdated iOS versions. The logout is triggered when the device shows evidence of compromise from a web‑based exploit, and re‑access is only possible after updating the OS.
German public transport ticketing apps offline for nearly a week after suspected cyberattack
A German tech vendor reported a security incident that disabled several public‑transport ticketing applications for almost a week. Riders in regions such as Berlin, Brandenburg, Bielefeld, Dresden and Mainz were unable to buy, renew or view tickets. The attacker’s identity and any data exposure remain uncertain.
