{"id":4656,"date":"2026-11-27T15:03:10","date_gmt":"2026-11-27T15:03:10","guid":{"rendered":"https:\/\/smartcryptosecurity.com\/?p=4656"},"modified":"2026-11-27T15:03:10","modified_gmt":"2026-11-27T15:03:10","slug":"hex-package-manager-urges-password-and-2fa-resets-following-targeted-cyberattack","status":"publish","type":"post","link":"https:\/\/smartcryptosecurity.com\/?p=4656","title":{"rendered":"Hex Package Manager Urges Password and 2FA Resets Following Targeted Cyberattack"},"content":{"rendered":"<p>Hex, the widely used package manager for the Elixir and Erlang ecosystems, has disclosed a security incident following a targeted cyberattack that resulted in unauthorized access to a portion of its web infrastructure. Although the rapid response of the platform&#8217;s security and engineering teams helped mitigate the damage within minutes, the incident has prompted urgent advisories for developers and account holders to secure their credentials and monitor their accounts for suspicious activity.<\/p>\n<p>The security breach occurred on November 23, when malicious actors successfully exploited a critical vulnerability residing within hex.pm. This security defect allowed the attackers to execute arbitrary commands on the affected infrastructure, achieving remote code execution (RCE) capabilities. According to post-incident disclosures shared by Hex, the malicious activity unfolded over a brief but intense window between 18:16 and 18:29 UTC. During this brief timeframe, the attacker transmitted a total of 69 malicious requests, ultimately compromising six web servers responsible for handling platform traffic.<\/p>\n<p>The response from the Hex team was swift. At 18:30 UTC\u2014just minutes after the malicious traffic was identified\u2014Hex initiated emergency mitigation procedures by replacing all active hex.pm servers with newly patched versions engineered to reject the specific payload utilized by the attackers. Shortly thereafter, at 18:33 UTC, updated firewall rules were fully deployed, completely blocking the attacker\u2019s traffic and sealing the vector of entry.<\/p>\n<p>Despite the rapid containment, investigations into the precise scope of the data exposure have revealed areas of uncertainty that necessitate precautionary measures for the entire user base. In a detailed official statement published on the Hex blog, the package manager confirmed that thorough forensic analysis found no evidence of unauthorized package modifications, unauthorized database alterations, or any indication that the attacker managed to establish persistent, long-term access to the core systems.<\/p>\n<p>However, because the attackers gained remote command execution capabilities on the compromised web servers, Hex acknowledged that potential read access to underlying database contents cannot be entirely ruled out. This potential exposure spans sensitive user data, including email addresses, password hashes, API key hashes, active user sessions, second-factor authentication (2FA) secrets, and audit logs. Furthermore, while all observed reads of private packages during the incident originated from legitimate Hex servers, the platform noted that any read originating from a compromised server would inherently appear indistinguishable from legitimate traffic. The lack of detailed logging for database queries and private documentation reads has further limited the platform&#8217;s visibility into the exact extent of potential data exposure.<\/p>\n<p>Because the attacker\u2019s commands possessed the capability to read the credentials utilized by Hex servers for operational purposes, the engineering team took the immediate step of rotating and replacing all critical system secrets. This comprehensive overhaul included updating storage credentials, content delivery network (CDN) tokens, email service credentials, database connection strings, and the cryptographic keys responsible for signing user sessions and access tokens. As a necessary security precaution, this widespread credential rotation forcibly logged every user out of both the hex.pm web platform and all associated Hex clients globally.<\/p>\n<p>Addressing the root cause of the incident, Hex detailed that the attackers exploited an unauthenticated deserialization vulnerability affecting untrusted data. Tracked officially under CVE-2026-129514 and carrying a maximum CVSS severity score of 10, the flaw enabled the threat actors to leverage a crafted Erlang external term format request body. By injecting this malicious payload, the attackers successfully executed operating system commands and achieved remote code execution on the underlying servers.<\/p>\n<p>The discovery of this critical flaw has also shed light on broader security implications within the broader Elixir and Erlang developer ecosystem. During subsequent reviews, Hex discovered that the Ash Framework was impacted by a similar class of vulnerability. The maintainers of the Ash Framework swiftly addressed the flaw\u2014tracked as CVE-2026-124283\u2014on November 24, issuing urgent warnings that the defect could potentially lead to remote code execution or SQL injection vulnerabilities if left unmitigated. Additional security defects sharing related characteristics were simultaneously identified and patched across two other prominent Elixir libraries, namely db_connection, tracked as CVE-2026-133555, and flop, tracked as CVE-2026-130411.<\/p>\n<p>In the wake of the incident, Hex has been actively developing and testing a new registry signing system equipped with advanced key rotation support to harden the package manager against future infrastructure compromises. While these structural improvements are being finalized, Hex is strongly advising all users to exercise caution when fetching packages. Developers have been urged to avoid utilizing third-party mirrors and to rely exclusively on the official repo.hex.pm endpoint until new iterations of the Hex client software are officially rolled out to the community.<\/p>\n<p>Additionally, Hex is strongly recommending that all account holders take immediate action to protect their personal and professional accounts. Users are urged to change their hex.pm passwords and completely reset their two-factor authentication configurations. Given the possibility that email addresses stored in the database may have been accessed during the incident, the package manager has also issued a cautionary advisory regarding potential phishing attempts. Account holders have been reminded to remain vigilant against fraudulent emails purporting to originate from Hex, emphasizing the importance of carefully verifying that any links contained within such communications lead directly to the official hex.pm domain.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hex, the widely used package manager for the Elixir and Erlang ecosystems, has disclosed a&#8230;<\/p>\n","protected":false},"author":9,"featured_media":4655,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[313],"tags":[323,876,363,321,320,2098,2880,2860,2335,376,322,547],"class_list":["post-4656","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-incident-response-forensics","tag-blockchain-analysis","tag-cyberattack","tag-following","tag-forensics","tag-incident-response","tag-manager","tag-package","tag-password","tag-resets","tag-targeted","tag-tracking","tag-urges"],"_links":{"self":[{"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=\/wp\/v2\/posts\/4656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4656"}],"version-history":[{"count":0,"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=\/wp\/v2\/posts\/4656\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=\/wp\/v2\/media\/4655"}],"wp:attachment":[{"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartcryptosecurity.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}