Hex.pm - A Decoder Safety Check Removed in 2016 → Unauthenticated Erlang Term Bodies Decoded Before Authentication → 69 Exploit Requests, 18:16 to 18:29 UTC → Commands Run on Six Web Servers → Patched Build Everywhere by 18:31 → No Package Changed by Hex.pm's Checks, Data Reads Not Logged → Registry Signing Key Left Out of the Rotation
Hex.pm is the package registry for Elixir, Erlang and Gleam, operated by Six Colors AB, a Swedish company. On November 24, 2026 it published a post saying that the day before, an unauthorized third party had exploited a vulnerability in hex.pm "that let them run commands on our web servers". The flaw is CVE-2026-129514, scored 10.0 under CVSS v4.0 by the Erlang Ecosystem Foundation's CVE Numbering Authority, which assigned it. The hex.pm server decoded request bodies sent in Erlang's native term format before routing and authentication, and the decoder let through values the runtime treats as structs. Chained together, by Hex.pm's account, those values ended in operating system commands running as the user of the server process. Hex.pm counts 69 exploit requests from two addresses between 18:16:00 and 18:29:33 UTC on November 23, and matched files created on six web servers to those requests. Its error tracker recorded an error for every request, its first response on the servers came at 18:23:55, every server was replaced with a patched build by 18:31, and a firewall rule denied all of the attacker's traffic from 18:33:48. Hex.pm says it found no evidence of modified packages, of database changes, or of lasting access. Four caveats belong next to the headline. Everything on this page rests on Hex.pm's own investigation: the CVE record credits the post's three authors among its analysts, the press coverage restates the post, and no outside responder has published findings. The words "no evidence" cover what was logged, and database reads, environment variable reads, shell commands, direct reads from cloud storage and reads of private documentation were not. Hex.pm says it "cannot rule out" that data stored in the database was accessed. The registry signing key, which Hex clients use to verify the registry, was readable by the compromised process and was left out of the credential rotation. And the attacker is unknown: Hex.pm names nobody, and no source this page read reports a claim of responsibility or publishes indicators of compromise.
The signing key is the open item, and as of November 29, 2026 nothing public shows it replaced. Hex.pm's post says that by 10:42 UTC on November 24 it had rotated every credential the attacker could have read, including the database password, "except the registry signing key and a few low-impact secrets". The keys it did replace are a different set, the ones that sign sessions and access tokens, which is why everyone was logged out of hex.pm and of Hex clients. A summary that says Hex.pm rotated its signing keys, without saying which, merges the two. For the registry key, the post says Hex.pm is building a new registry signing system that supports key rotation, with new Hex client releases "in the coming days", and that until then users should not trust third-party mirrors and should fetch packages only from repo.hex.pm. This page checked on November 29: the newest Hex client release is still v2.7.0, from November 6; Hex's public keys page still lists one active key, released in March 2016, with the line "Last changed: never"; and the replacement design is a draft pull request on Hex's specifications repository. Two more questions are open. The CVE record lists hex.pm as affected from February 23, 2016, and the lookbacks Hex.pm describes follow the attacker's two addresses only: request logs from November 19, 2026, and 30 days of CDN logs for private documentation. The post does not say whether older logs were searched for the same activity from anyone else. No source this page read reports earlier exploitation, and none reports a check that rules it out. And at 19:07 UTC, after the attack had ended, Hex.pm received an email with a security report describing the same vulnerability. It does not say who sent it or whether the sender has any connection to the attacker, and this page does not guess.
Hex.pm's post asks three things, in this order. The first two need a Hex.pm account, and the third is for everyone who fetches Hex packages. Change your password at hex.pm. Reset your two-factor authentication at hex.pm/dashboard/security by choosing "Setup New App" under "Authenticator App", which gives you a new secret and new recovery codes to store. Update your Hex client when the release with the new signing system is out, and until then fetch only from repo.hex.pm, not from mirrors. The post adds that email addresses may have been exposed, so be careful with emails that claim to come from Hex and check that their links lead to hex.pm. It says API keys do not need rotating, because they are 128-bit random values stored as HMAC-SHA256 hashes. One of the post's authors, writing on the Elixir Forum, adds a step between the second and third: log in to your Hex client again with mix hex.user auth or rebar3 hex user auth. Asked whether the incident affects only people with a Hex.pm account, and not someone who just runs mix deps.get, the same author answered yes: for someone who never signed up and only uses mix deps.get, "this does not apply to you". This page reads that answer as covering the account steps, since with no account there is no password or 2FA to reset. The mirror instruction is a separate matter. The post gives it in its general text, without limiting it to account holders, so on this page's reading of the post everyone who fetches Hex packages should fetch only from repo.hex.pm until the new client is out, and should update the client when it is, account or not. The same author says that people who signed up through GitHub should still log their clients back in and reset 2FA if they had set it up. Hex.pm's post asks nobody to roll back, re-fetch or audit a dependency, and by its checks no package changed. The Cloud Security Alliance's research note adds steps of its own for build teams, which are in the defender section below with their source named.
Slides: download the PDF or make your own editable copy (copying needs a Google account). The slides are licensed CC BY-NC 4.0.
The hex.pm server accepted request bodies in a content type of its own, application/vnd.hex+erlang, which carries Erlang's external term format, the runtime's native way of turning a value into bytes. Hex.pm's post says a custom parser in the endpoint handled that type, and that the endpoint ran the parser before routing and authentication, so an unauthenticated POST with that content type reached it on every route. The decoding itself was done with Plug.Crypto.non_executable_binary_to_term/2 in its [:safe] mode. By the post's account that function rejected functions and new atoms and never checked maps.
For a reader who does not write Elixir, the danger is a general one, and what follows in this paragraph is this page's explanation. A data format such as JSON can describe strings, numbers, lists and plain key-value objects. A language's native serialization format can describe any value the language has, and decoding it rebuilds those values inside the program, where other code may treat some of them specially. Erlang's documentation says the safe option keeps the runtime itself from being attacked, by refusing data that would create new atoms or external function references, and warns that the option "does not guarantee that the data is safe for your application". Plug.Crypto's documentation describes its function as a restricted decoder that forbids executable terms such as anonymous functions. A warning committed on November 24, the day after the attack, and now on that page, says that a payload which is sent to an untrusted party and decoded when it comes back should be signed or encrypted before sending and verified on receipt, because module, function and argument tuples "may still be injected" anywhere in the decoded data. In Elixir a struct, the language's typed record, is a map with one extra key that names its type, and Elixir's protocols pick which code handles a value by reading that key. A decoder that accepts any map therefore lets a stranger hand the program a value of any type the program has loaded, with every field set as the stranger chooses. The Cloud Security Alliance's research note compares the result with the deserialization chains long known from Java and .NET.
Hex.pm's post says the git history of the request decoder shows that "the safety check was removed" on February 23, 2016. The commit is public. Its message is "Fix for some bad requests", which does not say why the check went, and its diff deletes a function that accepted only numbers, binaries, booleans, lists, tuples and maps built from those. The deleted function accepted no atoms other than true and false, under a comment that says no atoms are allowed. This page has not tested how it behaved when handed a struct, and Hex.pm says only that the check was removed. The CVE record lists hex.pm as affected from that day until November 23, 2026, which is ten years and nine months (this page's arithmetic).
Seven months before the attack, in April 2026, Hex.pm published two third-party audit reports, by Paraxial.io and zentrust partners. Both reports list the hexpm server repository as in scope. Paraxial's says a full source code review was performed on all in-scope repositories, and zentrust's says its limited time did not allow every topic to be examined in depth. Both reported unsafe decoding of Erlang terms on the client side: Paraxial's finding HX-1, rated High, in the hex_core library, and zentrust's finding 5.14, rated Low, in the Hex client. Neither report names the server's request-body decoder or lists a finding against it. The reports do not say whether the decoder was examined. Hex.pm's incident post does not mention the audit.
Entry point: a custom parser for
application/vnd.hex+erlang bodies, run before routing and authentication (Hex.pm's post)Decoder: rejected functions and new atoms, placed no restriction on maps (CVE record)
Check removed: February 23, 2016, in a commit titled "Fix for some bad requests"
Affected: hex.pm from February 23, 2016 until November 23, 2026 (CVE record)
April 2026 audits: the server repository was in scope for both; neither report names this decoder, lists a finding against it, or says whether it was examined
Why it worked: a client that had not logged in could hand the server values of any type the server had loaded
Defend: accept plain data formats from clients (this page's suggestion); where a native format cannot be avoided, sign or encrypt the payload and verify it before decoding (Plug.Crypto's documentation), and validate what comes out (Erlang's documentation)
Hex.pm reviewed its request logs for hex.pm, repo.hex.pm, builds.hex.pm and hexdocs.pm for both attacker addresses, starting at November 19, 2026. It found repeated downloads of hex.pm's own dependencies, which it says "suggests" that the attacker built a local copy of hex.pm to test against. The word is Hex.pm's, and it is an inference from download records. The server's code is a public repository, so a private copy needs nothing from Hex.pm beyond packages anyone can fetch (this page's observation). How the attacker found the flaw is not known.
The review has edges, and they matter for what can be said about the ten years before. It follows two addresses, and it starts on November 19. The flaw was reachable from February 23, 2016. Hex.pm's post does not say whether older load balancer or error tracker records were searched for the same error from any other address, or how far back such records go. The Hacker News puts it in one sentence: "Exploitation before Monday has not been established." This page reads that in both directions. No source this page read reports that anyone exploited the flaw before November 23, 2026, and none reports a check that would rule it out.
On November 23 the attacker's first request of any kind arrived at 18:14:21 UTC. Hex.pm does not say what it was, so this page maps nothing to it. At 19:07, after the attack, Hex.pm received an email with a security report that described the same vulnerability. The post does not identify the sender or say whether the report has any connection to the attacker, and the CVE record credits no outside finder or reporter. This page does not call the sender a researcher, and does not tie the report to the attacker.
No ATT&CK technique is mapped to this step, because the rehearsal is inferred and not observed. Building and testing an exploit ahead of an attack would be Develop Capabilities: Exploits.
Hex.pm's reading: the attacker built a local copy of hex.pm to test against
Review window: from November 19, 2026, for the two attacker addresses
November 23, 18:14:21 UTC: the attacker's first request of any kind; what it was is not stated
Exploitation before November 23, by anyone: not reported, and not addressed in the post
The 19:07 report: an email describing the same vulnerability; sender not identified
Why it worked: not applicable; downloading a public project's dependencies is ordinary traffic
Detect: nothing here was detectable beforehand. Once a flaw like this is known, search every retained log for its error, from any address and as far back as the logs go, and say how far that was (this page's suggestion)
Hex.pm reviewed its load balancer logs for both attacker addresses and counts 69 exploit requests. The first arrived at 18:16:00 UTC and the last one to reach a server at 18:29:33, a span of 13 minutes 33 seconds (this page's arithmetic). The requests needed no account and no credential, because the parser in step 01 ran before routing and authentication. The investigation section of the post speaks of "both attacker addresses", while one line of its timeline says "the attacking address". Neither address has been published.
The route from a decoded value to a command is described here at the level of Hex.pm's summary. The forged struct became the request's parameters. An ordinary early stage of request handling tried to read a field from it and raised an error. Error reporting then did its normal job of turning the request data and the stack trace into text for the error tracker and the logs. In Elixir the code that renders a value is chosen by the value's type, and the attacker had chosen the type. From there, by Hex.pm's account, a chain of type-driven calls through the Ecto and DBConnection database libraries reached a point where the server called a module, function and argument list taken from the request, which led to operating system command execution "as the BEAM's user" (the BEAM is the Erlang virtual machine that runs the server). This page stops at that level on purpose. Hex.pm's post and the CVE record hold the full sequence, and nothing a defender needs from this chain depends on reproducing it. The Cloud Security Alliance's note observes that "no single step would have given code execution on its own".
The CVE record says each request ended with "the ordinary 500 response". The same error path was Hex.pm's detection: its error tracker, Sentry, recorded its first error at 18:16:00 and an error for each request, and the first response on the servers followed at 18:23:55, which is 7 minutes 55 seconds after the first error (this page's arithmetic). The Cloud Security Alliance's note points out that error reporting was therefore both a link in the chain and the alarm. A logging gap shows in a commit Hex.pm made at 20:55 that evening. Its message says the application's request log line had carried no client address and nothing about the body, so a request could be matched to its load balancer entry only by time, and a POST's content type and size were recorded nowhere. The commit adds the client address, content type and content length to that line.
This page maps the step to Exploit Public-Facing Application, because Hex.pm and the CVE record both state that the flaw was exploited against the public hex.pm service. Three chains on this site share the class. In PHP2Shell / PAN-OS the flaw is reached before any application code runs, so a login page protects nothing. SharePoint ToolShell began with unauthenticated deserialization on an internet-facing server. In Log4Shell the vulnerable code was the logging library, acting on input it had been asked to record. The resemblance is one of class, and no source connects any of them to this incident.
Authentication needed: none; the parser ran before routing and authentication
Trigger: a struct value inside an Erlang term body, rendered by error reporting
Response to each request: "the ordinary 500 response" (CVE record)
Detected by: the error tracker, with one error per request, the first at 18:16:00
First response on the servers: 18:23:55
Why it worked: the decoder let struct values through, and error reporting ran type-driven code on them
Detect: a new exception on a route that needs no login, repeating from one address, deserves a page within minutes; put each request's client address, content type and body size in the application's own log, as Hex.pm did that evening (the first half is this page's suggestion)
Hex.pm's evidence that commands ran is on the servers themselves. It matched files created on each server to the timestamps of exploit requests, and the first file appeared 3 milliseconds after a request at 18:16:46 UTC. That is the first evidence of execution, 46 seconds after the first exploit request (this page's arithmetic). The post does not say what the files were.
Six servers were hit, and three of them did not exist when the attack began. Hex.pm says a restart at 18:28 "brought up three new servers still on the vulnerable build". By then the fix had been committed (its commit is timestamped 18:26:41) and had not yet been deployed, and the team's first response on the servers had come at 18:23:55, so the restart fell inside the response. The post does not say what caused it. The Cloud Security Alliance's note calls it "A restart during the response". The word servers is Hex.pm's, and this page keeps it without guessing what kind of machine or instance each one is.
What the attacker did with the access is the gap. The post says shell commands are not logged, so which commands ran, and whether anything was downloaded to the servers, cannot be reconstructed from Hex.pm's records. What Hex.pm could check, it did. It listed running processes on the affected servers before replacing them and found no shells, and a local reproduction confirmed that the old build runs the command and the fixed build rejects the request.
This page maps the step to the parent technique, Command and Scripting Interpreter, because Hex.pm states that operating system commands ran. No sub-technique is used, because no source names the shell or interpreter.
Where: six web servers; files created on each were matched to exploit request times
First evidence: a file created 3 ms after a request at 18:16:46 UTC
Three of the six: started by a restart at 18:28, still on the vulnerable build
Which commands, and what the files were: not published; shell commands were not logged
Checked before the servers were replaced: running processes, with no shells found
Why it worked: the web application's process could start operating system commands, and nothing recorded which ones
Detect: record process starts on application hosts and alert when the application's runtime starts a shell or a download tool, which a web application should rarely do (this page's suggestion)
Hex.pm's post says the attacker's commands "could read the credentials our servers use". The CVE record is more specific: the user of the BEAM process can read the environment of the application, which holds the database URL, the storage credentials and the registry signing key. The post also says that environment variable reads are not logged. Put together, the secrets were within reach and nothing records whether they were read. This page writes that they could be read, which is as far as either source goes.
Hex.pm acted as though they had been read. At 18:47 UTC it created a replacement for the AWS access key the affected servers used, and at 18:49 it deactivated the old one. By 20:21 most infrastructure credentials had been rotated. The database password followed on November 24, and by 10:42 UTC that day Hex.pm had rotated every credential the attacker could have read, with two stated exceptions: the registry signing key, and a few secrets the post calls low-impact. The post names what was replaced: the storage, CDN, email and database credentials, and the keys that sign sessions and access tokens, which logged everyone out of hex.pm and of Hex clients. It does not list the low-impact secrets. The registry signing key is step 07.
Hex.pm also looked for use of the credentials from outside, and found none. In the storage access logs it reviewed, all 6,279 requests logged for the hexpm-prod identity came from what the post calls the three node IPs. Cloud audit logs showed no new keys, accounts or API calls from the attacker's addresses, and no writes by hex.pm's Kubernetes service accounts. That is evidence about use during the period reviewed. It does not show whether a secret was read (this page's reading).
One web process held credentials for several providers because the service spans them. Hex.pm's list of subprocessors gives Google Cloud Platform for application hosting and the primary database, Amazon Web Services for package and documentation storage, Fastly for the package repository's CDN, Twilio SendGrid for email and Sentry for error tracking.
No ATT&CK technique is mapped to this step, because no credential read is shown. If the environment was read, Unsecured Credentials would describe it.
Read or not: not logged
18:47 and 18:49 UTC, November 23: a replacement AWS access key created, and the key the affected servers used deactivated
20:21: most infrastructure credentials rotated
By 10:42 on November 24: everything the attacker could have read rotated, the database password included, apart from the registry signing key and a few secrets the post calls low-impact
Use from outside: none found in the storage access logs or cloud audit logs Hex.pm reviewed
Why it worked: every secret the application needed was readable by the application's own process, so code running as that process could read them all
Defend: give the workload short-lived credentials in place of static keys, scope each one to what the web tier does, and keep any key the web tier does not need at request time out of its environment (this page's suggestions)
The hedge is Hex.pm's own and this page keeps it as written. Because database reads are not logged, the post says, Hex.pm "cannot rule out" that the attacker accessed data stored in the database, and it lists what that data includes: email addresses, password hashes, API key hashes, 2FA secrets, sessions and audit logs. The post does not say that any of it was read. It does not say that none was. This page says neither.
On writes Hex.pm is firmer, and it explains the method. It restored a copy of the database from 18:13:59 UTC, before the attacker's first request, and compared every row of every table with the live database. Every row added, changed or removed since then was explained by an audit log entry from another address, by background jobs, or by the team's own actions during the response, and it found no unexpected change to tables, functions, roles or permissions. It states the method's limit too: a row that was changed and then changed back, or one that a later legitimate change overwrote, would not show up.
Private packages and private documentation get the same care. Reads of private packages during the period came from Hex.pm's own servers and coincide with releases the same organizations published at the time. The post then says why that does not settle it: a read made from a compromised server would look like one of Hex.pm's own. For private documentation, CDN logs show no requests from either attacker address in the last 30 days, and direct reads from cloud storage are not logged. Hex.pm says it will contact affected organizations directly. It gives no count and names none.
One measurement is left unexplained. Network traffic stayed within normal levels, the post says, except for one worker server that peaked at 0.47 MB/s against a usual maximum of 0.29 MB/s. The commands ran on web servers, and the post does not say what the worker's traffic was or whether it relates to the attack. The Cloud Security Alliance's note makes the same observation. This page does not read the peak as exfiltration, and does not read the normal levels elsewhere as proof that nothing left.
Hex.pm's advice follows from how each secret is stored. API keys are 128-bit random values stored as HMAC-SHA256, which Hex.pm considers far beyond the reach of brute force, so it sees no need to rotate them. Passwords are hashed with bcrypt, which the post says slows guessing and does not prevent it for a weak password, so it asks users to change theirs. Two-factor secrets are on the list of data that may have been read, and the post asks users to set up a new authenticator entry, which issues a new secret.
No ATT&CK technique is mapped to this step, because no read is shown. A read of the database would be Data from Information Repositories: Databases, and a read of stored packages or documentation would be Data from Cloud Storage. No exfiltration technique is mapped either.
Database reads: not logged; Hex.pm "cannot rule out" access
In the database: email addresses, password hashes, API key hashes, 2FA secrets, sessions, audit logs
Private packages: the reads seen came from Hex.pm's servers and line up with the owners' own releases; a read from a compromised server would look the same
Private documentation: no CDN request from either attacker address in 30 days; direct storage reads are not logged
Network: normal, except one worker server at 0.47 MB/s against a usual maximum of 0.29 MB/s, unexplained
Affected organizations: Hex.pm says it will contact them directly; no count is published
Why it worked: not shown to have happened; what kept it open is that reads of the database and of stored objects left no record
Detect: turn on read logging where account data and private content live, and keep it somewhere the application cannot erase. The defender section below gives the settings for PostgreSQL, Google Cloud and AWS (this page's suggestion, from the vendors' documentation)
A Hex client does not trust the registry because of the host that serves it. Hex's public keys page says the clients use Hex.pm's public key to guarantee that developers can safely fetch the registry, and it lists one active key, released on March 3, 2016, with the line "Last changed: never". The private half of that key signs the registry's files. The CVE record places it in the application's environment, which the user of the BEAM process could read. A draft specification opened in Hex's specifications repository two days after the attack, by a member of the Hex project, states the difficulty: the public half is compiled into Hex, rebar3 and Gleam, so replacing the key requires a release of every client.
That is why the key is the exception in Hex.pm's rotation. The post says every credential the attacker could have read was rotated by 10:42 UTC on November 24 "except the registry signing key and a few low-impact secrets". Hex.pm does not say the key was taken. Environment variable reads were not logged, so its records cannot show whether it was, and the Cloud Security Alliance's note says that the forensic evidence shows no misuse. This page says the key was readable and was not rotated, and nothing more.
The keys Hex.pm did rotate are the ones that sign sessions and access tokens, a different set with a different job. Replacing them is what logged every user out, and it changed nothing about the registry key.
What Hex.pm tells users to do in the meantime is one instruction, given twice in the post: do not trust third-party mirrors, and fetch packages only from repo.hex.pm, until the Hex client release with the new signing system is out. Hex's mirrors page lists repo.hex.pm, served by Fastly, as the only official location, and marks the jsDelivr and UPYUN mirrors as not official. The Cloud Security Alliance's note explains the logic, and the explanation is CSA's: clients check a signature and do not rely on the host, which CSA presumes is what lets a mirror be used without trusting its operator, and for the same reason someone holding the private key could in principle present forged registry data to any client that reaches the registry through a path that person controls. CSA's examples are a malicious mirror, an internal proxy that caches from untrusted sources, and a network position that can also defeat TLS. Fetching straight from repo.hex.pm over HTTPS narrows that.
This page checked the status on November 29, 2026. Hex.pm has published no follow-up post, and the git history of the incident post shows two small edits on November 24 and none since. The newest Hex client release is v2.7.0, dated November 6. The newest rebar3 and Gleam releases are from October. Four commits about how the client stores and sends login credentials (user sessions, tokens and repository authentication keys) have landed on the Hex client's main branch since November 27. None changes how the registry's signature is verified, and none is in a release. The public keys page is unchanged. The replacement design is a pull request titled "Registry Signing Key Management / Rotation" on Hex's specifications repository, opened on November 25, marked as a draft, and described by its author as a "Work in progress proposal". As a plan, it would put two root keys on offline hardware tokens, an intermediate key in a cloud HSM in a separate Google Cloud project, and signing keys in a key management service where the hexpm service can sign with a key and cannot export it. None of that is in effect.
No ATT&CK technique is mapped to this step, because no theft of the key is shown. If it was read from the environment, Unsecured Credentials: Private Keys would describe it. SharePoint ToolShell shows why responders care about key material that a compromised server could read: there, keys stolen from the server during exploitation let attackers keep forging requests after the patch, until the keys were rotated. That is a point about keys in general. At Hex.pm nothing shows that the key was taken.
Where it was: in the application's environment, readable by the user of the BEAM process (CVE record)
Read or not: not logged; Hex.pm does not say it was taken
Rotation: excluded, along with a few secrets the post calls low-impact; everything else the attacker could have read was rotated
Rotated, and different: the keys that sign sessions and access tokens
Hex.pm's instruction until new clients ship: fetch only from repo.hex.pm, and do not trust third-party mirrors
As of November 29, 2026: no new client release (Hex v2.7.0, November 6, is the newest); the replacement design is a draft pull request
Why it matters: clients trust the key and not the host, so a copy of the key would let another server pass verification (the Cloud Security Alliance's reasoning)
Defend: keep a signing key in a KMS or HSM behind a signer the application calls, so the application can request a signature and cannot read the key, and build rotation into clients before it is needed (the Cloud Security Alliance's recommendation, and the direction of Hex's own draft)
The question every Hex user asks first is whether a package was tampered with, and Hex.pm's answer is that it found no sign of it, with the checks listed. All 23 releases published during the incident match a publish or stage entry in its audit log, and no older release changed. Storage writes came only from Hex.pm's own services. All 62 package files written since 18:00 UTC match the checksums in the database, and all 186 registry files written since 18:00 match the database contents. The post names one thing it could not compare: documentation archives have no stored checksum. It does not define the window that "during the incident" covers.
The storage review went wider than the files. Hex.pm extended its access log review to 11,379 log objects and 15,635 records, matched each of the 288 object versions and markers listed for 18:00 to 20:00 to a log record, and found no deletes, no requests for a specific version, no permission or tagging writes, no copies, and no bucket listing by hexpm-prod. On lasting access, it found no shells in the process listings, no new cloud keys or accounts, and it replaced every server.
By Hex.pm's checks, then, no package was modified, so this page files the incident as an intrusion into a registry's own servers and keeps it apart from the poisoned-package chains on this site. The contrast is the Microsoft agent-framework PyPI hijack six days earlier, where two malicious versions were published under a real project's name and had to be removed. Nothing like that is reported here. What remains for people who depend on Hex runs through two other things: the signing key in step 07, and the account data in step 06, which the Cloud Security Alliance's note lists as material for phishing, password cracking and 2FA bypass against maintainers. Hex.pm warns about emails that claim to come from Hex. No phishing campaign is reported.
The Cloud Security Alliance's note credits the precision of these checks to preparation: a database copy from just before the attack, file creation times that could be matched to requests, and a full comparison of package and registry files. The note adds that the same evidence marks where knowledge stops, at the reads that left no record. All of it is Hex.pm's own work. No outside party has published a review of it.
No ATT&CK technique is mapped to this step. It records a boundary that Hex.pm says held. Tampering with a published package would be Supply Chain Compromise: Compromise Software Supply Chain, and none was found.
Older releases: none changed
Package files written since 18:00 UTC: 62, all matching the checksums in the database
Registry files written since 18:00 UTC: 186, all matching the database contents
Not comparable: documentation archives, which have no stored checksum
Lasting access: none found; no shells, no new cloud keys or accounts, and every server replaced
Who checked: Hex.pm; no outside review has been published
Why the boundary matters: a registry that was entered and served only what its publishers uploaded is a different event from a registry that served altered packages, and Hex.pm's evidence is for the first
All times are UTC, as Hex.pm gives them. The first exploit request arrived at 18:16:00, when the error tracker recorded its first error, and the first response on the servers came at 18:23:55. The fix was committed at 18:26:41 by the commit's own timestamp, 10 minutes 41 seconds after the first exploit request (this page's arithmetic). A firewall rule to block the attacker's traffic was added at 18:27 and took full effect between 18:30 and 18:33. All web, worker and job servers were created from the fixed build between 18:30 and 18:31, and the last exploit request to reach a server was at 18:29:33. From 18:33:48 every request from the attacker was denied, and further requests kept arriving, and being denied, until 18:38. The investigation of production logs and the database began at 18:35.
Three descriptions of the speed are in circulation, and they are not the same claim. Hex.pm says it blocked the traffic and deployed a fix "within 20 minutes". The Hacker News says every server was on a patched build within "about 15 minutes" of the first malicious request. Both fit the timeline: 18:16:00 to 18:31 is 15 minutes, and from the attacker's first request of any kind at 18:14:21 to the moment every request was denied at 18:33:48 is 19 minutes 27 seconds (this page's arithmetic). SecurityWeek writes that the attack was "immediately blocked", and the timeline does not support that. The firewall rule was added eleven minutes after the first exploit request and did not deny every request until 18:33:48, and exploit requests kept reaching servers until 18:29:33.
The fix makes the decoder reject any term that contains a map with a struct's type key, and the request gets a 400. Because the check sits in the one decoder used for this format, Hex.pm says, it covers every route that accepts it. A second commit at 19:06 refuses structs in release tarball metadata, and the request log was extended at 20:55. Hex.pm lists further hardening it is working on in the plug_crypto, plug, ecto and db_connection libraries, so that the attack would be stopped at more than one level. While investigating, it found the same class of flaw in the Ash framework and reported it, and a fix shipped in ash 3.38.0 on November 24. One of the post's authors lists three library upgrades on the Elixir Forum: ash 3.38.0 or later, db_connection 2.10.3 or later, and the latest flop. The Hacker News describes these as separate disclosures and not as further attacks on Hex.pm.
The notifications went out that night. At 22:58 Hex.pm reported a personal data breach to IMY, the Swedish data protection authority. At 23:05 it reported the incident to CISA, which confirmed receipt at 23:43, and at 23:26 it submitted an early warning to ENISA. The CVE was published at 13:48 on November 24 and the post the same day. A report to CISA is a different thing from a listing in CISA's Known Exploited Vulnerabilities catalog, and the catalog's November 27 version, checked for this page on November 29, does not list the CVE.
Nobody has attributed the attack. Hex.pm's phrase is "an unauthorized third party", The Hacker News writes that who was behind it is unknown, and no source this page read reports a claim, a demand or any published indicator. The post ends by saying Hex.pm will update it as the investigation continues, so read it again before relying on this page.
18:23:55: first response on the servers
18:26:41: fix committed (commit timestamp)
18:27: firewall rule added; full effect between 18:30 and 18:33
18:28: a restart brings up three new servers still on the vulnerable build
18:29:33: last exploit request to reach a server
18:30 to 18:31: every web, worker and job server replaced with the patched build
18:33:48: every request from the attacker denied from here on
18:47 to 20:21: AWS access key replaced, then most infrastructure credentials rotated
19:07: an emailed security report describes the same vulnerability; sender not identified
22:58, 23:05, 23:26: reports to IMY, CISA and ENISA
November 24, by 10:42: all readable credentials rotated except the registry signing key and a few low-impact secrets
November 24, 13:48: CVE-2026-129514 published
Pending as of November 29: the new registry signing system and the client releases that carry it, and any update to the post
🛡 How to Defend Against This Chain
mix local.hex --force, updating rebar3 or Gleam too if you use them. The first two need an account. The third is for anyone who fetches Hex packages, and the next item covers it. One of the post's authors adds on the Elixir Forum that you should log in to your Hex client again after the first two steps, that people who signed up through GitHub should still do that and should reset 2FA if they had enabled it, and that if dependency fetching then fails with an error about exchanging an API key for an OAuth token, deleting ~/.hex/hex.config and logging in again fixes it. The client's changelog on its main branch lists a fix for that error, for configs that still hold a key stored by Hex 2.2 or earlier, and the fix is not yet in a release (commit e964569, read November 29, 2026). The post asks for care with emails claiming to come from Hex: check that links lead to hex.pm, and forward suspicious messages to the security address the post gives. Hex.pm says API keys do not need rotating. The Cloud Security Alliance's note repeats that advice and adds that an organization wanting more assurance may still choose to rotate the publishing keys it uses in CI. That addition is CSA's.mirror_url setting and the HEX_MIRROR environment variable for Mix, and rebar_packages_cdn and HEX_CDN for rebar3. The Cloud Security Alliance's note adds steps that Hex.pm's post does not ask for: confirm that any internal caching proxy fetches from the official repository and holds no registry data cached from an untrusted source, check that mix.lock and rebar.lock are committed and enforced in CI, give closer review to dependency upgrades merged since November 23 until the new clients are in use, and put the new client into CI base images when it ships, because an old client keeps trusting the old key. On lockfiles Hex's own documentation says two things. Its usage page says Mix locks each dependency's version in the lockfile and that you should "always commit mix.lock to version control". Its FAQ says package checksums make sure a user is told if they receive a changed version of a package they have already fetched and locked. A lockfile therefore protects versions you had already locked. Resolving a new dependency or an upgrade relies on the registry's signed data, and that is where the unrotated key matters (this reading is the Cloud Security Alliance's).binary_to_term and Plug.Crypto.non_executable_binary_to_term, and either limiting it to authenticated, trusted input or rejecting structs outright. The same author's forum reply gives an example of the function used behind a signature check: Phoenix uses it to decode cookies, and only after verifying a signature. The author adds that this may change.