decrypted · 29 november 2026 · vulnerabilities and patching · supply chain · surveillance and privacy
Hex's registry flaw: when the error handler carried the attack
Nothing broke this afternoon that outranks a flaw UK software teams have heard too little about: the hole that let an unknown attacker run commands on the servers behind Hex, the public registry for Elixir and Erlang code. It was exploited on 23 November and disclosed the next day, so this is a fresh lead rather than a development of this morning's post.
What happened
According to Hex's own incident post, an unauthorised third party exploited a vulnerability in hex.pm on 23 November. Between 18:16 and 18:29 UTC the attacker sent 69 malicious requests, and Hex deployed a fix within about 20 minutes. The flaw is CVE-2026-129514, scored 10.0 on CVSS, the zero-to-ten severity score. It is unauthenticated remote code execution: running your own commands on someone else's server without logging in. The record published by the Erlang Ecosystem Foundation says it was actively exploited against the live service.
How the trick worked
Picture a post room that opens every parcel before checking who sent it. The registry accepted request bodies in an Erlang data format, and the code that unpacked them ran before any login check, so an anonymous request reached it. The unpacker was meant to be safe, but it let through a crafted object. That object caused an error, and the error-reporting code then inspected it to describe the problem. The inspection walked into a database connection object carrying an instruction the attacker had written, and the software followed it. The logging meant to help defenders carried the attack. The record says the vulnerable code dates from February 2016.
What the defender saw
A restart at 18:28 brought up three new servers still running the vulnerable build, so six servers were hit. Hex says it found no evidence of tampered packages or database changes, and matched the 23 releases published during the incident against its audit log. The catch is that database reads are not logged. Hex therefore cannot rule out access to email addresses, password hashes, 2FA secrets (the second check on top of a password) and sessions. "No evidence" is the most any victim can say if reads leave no trace.
The Secure by Design lesson
Three decisions would have changed this. Do not run a format that can build objects before you know who sent it. Treat error paths as hostile, because they handle the strangest input you will ever receive. Assume the web process will be taken over, and limit what it can read: the record notes this one could read the database address, storage credentials and the registry signing key.
For a UK organisation the first step is cheap knowledge. Which of your CI/CD pipelines, the automated systems that build and ship your code, pull from public registries? Ask suppliers whether they log reads of sensitive tables. If your teams use Hex, its advice is to change your password, reset 2FA and fetch packages only from repo.hex.pm. Opinion, not advice.
Also this week
A digital ID app, offline for over a week. Colorado's state app, myColorado, has been unavailable since late on Wednesday 18 November after automated threat detection in its AWS environment flagged unusual usage, according to the state's own notice. About 100,000 people's data was involved, from an app with about 2.1 million users. The documents reached were user-uploaded scans and photos of IDs, registrations and insurance cards, and payment information was not involved. The state says it has no reason to believe this is part of a wider attack, and has announced no restoration date. SecurityWeek's report and the state's page differ on when notifications begin, so check the state's notice. UK readers weighing digital ID schemes should note the design question: does a service need to keep copies of people's documents at all? Data you never stored cannot be taken.
Air Force cloud intrusion. The Associated Press reported on Sunday, citing an anonymous person familiar with the matter, that hackers got into the US Air Force's Cloud One platform earlier this year, and that no mission-critical or classified systems were affected. It said Reuters first reported the incident on Friday. The same source said the incident is under review by White House security councils and that the Pentagon's cyber command has mitigated the threat. The Air Force declined to comment on specific networks. We could not confirm this with a second source, so treat it as an unverified claim. It matters because of the wider debate about how quickly attackers using AI can find weak points in shared cloud platforms, which UK defence suppliers also depend on. The question for any UK buyer of cloud is simple: who tells you, and how fast, when your provider is breached?
Sources
- Hex: Security incident on hex.pm
- EEF CNA: CVE-2026-129514, unauthenticated remote code execution in hex.pm
- SecurityWeek: Hex Package Manager Warns of Potential Data Breach
- State of Colorado: myColorado incident notice
- SecurityWeek: 100,000 Potentially Impacted by Colorado Data Breach
- SecurityWeek (AP): Hackers Got Into the Air Force Cloud Computing System but Critical Parts Not Impacted
If you want help working out which of your suppliers and pipelines could be a spare key for someone else, get in touch.
More like this
- A credit union supplier's six-week gap between fixing a flaw and finding the breach 22 november 2026
- Ofcom's age-check shortlist: the question is what gets kept 30 october 2026
- An abandoned app's updater could have run code on millions of machines 26 october 2026
Get the next post by email: subscribe to Decrypted. Double opt-in, unsubscribe any time, or take the RSS feed.
Prefer to listen? Decrypted is on Apple Podcasts and Spotify, or paste the podcast feed into any app.