台灣 AI x AEC 情報BY FBI SICENTER
AI × AEC · CURATED INSIGHT

Elixir Package Registry Hex.pm Suffers Deserialization Attack, Rotates Credentials and Patches Flaw

Cybersecurity and privacy · AI coding

Hex.pm, the package registry for Erlang and Elixir, was breached on November 24 via a critical deserialization flaw (CVE-2026-129514) on six servers. Although blocked within 20 minutes with no package tampering found, the team could not rule out read leaks of credentials or signing keys, prompting password resets, 2FA reconfiguration, and key rotations.

Elixir Package Registry Hex.pm Suffers Deserialization Attack, Rotates Credentials and Patches Flaw
AI-generated concept illustration; not an event photograph.

Hex.pm, the package repository for Erlang and Elixir, was infiltrated in the early hours of November 24. Attackers exploited a critical deserialization vulnerability (CVE-2026-129514, CVSS 4.0 score 10) present since February 2016 to remotely execute operating system commands on six web servers. Hex.pm stated that the incident was mitigated and patched within 20 minutes, logging 69 malicious requests. Investigations found no evidence of modified database entries, tampered packages, or persistent backdoors. However, because database read actions were unlogged, the team could not rule out exposure of user emails, password hashes, API key hashes, two-factor authentication keys, private packages, or package registry signing keys. In response, Hex.pm rotated credentials across databases, storage services, and token signing, force-logged out all users, and urged developers to reset passwords and 2FA. The team is developing a new client supporting key rotation and advised developers to avoid third-party mirrors temporarily and download only from official channels. Flaws discovered during the probe in ecosystem libraries such as Ash, Flop, and db_connection have also been patched.

Key takeaways

  • Attackers leveraged critical deserialization flaw CVE-2026-129514 across six web servers; the exploit was mitigated within 20 minutes.
  • No package tampering was detected, but unlogged read access leaves potential theft of keys, hashes, and private packages unconfirmed.
  • Hex.pm revoked active sessions, rotated core credentials, and advised users to update credentials and bypass third-party mirrors.
  • Related vulnerabilities identified during the probe in ecosystem libraries like Ash, Flop, and db_connection have been patched.

Source:iThome Read the original ↗

Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.

← All articles