Hex.pm is the public package registry that Erlang and Elixir developers rely on every day, so a breach there reaches far beyond one website. Hex disclosed that an attacker exploited a critical flaw in its web servers, and some account data may have been exposed.
In this article, we will explore the timeline, which users must reset credentials, what investigators have and have not confirmed, and a practical numbered plan for individual users and teams that depend on Hex packages.
Timeline of the Incident
A registry breach is easiest to follow when the events are laid out in order. According to eSecurityPlanet, which summarized Hex’s own incident report published on 24 November 2026, the attacker exploited the flaw on 23 November, with times given in UTC (Coordinated Universal Time, the standard clock that avoids time zone confusion). The advisory is tracked as GHSA-9pmm-hf4r-27pg, and the maintainers rated the flaw 10.0 on the CVSS scale, which is the top of a zero-to-ten severity range.
The table below puts the reported moments side by side. The times come from the reporting we reviewed, and the last row is our own labeled illustration, not a figure from Hex.
| Moment (UTC) | What was reported | Source or label |
| 23 November | Attacker exploits a critical flaw on Hex.pm web servers | Hex incident report, via eSecurityPlanet |
| 18:16 | First of 69 tracked malicious requests | Hex incident report, via eSecurityPlanet |
| 18:29 | Last of the 69 tracked malicious requests | Hex incident report, via eSecurityPlanet |
| 18:31 | All affected servers replaced with a patched build | Hex incident report, via eSecurityPlanet |
| 24 November | Hex publishes its incident report | Hex incident report, via eSecurityPlanet |
| 26 November | eSecurityPlanet publishes its summary | eSecurityPlanet |
| About 15 minutes | Gap from first request to patched servers | Illustration based on the stated times |
One caution about the table. The summary we reviewed does not repeat the calendar date next to the 18:16 and 18:29 times, so the idea that they fall on 23 November is a presumption that the same window is meant. It is a sensible reading, but it is still a reading.
Working Through the 15-Minute Illustration
Here is the arithmetic, labeled as an illustration built only from the stated times. The malicious requests ran from 18:16 to 18:29, which is a window of 13 minutes. The servers were replaced at 18:31, which is 2 more minutes after the last tracked request. Adding the two gives 13 plus 2, or 15 minutes from the first tracked request to patched servers.
What does that number tell you? It shows how short the tracked window was, and it also shows how little the number settles. Fifteen minutes is enough time for an automated process to read a lot of data, and the breach report itself says Hex cannot tell what was read. A short window is good news about duration. It is not proof about exposure, and the next sections explain why.
What Kind of Flaw Was It
The reporting says only that the flaw let the attacker run commands on the web servers, and that the article gives no further technical detail. We will keep to that. As general knowledge, flaws that allow remote command execution are rated at the top of severity scales because they hand an outsider the same powers as the software itself, and that is why a score of 10.0 draws such attention. This article gives no exploit detail, and nothing here should be read as a description of how the attack worked.
Accounts Affected and Reset Requirements
The first question most readers have is whether they must do anything today. According to the incident report as summarized by eSecurityPlanet, Hex asks users to reset their Hex account passwords. If you use authenticator-based two-factor authentication (2FA, a second sign-in check using a rotating code from an app on your phone), Hex also asks you to reset that.
Password Resets
The password reset applies to Hex accounts in general, not only to people who noticed something odd. The reason is simple. Because Hex did not log database reads, it cannot say whether stored credentials were viewed, so the safe move is to treat them as possibly exposed. Hex stores password hashes, which are scrambled versions of passwords that are hard to reverse. That is a real protection, but hashes can sometimes be attacked offline when the password is weak or reused, which is general knowledge and not a claim about this incident.
If you reused your Hex password anywhere else, change it in those places too. This is general password hygiene, and it matters here because a possible exposure of hashes is exactly the case where reuse becomes a problem. A password manager makes it easy to give every account a unique, long password.
Authenticator Resets and GitHub Sign-In
The reset instruction for 2FA covers people who sign in with GitHub as well, as long as they turned on 2FA on Hex itself. That detail is easy to miss. Signing in through GitHub does not exempt you if you also enabled Hex 2FA, because the possibly exposed material is the secret that Hex holds for your authenticator, not your GitHub login.
In general terms, an authenticator secret is the shared value that lets your app and the server compute the same six-digit code. If a copy of that value leaked, whoever holds it could generate valid codes. Resetting means disabling the old registration and enrolling again, which produces a fresh secret. The exact screens belong to Hex, so follow the official instructions and check them for changes.
API Keys Are Treated Differently
API keys are the tokens that tools and automation use to publish packages without typing a password. Hex says that possible exposure of stored API key hashes alone does not require rotating API keys. The sentence matters because some readers will assume every credential must be replaced.
That does not mean you should never rotate keys. In general, rotating a key that you no longer need, or one that sits in many old build systems, is cheap and sensible housekeeping. But Hex’s own guidance, as reported, does not make it a required response to this incident, so there is no need to panic or to halt releases over it.
Known Facts Versus Open Questions
Incident reports are most useful when you can separate what was confirmed from what is still a guess. The reporting we reviewed is fairly candid on this point, and it is worth reading closely, because the unknowns decide how careful you should be.
What Investigators Report as Known
Hex says its investigators found no package tampering and no continued attacker access. All 23 releases published during the incident matched entries in the audit log, which is the record of who published what and when. Older releases were unchanged. Hex also rotated infrastructure credentials, and it rotated the keys that sign sessions and access tokens. As a side effect, users were logged out of the website and of clients, so an unexpected sign-out around this time is explained by the rotation and is not a sign your account was singled out.
The table below sorts the main points into confirmed, reported but limited, and unknown. The classification is ours, based on the wording in the coverage.
| Question | Status | Notes |
| Were the 23 incident-window releases altered | Reported as no | All matched audit log entries |
| Were older releases altered | Reported as no | Described as unchanged |
| Does the attacker still have access | Reported as no | No continued access found |
| Were email addresses, password hashes or 2FA secrets viewed | Unknown | Database reads were not logged |
| Was the registry metadata signing key read | Unknown | Rotation still awaited at the time of the 24 November report |
| Did the attacker download private packages | Unknown | Observed downloads matched legitimate releases, but direct cloud storage reads were not logged |
Why Unlogged Database Reads Matter
The most important unknown is the simplest to state. Hex did not log database reads, so it cannot tell whether email addresses, password hashes or 2FA secrets were viewed. When logs do not exist, the defensible position is not “nothing happened” but “we cannot rule it out.” That is why the reset requests go to everyone and not just to a subset.
As general knowledge, this is a common gap. Many services log writes, such as a package being published, far more carefully than reads, because writes change the system and reads leave no trace by default. The gap does not mean Hex was careless in an unusual way. It does mean that confidence about read-only theft will always be lower than confidence about tampering, where an audit trail exists.
The Signing Key Question
The second unknown concerns a signing key. A signing key is a secret used to create a digital signature, which lets a client check that registry metadata, such as the list of available package versions, really came from the registry and was not changed in transit. Per the 24 November report, whether the attacker read the registry metadata signing key was unknown, and the key was still awaiting rotation.
Why would that matter? If a signing key were copied, a person with the key and a position on the network between you and the registry could, in theory, present forged metadata that clients would trust. Hex has not said this happened, and we are not saying it did. It is the reason Hex has told users to fetch packages only from repo.hex.pm until a new signing system is available, and it is the reason a client update is planned. Rotating a signing key is also more involved than resetting a password, because clients have to learn to trust the new key, which is likely why it was still pending.
The Private Package Question
A third unknown involves private packages, the ones organizations keep inside Hex for internal use. Investigators saw downloads that matched legitimate releases, but direct reads from cloud storage were not logged. So it remains open whether any private package download during the incident came from the attacker. Teams that host private packages on Hex should treat the contents as possibly seen and think about what secrets, such as embedded credentials, might be sitting in that code.
Practical Actions for Hex Users and Dependent Teams
The following list combines what Hex asked for with a few general-knowledge habits that fit the situation. Items that go beyond the reporting are labeled. This is general information and not security advice for any specific system, and the official Hex incident report should govern where details differ.
- Reset your Hex account password now, using a long unique password from a password manager, and change any other account where you reused it.
- Reset your authenticator-based 2FA on Hex, including if you sign in with GitHub and turned on 2FA inside Hex, because Hex asked for this specifically.
- Expect to be signed out of the website and of clients, and sign in again after the resets, since Hex rotated the keys that sign sessions and access tokens.
- Fetch packages only from repo.hex.pm until Hex announces a new signing system, as the maintainers advised.
- Update your Hex client when the signing update is released, using the command Hex gave as an example for Mix users, which is mix local.hex –force, and check the official notice for the current instructions before running it.
- Pin and verify your dependencies, which is general knowledge. Commit your lockfile, review changes to it in code review, and prefer builds that fail when a package hash differs from the recorded value.
- Review recent dependency changes in your projects, which is general knowledge, and compare what was resolved around the incident window with what you expected.
- If you publish packages, check your own release history for anything you do not recognize, and consider rotating keys you no longer need even though Hex says exposed API key hashes alone do not require it.
- If you host private packages on Hex, search that code for embedded credentials and rotate any you find, which is general knowledge prompted by the open question about private downloads.
- Watch Hex’s official channels for updates, because the signing key rotation was still pending at the time of the report.
A note on ordering. Items one to five are the actions the maintainers asked for, and they should come first. Items six to ten are sensible habits that cost little, and they can wait for a calm afternoon if the first group takes your day.
What Can Wait
Not everything is urgent. A full audit of every dependency in every project is not required by anything Hex has reported, because investigators found no tampering and the 23 releases from the incident matched the audit log. Rewriting your build pipeline is also unnecessary. The sensible approach is to do the requested resets, adjust where packages are fetched from, and then apply the checks you should have in place anyway.
Supply Chain Context for Package Registries
This section is general knowledge and is not drawn from the reporting about the incident. Details may have changed, and readers should check the official source for their own tools.
What a Package Registry Does
A package registry is a public catalog where developers publish reusable code and where build tools fetch it. When you add a dependency to an Elixir or Erlang project, your tooling asks the registry for the version list, picks versions, downloads them, and compiles them into your application. Most modern software is assembled this way, which makes registries enormously convenient and also makes them attractive targets.
Why Registry Breaches Draw Concern
The worry with any registry compromise is the supply chain, meaning the chain of code and services that your software depends on. If an attacker could alter a popular package, every project that updated afterward could pick up the change, often without anyone reading it. That is why the statements that no tampering was found and that all releases in the window matched the audit log are the most reassuring parts of this story, and why the unknown signing key is the most closely watched part.
There are two separate kinds of harm to keep apart. One is account harm, where credentials or personal details are exposed, which is what the password and 2FA resets address. The other is package harm, where the code people download is altered, which is what investigators say they did not find. This incident, as reported, is mainly about the first kind with an open question mark over the signing key.
Lockfiles and Hash Pinning in Plain Terms
A lockfile records the exact versions your project resolved, so that every machine builds the same thing. Many ecosystems also record a cryptographic hash, a short fingerprint of the package contents, so that a changed package fails the check. Pinning means insisting on those recorded values and refusing to continue when they differ. As general knowledge, these two habits blunt a wide range of registry problems, because a tampered package would not match the fingerprint you already stored.
They are not a complete defense. A lockfile protects what you already resolved and does not judge a brand new package or a legitimate maintainer who turns malicious. Review of changes, a modest number of dependencies, and attention to maintainer announcements still matter.
Conclusion
Hex.pm was hit on 23 November by an attacker who used a critical flaw to run commands on six web servers. Hex tracked 69 malicious requests between 18:16 and 18:29 UTC and replaced the servers with a patched build at 18:31 UTC, a span of about 15 minutes by our own illustration. Investigators report no package tampering, no continued access, and a clean match between the 23 releases published during the incident and the audit log.
Several things remain unknown. Hex cannot say whether email addresses, password hashes or 2FA secrets were viewed, because database reads were not logged. It also cannot say whether the registry metadata signing key was read, and that key was still awaiting rotation when the report was written. Whether the attacker downloaded private packages is likewise open, since direct cloud storage reads were not logged.
The main takeaway for readers is to act on the parts that are clear. Reset your password, reset your authenticator, fetch from repo.hex.pm, update your client when the signing update arrives, and keep your lockfile and hash checks strict. Then watch the official Hex channels for the signing key follow-up.
You may want to know what NGINX2Root is, how five critical NGINX flaws could affect your systems, and which practical steps can help you patch them. Learn more: https://techgili.com/nginx2root-explained-five-critical-nginx-flaws-and-a-practical-patch-checklist/
Frequently Asked Questions
Do I Need to Change My Hex Password if I Only Download Public Packages?
If you have a Hex account, Hex has asked account holders to reset their passwords because it cannot tell whether stored credentials were viewed. If you never created an account and only fetch public packages, there is no password to reset. In that case your tasks are fetching from repo.hex.pm and updating the client when the signing update is released.
Does Signing in with GitHub Mean I Can Skip the 2FA Reset?
No, not if you enabled 2FA on Hex itself. Hex asked for authenticator resets from users who use authenticator-based 2FA, including those who sign in through GitHub and turned on Hex 2FA. Check your Hex security settings and follow the official instructions.
Were Any Hex Packages Tampered with During the Breach?
According to the investigators’ findings as reported, no. All 23 releases published during the incident matched audit log entries, and older releases were unchanged. Hex also reported no continued attacker access, though the signing key question is still open.
Why Am I Being Told to Fetch from the Official Repository Only?
Hex advised this until a new signing system is available, because it does not yet know whether the registry metadata signing key was read. Using the official repository address reduces the chance of trusting metadata from a different source. When the signing update arrives, Hex has said clients should be updated, with mix local.hex –force given as the example for Mix.
Do I Have to Rotate My Hex API Keys?
Hex says that possible exposure of stored API key hashes alone does not require rotating API keys. Rotating unused or widely copied keys is still good general housekeeping. Follow the official guidance if it changes.

