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-44028

CVE-2026-44028: Nix and Lix NAR Parser RCE Vulnerability

CVE-2026-44028 is a remote code execution flaw in Nix and Lix NAR parser caused by unbounded recursion leading to stack-to-heap overflow. Attackers can exploit this to execute arbitrary code as root in multi-user setups.

Published: May 7, 2026

CVE-2026-44028 Overview

CVE-2026-44028 is a stack-to-heap overflow vulnerability in the Nix Archive (NAR) parser used by Nix and Lix package managers. Unbounded recursion during NAR parsing exhausts a coroutine stack that is allocated without a guard page. Stack frames then overwrite adjacent heap memory, creating a path to arbitrary code execution as the Nix daemon, which runs as root in multi-user installations. Any user permitted to connect to the daemon can trigger the flaw. The default allowed-users setting grants this access to all local users. The issue is tracked as CWE-674: Uncontrolled Recursion.

Critical Impact

Local users who can reach the Nix daemon can corrupt heap memory and, by bypassing ASLR, execute arbitrary code as root on multi-user Nix and Lix installations.

Affected Products

  • Nix versions 2.24.4 through 2.34.6 (and matching releases on the 2.28–2.33 branches)
  • Lix versions 2.93.0 through 2.95.1 (including 2.93.x and 2.94.x branches)
  • Multi-user NixOS installations where the Nix daemon runs as root

Discovery Timeline

  • 2026-05-05 - CVE-2026-44028 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-44028

Vulnerability Analysis

The vulnerability resides in the NAR parser, which deserializes the Nix Archive format used to transfer store paths. The parser handles nested structures using recursive function calls. There is no depth limit, so an attacker-supplied NAR with deeply nested entries causes recursion to grow without bound.

The parser executes on a coroutine stack rather than the main thread stack. Coroutine stacks in this implementation are heap-allocated and lack a guard page. When recursion exhausts the stack, writes do not trigger a fault. They instead spill into adjacent heap allocations, corrupting in-flight objects controlled by the daemon process. This converts a classic stack overflow into a heap corruption primitive.

Exploitation requires bypassing Address Space Layout Randomization (ASLR) to reliably control the corrupted heap region. The local attack vector and high attack complexity reflect this requirement. Successful exploitation grants code execution in the privilege context of the Nix daemon, which is root on multi-user installations.

Root Cause

The root cause is uncontrolled recursion combined with an unguarded coroutine stack. The NAR parser does not enforce a maximum nesting depth. The coroutine runtime allocates stacks from the heap without inserting a guard page between the stack and neighboring heap chunks.

Attack Vector

An authenticated local user connects to the Nix daemon socket and submits a crafted NAR archive. The daemon parses the archive on a coroutine, recursion overflows the stack, and the overflow rewrites heap data structures owned by the daemon. The default allowed-users = * configuration in nix.conf exposes the daemon to every local account on the system. Refer to the GitHub Security Advisory GHSA-vh5x-56v6-4368 for further technical detail.

Detection Methods for CVE-2026-44028

Indicators of Compromise

  • Unexpected crashes, segmentation faults, or aborts of the nix-daemon process recorded in journalctl -u nix-daemon
  • Anomalous child processes spawned by nix-daemon that do not match normal build activity
  • Connections to /nix/var/nix/daemon-socket/socket from user accounts that do not normally invoke Nix

Detection Strategies

  • Monitor nix-daemon process integrity and alert on unexpected exits, core dumps, or memory protection faults
  • Audit submissions of NAR archives with abnormally deep nesting or oversized structural metadata
  • Track privilege transitions where a non-root user interaction with the daemon precedes a root-context process spawn

Monitoring Recommendations

  • Enable Linux audit rules on /nix/var/nix/daemon-socket/socket to log connecting UIDs and process lineage
  • Forward nix-daemon systemd journal output to a central SIEM for retention and correlation
  • Review the allowed-users and trusted-users directives in /etc/nix/nix.conf and alert on any expansion of these lists

How to Mitigate CVE-2026-44028

Immediate Actions Required

  • Upgrade Nix to 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, or 2.28.7 depending on the deployed branch
  • Upgrade Lix to 2.95.2, 2.94.2, or 2.93.4 depending on the deployed branch
  • Restrict the allowed-users setting in nix.conf to a minimal list of trusted accounts until patches are applied
  • Audit existing systems for unauthorized changes to /etc/nix/nix.conf and the daemon binary

Patch Information

The Nix and Lix maintainers released fixed versions on May 4, 2026. Apply the upgrade matching your release branch. See the NixOS Security Advisory and the OpenWall oss-security disclosure for the full patch matrix.

Workarounds

  • Set allowed-users to a curated list of administrative accounts to limit who can reach the daemon
  • Disable or stop the nix-daemon service on systems that do not require multi-user Nix functionality
  • Switch affected hosts to single-user Nix installations where the daemon does not run as root
bash
# Configuration example
# /etc/nix/nix.conf - restrict daemon access until patched
allowed-users = @nix-users
trusted-users = root

# Verify installed version meets the fixed release
nix --version
# Expected: nix (Nix) 2.34.7 or later patched branch release

# Restart the daemon after upgrade
sudo systemctl restart nix-daemon

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNix

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-674
  • Technical References
  • NixOS Security Advisory

  • GitHub Security Advisory

  • OpenWall OSS Security Post

  • OpenWall OSS Security Post
  • Related CVEs
  • CVE-2026-44029: Nix Path Traversal Vulnerability

  • CVE-2026-39860: Nix Package Manager Privilege Escalation
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