Hex Says Attackers Accessed Web Servers; Potential Database Exposure Cannot Be Ruled Out

Summary
Hex says attackers exploited a critical deserialization flaw to run commands on six web servers. It found no evidence of package modifications or persistent access, but cannot rule out database exposure and rotated credentials and signing keys.
Key points
- Hex says attackers exploited an unauthenticated deserialization flaw in hex.pm on November 23 to execute commands on six web servers.
- Hex blocked the attack, replaced the servers with patched versions, and addressed the underlying defect within 20 minutes.
- Hex found no evidence of unauthorized package modifications, database changes, or persistent attacker access.
- Potential access to email addresses, password and API-key hashes, sessions, two-factor authentication secrets, and audit logs cannot be ruled out; database and private-documentation reads are not logged.
- Hex replaced storage, CDN, email, and database credentials, as well as session and access-token signing keys, logging users out.
- Hex recommends users change their passwords and reset two-factor authentication, and avoid third-party package mirrors in favor of repo[.]hex.pm.
Article Details
- Victim Organization
- Hex
- Victim Domain
- hex.pm
- Incident Type
- Cyberattack involving exploitation of an unauthenticated deserialization vulnerability to execute OS commands and gain remote code execution on Hex web servers.
- Data Types Exposed
- Potentially accessible database contents: email addresses, password hashes, API key hashes, session data, second-factor authentication secrets, and audit logs
- Potentially accessible private package or documentation contents
- Operational Impact
- The attacker sent 69 malicious requests between 18:16 and 18:29 UTC, affecting six web servers. Hex replaced its servers with patched versions at 18:30 and its firewall blocked the attacker’s traffic at 18:33. Hex said it found no evidence of package modifications, database changes, or continued attacker access. It rotated storage, CDN, email, and database credentials, as well as session-signing and access-token keys, logging users out. Potential access to database contents and private materials could not be ruled out.
- Ransom Or Extortion
- None reported
- Claim Status
- confirmed
MITRE ATT&CK
CVE
CVE-2026-124283ash-project · ashAsh patched the flaw (tracked as CVE-2026-124283) on November 24, warning it could lead to code execution or SQL injection.CVE-2026-129514hexpm · hexpmThe attackers exploited an unauthenticated deserialization of untrusted data bug (tracked as CVE-2026-129514, CVSS score of 10) that allowed them to execute OS commands via a crafted Erlang external term format requestCVE-2026-130411woylie · flopAssociated security defects were also patched in two other Elixir libraries: namely db_connection (CVE-2026-133555) and flop (CVE-2026-130411).CVE-2026-133555elixir-ecto · db_connectionAssociated security defects were also patched in two other Elixir libraries: namely db_connection (CVE-2026-133555) and flop (CVE-2026-130411).
