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

CVE-2026-44029: Nix Path Traversal Vulnerability

CVE-2026-44029 is a path traversal vulnerability in Nix that enables attackers to write to arbitrary files via nix-prefetch-url or nix store prefetch-file commands. This article covers technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-44029 Overview

CVE-2026-44029 is a directory traversal vulnerability in the Nix package manager affecting versions before 2.34.7. The flaw resides in the nix-prefetch-url --unpack and nix store prefetch-file --unpack commands. A crafted archive can write to arbitrary file system paths outside the intended extraction directory. The issue is tracked under CWE-36: Absolute Path Traversal.

Critical Impact

Attackers can write to arbitrary files on systems that prefetch attacker-controlled archives, enabling integrity compromise and supply-chain abuse against Nix users.

Affected Products

  • Nix versions prior to 2.34.7 on the 2.34.x branch
  • Nix versions 2.24.7 through 2.33.5 on supported maintenance branches
  • Lix (referenced in the upstream NixOS security advisory)

Discovery Timeline

  • 2026-05-05 - CVE-2026-44029 published to the National Vulnerability Database (NVD)
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-44029

Vulnerability Analysis

The vulnerability stems from improper handling of archive entry paths during unpacking. When a user invokes nix-prefetch-url --unpack <url> or nix store prefetch-file --unpack <url>, Nix downloads the archive and extracts its contents. The extraction logic fails to canonicalize and validate entry paths against the destination directory.

An archive containing entries with traversal sequences such as ../ or absolute paths can therefore escape the temporary unpack directory. The result is arbitrary file write under the privileges of the invoking user. The flaw is exploitable over the network because Nix fetches archives by URL, and the attacker controls archive contents.

The upstream advisory notes the issue was introduced in Nix 2.24.7 and corrected in 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, and 2.28.7. The bug class is classified as CWE-36.

Root Cause

The prefetch unpack routine extracts archive entries without verifying that the resolved destination remains within the intended target directory. Path components containing .. or absolute prefixes are honored verbatim, allowing entries to overwrite files anywhere the calling process can write.

Attack Vector

Exploitation requires that a victim invoke nix-prefetch-url --unpack or nix store prefetch-file --unpack against a URL controlled by the attacker. This pattern is common in development tooling, package update scripts, and CI pipelines that compute hashes for new sources. Refer to the GitHub Security Advisory GHSA-gr92-w2r5-qw5p and the NixOS Security Advisory for technical details. No public proof-of-concept code was referenced in the enriched data.

Detection Methods for CVE-2026-44029

Indicators of Compromise

  • Unexpected file writes outside Nix store paths shortly after nix-prefetch-url or nix store prefetch-file execution.
  • Archive downloads from untrusted URLs preceding modifications to user dotfiles, shell profiles, or systemd unit directories.
  • Process execution of nix-prefetch-url --unpack or nix store prefetch-file --unpack in CI runners with attacker-influenced URLs.

Detection Strategies

  • Audit shell history and CI logs for --unpack invocations against external URLs that were not previously trusted.
  • Inspect file creation events outside /nix/store correlated with the parent process nix or nix-prefetch-url.
  • Compare installed Nix versions against the fixed release set: 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, and 2.28.7.

Monitoring Recommendations

  • Enable file integrity monitoring on user home directories, ~/.config, ~/.ssh, and system directories writable by build users.
  • Forward Nix process telemetry and file system events to the Singularity Data Lake for retrospective hunting against the indicators above.
  • Use Singularity Endpoint behavioral identification to flag archive extraction processes that write outside expected destinations.

How to Mitigate CVE-2026-44029

Immediate Actions Required

  • Upgrade Nix to 2.34.7 or to the corresponding fixed release on your maintenance branch.
  • Audit automation that calls nix-prefetch-url --unpack or nix store prefetch-file --unpack and restrict it to trusted sources.
  • Review hosts that ran the affected commands against untrusted URLs for unauthorized file writes.

Patch Information

The maintainers fixed the issue in Nix versions 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, and 2.28.7. The regression was introduced in 2.24.7. See the GitHub Security Advisory and the Openwall OSS-Security discussion for release notes and patch references.

Workarounds

  • Avoid the --unpack flag when prefetching archives from untrusted sources until the upgrade is applied.
  • Run prefetch operations under a dedicated unprivileged account whose write scope is limited to disposable directories.
  • Validate archive contents with tar -tf or equivalent before extracting in any pipeline that handles third-party URLs.
bash
# Verify the installed Nix version meets the fixed release
nix --version

# Upgrade on a single-user installation
nix-env -iA nixpkgs.nix

# Upgrade on a multi-user (daemon) installation, then restart the daemon
sudo -i nix-env -iA nixpkgs.nix -f '<nixpkgs>'
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
  • TypePath Traversal

  • Vendor/TechNix

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.24%

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

  • GitHub Security Advisory

  • Openwall OSS-Security Discussion
  • Related CVEs
  • CVE-2026-44028: Nix and Lix NAR Parser RCE 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