Skip to content
CSA Labs Research·Indexed by this site · Originally published· Event →· Its place in the scan record →

Hex.pm registry server compromised: when the registry becomes the target

Hex.pm Registry Server Compromise: When the Registry Is the Target

AI summary

On November 23, 2026, an unidentified attacker exploited CVE-2026-129514, with a CVSS of 10.0, to execute system commands on six of Hex.pm's production servers for about 13 minutes. The vulnerability was in a custom request body parser that runs before routing and authentication, accepting forged Elixir structs, and unauthenticated requests achieved arbitrary code execution through a multi-library gadget chain. Hex.pm forensics found no tampering with packages or registry files, but could not rule out that email addresses, password hashes, 2FA keys and similar data were read; the signing keys were within the attacker's reach and have not yet been rotated, and if leaked, unmodified clients accessing via an attacker-controlled path could accept forged registry metadata. The report recommends that users change passwords and re-enroll 2FA, that build teams for now pull packages only from repo.hex.pm, and notes that pipelines letting AI coding agents automatically add or upgrade dependencies depend heavily on the integrity of registry metadata.

Read originallabs.cloudsecurityalliance.org