The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-21619

CVE-2026-21619: Hex Core DoS Vulnerability

CVE-2026-21619 is a denial of service vulnerability affecting hex_core, hex, and rebar3 through deserialization flaws and resource exhaustion. This article covers the technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2026-21619 Overview

CVE-2026-21619 is an Insecure Deserialization and Uncontrolled Resource Consumption vulnerability affecting the Hex package management ecosystem used by Elixir and Erlang developers. The vulnerability exists in hex_core, hex, and rebar3 build tools, specifically in API request handling routines that process untrusted data from remote sources.

The flaw allows attackers to potentially perform Object Injection and Excessive Allocation attacks through the deserialization of untrusted data in the hex_api.erl, mix_hex_api.erl, and r3_hex_api.erl program files. The affected routines include hex_core:request/4, mix_hex_api:request/4, and r3_hex_api:request/4.

Critical Impact

Attackers can exploit unsafe deserialization in Hex package manager API modules to inject objects or cause resource exhaustion through excessive memory allocation, potentially impacting build pipelines and development environments.

Affected Products

  • hexpm hex_core: versions 0.1.0 to before 0.12.1
  • hexpm hex: versions 2.3.0 to before 2.3.2
  • erlang rebar3: versions 3.9.1 to before 3.27.0

Discovery Timeline

  • 2026-02-27 - CVE CVE-2026-21619 published to NVD
  • 2026-03-02 - Last updated in NVD database

Technical Details for CVE-2026-21619

Vulnerability Analysis

This vulnerability stems from improper handling of data received from API responses in the Hex package management ecosystem. The affected components process external data through deserialization routines without adequate validation, creating two distinct attack surfaces: object injection through deserialization of untrusted data (CWE-400) and resource exhaustion through excessive memory allocation.

The vulnerability is accessible over the network but requires user interaction and specific preconditions to be exploited. An attacker would need to position themselves to intercept or manipulate API responses between the Hex client and the package registry, or compromise the registry itself.

The impact is primarily limited to availability concerns, where an attacker could cause excessive resource consumption on developer machines or CI/CD systems running vulnerable versions of these tools during package resolution or installation operations.

Root Cause

The root cause lies in the request/4 functions across three related codebases that share similar API handling logic. These functions process responses from the Hex package registry without sufficient validation of the incoming data structure before deserialization. The Erlang term format used in these communications allows for complex nested structures that, when maliciously crafted, can consume excessive memory or inject unexpected objects into the application state.

Attack Vector

The attack vector is network-based, requiring an attacker to either perform a man-in-the-middle attack against Hex API communications or compromise a package source. The exploitation scenario involves:

  1. An attacker intercepts or controls API responses from a Hex package registry
  2. Maliciously crafted response data is sent containing either deeply nested structures (for resource exhaustion) or specially crafted terms (for object injection)
  3. The vulnerable request/4 function deserializes this data without proper bounds checking
  4. The victim's system experiences memory exhaustion or processes injected objects

The vulnerability affects build tools used in development and CI/CD pipelines, making it particularly relevant for supply chain security considerations, though the direct impact is limited to availability.

Detection Methods for CVE-2026-21619

Indicators of Compromise

  • Unusual memory consumption spikes during Hex package operations or mix deps.get commands
  • Unexpected crashes or out-of-memory errors in rebar3 or Mix build processes
  • Abnormal network traffic patterns to Hex API endpoints with unusually large response payloads
  • Build pipeline failures accompanied by resource exhaustion errors

Detection Strategies

  • Monitor system resource utilization (memory, CPU) during package manager operations for anomalous spikes
  • Implement network traffic analysis to detect unusually large or malformed responses from Hex registry endpoints
  • Configure build system timeouts and resource limits to catch runaway processes indicative of exploitation
  • Review application logs for deserialization errors or unexpected object types in Hex-related modules

Monitoring Recommendations

  • Enable verbose logging for Hex operations in development and CI/CD environments to capture potential attack indicators
  • Implement memory and CPU resource limits on build containers to contain potential resource exhaustion attacks
  • Monitor network connections from build systems to package registries for suspicious TLS certificate changes or unexpected endpoints
  • Set up alerts for build failures that correlate with high memory usage patterns

How to Mitigate CVE-2026-21619

Immediate Actions Required

  • Upgrade hex_core to version 0.12.1 or later immediately
  • Upgrade hex (Elixir) to version 2.3.2 or later
  • Upgrade rebar3 to version 3.27.0 or later
  • Audit CI/CD pipelines and development environments to identify all instances of vulnerable tool versions

Patch Information

Security patches have been released for all affected components. The fixes address the unsafe deserialization by implementing proper validation of incoming data before processing:

  • hex_core: Fixed in commit cdf726095bca85ad2549d146df1e831ae93c2b13
  • hex: Fixed in commit 636739f3322514e9303ca335fb630696fcbb3c95
  • rebar3: Fixed in commit 1d4478f527e373de0b225951e53115450e0d9b9d

For additional details, refer to the GitHub Security Advisory GHSA-hx9w-f2w9-9g96.

Workarounds

  • Implement network-level controls to ensure Hex API communications are only permitted to trusted registry endpoints
  • Configure resource limits (memory, CPU) on build systems to contain potential resource exhaustion
  • Use locked dependency files (mix.lock) and avoid dynamic dependency resolution in production CI/CD pipelines until patched
  • Consider temporarily pinning to known-safe package versions and disabling automatic dependency updates
bash
# Update hex_core, hex, and rebar3 to patched versions
# For Elixir/Mix projects:
mix local.hex --force

# For rebar3 projects, update to 3.27.0 or later:
# Download latest rebar3 from https://github.com/erlang/rebar3/releases
# Or use your package manager to update

# Verify installed versions
mix hex.info
rebar3 version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechHex

  • SeverityLOW

  • CVSS Score2.0

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Rebar3 Commit

  • GitHub Hex Commit

  • GitHub Hex Core Commit

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English