PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 close CVE-2026-109618 and CVE-2026-109619. Every PHP install serving web requests is at risk, mod_php most of all, and PHP 8.1 and older get no official fix.
Hex.pm breach: Elixir registry users asked to reset passwords and 2FA
EditorialBy TrustList Editorial
An unauthenticated request chain ran commands on six hex.pm web servers on 23 November. Packages checked out clean, but database reads were not logged, so Hex asks every account to change its password and 2FA secret.
- Cybersecurity
- Application Security
- Vulnerability Management
- DevOps
- +1 more
About Hex.pm breach: Elixir registry users asked to reset passwords and 2FA
Hex.pm breach: Elixir registry users asked to reset passwords and 2FA
24 November 2026: An attacker ran commands on six of hex.pm's web servers on 23 November through CVE-2026-129514, a flaw in how the registry for Elixir, Erlang and Gleam packages decoded unauthenticated requests. The Hex team found no altered packages and no database writes, but because database reads are not logged it cannot rule out that email addresses, password hashes, API key hashes, 2FA secrets, sessions and audit logs were copied. Every user is asked to change their password and set up a new authenticator secret.
The attack lasted 13 minutes. Hex's own timeline puts 69 malicious requests between 18:16 and 18:29 UTC; a firewall rule went in at 18:27, and by 18:31 every server had been replaced with a patched build. A security report describing the same flaw arrived by email at 19:07. Hex reported a personal data breach to IMY, the Swedish data protection authority, notified CISA and sent an early warning to ENISA that night, and published the CVE on 24 November.
A logging path that became an execution path
The entry point was a parser for the application/vnd.hex+erlang content type that ran before routing and authentication, so any POST to any route reached it. It used Plug.Crypto's safe decoder, which blocks functions and new atoms but let maps through, and an Elixir struct is only a map with a __struct__ key. A forged struct raised an error, and the error reporters (Sentry, Bandit's logger and the JSON log formatter) called inspect on it. From there the chain hopped through Ecto's Inspect implementation and a DBConnection stream whose :log option, taken from the request, named a function to run. That gave command execution as the BEAM's user.
The fix, hexpm commit 379b0a2, rejects any decoded term containing a struct and returns a 400. Hex also lists hardening for plug_crypto, plug, ecto and db_connection; the db_connection change is tracked as CVE-2026-133555.
What Hex checked, and what it could not
All 23 releases published during the incident match the audit log, no older release changed, and the 62 package files and 186 registry files written after 18:00 match the checksums in the database. Documentation archives have no stored checksum, and reads of private documentation are not logged. Reads of private packages in the window line up with releases those organisations published at the time, but a read from a compromised server would look like one of Hex's own; Hex says it will contact affected organisations directly.
The servers' credentials for storage, the CDN, email and the database were all rotated, along with the keys that sign sessions and tokens, which logged everyone out. The registry signing key could not be rotated yet. Hex is building a signing system that supports rotation and will ship new clients for it; until then it asks users to fetch packages only from repo.hex.pm and not to trust third-party mirrors.
Steps for teams that build on Hex
- Change the password at hex.pm and, under Authenticator App on the security dashboard, choose Setup New App. This works even where an organisation requires 2FA, and it issues new recovery codes.
- Point builds at repo.hex.pm only, and once the new client is out run
mix local.hex --forceand update rebar3 or Gleam. - Treat email that claims to come from Hex with care, since addresses may have leaked; forward doubtful ones to security@hex.pm.
- Check for Ash. While investigating, Hex found the same class of flaw in Ash's keyset pagination, which could lead to command execution or SQL injection. Ash 3.38.0, released on 24 November, fixes it as CVE-2026-124283.
Unlike the agent-framework releases on PyPI earlier this month, where the packages themselves carried a credential stealer, the evidence here points at the registry's servers and account data rather than the code people downloaded.
Elixir shops in our catalogue
Much Elixir work is done by specialist agencies, and several are listed with us: AppUnite in Poland, Coletiv in Portugal, and Curiosum, Crafting Software, Hashrocket and Alembic, which builds with the Ash Framework and so has the extra Ash upgrade on its list. A client who has one of them maintaining a Phoenix or Ash application can reasonably ask whether its publishing accounts and CI API keys have been rotated, and whether any build fetches from a mirror.
Sources
- Hex: Security incident on hex.pm, 24 November 2026
Categories & features
- Cybersecurity
- Application Security
- Vulnerability Management
- DevOps
- Web Development
TrustList Weekly
The week in software and IT, in one email
The news that matters to buyers, new rankings and our own research. Every Thursday, free, and easy to leave.
You may be interested in
SA-CORE-2026-014 scores 19 out of 25. Sites on 11.2 or 10.5 and older have no patch; uninstalling the Field UI module blocks the flaw until an upgrade is possible.
One flaw sits in image optimisation of SVG files and reaches back to Next.js 10; the other hits the use cache directive in 16.x and has no workaround. A third advisory fixes a Server Actions denial of service.
The 25 November Jenkins advisory covers 11 plugins and 21 CVEs; seven issues are rated high, among them sandbox bypasses in Pipeline: Groovy and Script Security and code execution in Warnings.
Seven are rated high, including an account takeover through OAuth2 auto-linking and fork workflows that receive repository secrets. Every release up to 28.2.0 is affected; there is no backport line.
Besides the bundled OpenJPEG overflow, the Python imaging library published 39 more advisories fixed in 13.0.0, including code execution from one crafted FlashPix file. One Arrow memory leak is still unfixed.
CVE-2026-111497 is rated 9.2 by Google and hits every Brotli release from 1.0.3 to 1.2.0. Envoy, the PyPI packages and Debian have shipped fixes; Ubuntu still ranks it medium.
The Wellington-built open-source CMS shipped framework releases on ten version lines at once; sites on Silverstripe 6 also need template-engine 1.0.3.
More on TrustList
Everything here links back to the same verified catalogue. Pick your next stop.
- More CybersecurityThe ranking for this subject
- CompaniesAgencies, consultancies and IT service providers, ranked by verified reviews.
- ProductsSoftware and SaaS with pricing, features, integrations and alternatives.
- AwardsAnnual recognition decided by verified reviews and an independent jury.
- LaunchesNew products and releases, voted up by the community every day.
- AI ModelsBenchmark scores and community ratings for every major model.
- RequestsBuyers describe what they need; vendors respond directly.
- PeopleReviewers, authors and makers with public profiles.
- ComparePut up to four listings side by side before you shortlist.