hn.today

Security Incident on Hex.pm

hex.pm19 points0 comments
Screenshot of Security Incident on Hex.pm

On November 23, 2026, an attacker exploited CVE-2026-129514 to run operating-system commands on six Hex.pm web servers. Unauthenticated requests containing crafted Erlang terms passed through a decoder that allowed fake Elixir structs. Error-reporting and inspection code then invoked attacker-selected library behavior, ultimately reaching a database-stream callback that could execute commands. Hex.pm blocked the traffic and deployed a fix within minutes. Its investigation found no evidence of altered packages, database writes, or persistent access, but database reads and access to some stored data cannot be ruled out because they were not logged. Potentially exposed information includes email addresses, password and API-key hashes, two-factor authentication secrets, sessions, and audit logs. The team also identified a related vulnerability in Ash pagination, fixed in Ash 3.38.0.

Hex.pm replaced credentials that affected servers could have accessed, including storage, CDN, email, and database credentials, and rotated session and access-token signing keys, logging users out. It reported the breach to Swedish, US, and EU authorities and is developing a registry-signing system that supports key rotation. Until updated Hex clients are available, users should fetch packages only from repo.hex.pm, not third-party mirrors. Users are also urged to change their Hex.pm password, reset two-factor authentication and save new recovery codes, then update their Hex client and related tools when the release arrives. Because email addresses may have been exposed, users should scrutinize messages claiming to come from Hex and report suspicious ones. Further fixes are planned across Plug Crypto, Plug, Ecto, and DBConnection to prevent similar chains of unsafe struct handling.

Read on hex.pm0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

1Password Security Incident

1Password Security Incident

An attacker accessed some 1Password backend systems and copied limited account information, including names and sign-in email addresses, for a subset of customers. Customer vaults, their contents, and the keys protecting them were not affected; 1Password contained the incident and rotated internal credentials. (1password.com)

T3code Backslash

T3code Backslash

A post alleges that T3 Code enabled telemetry by default, collected detailed usage and device data, and hashed identifiers from local Codex and Claude credentials without clear consent. It says maintainers rejected requests for an easy opt-out despite previously promising no telemetry unless users opted in. (twitter.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.

Security Incident on Hex.pm · hn.today