{
  "id": 21613563,
  "title": "Security incident on Hex.pm",
  "url": "https://urgent.news/2026/11/24/security-incident-on-hex-pm",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-24T14:52:19.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://hex.pm/blog/security-incident-on-hexpm"
  },
  "original_language": "en",
  "account": "On November 23, 2026, an attacker exploited a vulnerability in Hex.pm, a package manager, to run commands on its web servers. The intrusion was detected quickly, and the system was secured within 20 minutes of discovery. Shortly after, Hex received reports of the same vulnerability, but no evidence was found of unauthorized package modifications or database changes. However, due to the lack of database read logs, it cannot be completely ruled out that the attacker accessed sensitive data, including email addresses, password hashes, API key hashes, two-factor authentication secrets, sessions, and audit logs.\n\nHex took immediate action to address the issue by replacing all credentials used by its servers, including storage, CDN, email, and database credentials, as well as keys that sign sessions and access tokens. This action logged everyone out of Hex and Hex clients. To prevent future attacks, Hex is developing a new registry signing system that supports key rotation. Until the new system is released, users are advised to fetch packages only from repo.hex.pm and avoid trusting third-party mirrors.\n\nThe vulnerability in Hex.pm is tracked as CVE-2026-129514. A separate vulnerability was discovered in Ash, another library used by Hex, which could also lead to command execution or SQL injection through crafted Struct values. Ash developers released a fix for this vulnerability in version 3.38.0 on November 24. Hex has implemented a check to reject any term containing a map with a __struct__ key, thereby closing the entry point for potential attacks. All Hex servers were updated to the patched build by 18:31 UTC.\n\nHex is working on hardening fixes for these libraries to prevent similar attacks in the future. These improvements will target multiple levels of security, not just one decoder check in the request pipeline. Hex acknowledges the inconvenience caused by these precautions and encourages users to report any security concerns to security@hex.pm. The company apologizes for the disruption and promises to provide updates on their ongoing investigation.",
  "summary": null,
  "key_points": [
    "Attacker exploited Hex.pm vulnerability on Nov 23, 2026",
    "System secured within 20 minutes of detection",
    "Hex replaced all credentials post-incident"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}