CVE-2026-44029: CWE-36 Absolute Path Traversal in NixOS Nix
An issue was discovered in Nix before 2.34.7. Writing to arbitrary files can occur via "nix-prefetch-url --unpack" or "nix store prefetch-file --unpack" directory traversal. The fixed versions are 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, and 2.28.7 (introduced in 2.24.7);
AI Analysis
Technical Summary
This vulnerability (CVE-2026-44029) in Nix before version 2.34.7 involves an absolute path traversal (CWE-36) that permits writing to arbitrary files. The flaw is triggered by using the 'nix-prefetch-url --unpack' or 'nix store prefetch-file --unpack' commands, which do not properly sanitize directory paths, allowing directory traversal attacks. Multiple versions from 2.24.7 through 2.34.0 are affected. The vendor has released fixed versions including 2.28.7, 2.29.4, 2.30.5, 2.31.5, 2.32.8, 2.33.6, and 2.34.7 to address this issue. The CVSS 3.1 base score is 5.3, indicating a medium severity vulnerability with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to integrity loss without confidentiality or availability impact.
Potential Impact
An attacker can write to arbitrary files on the system by exploiting directory traversal in specific Nix commands, potentially modifying files without authorization. This could lead to integrity violations but does not affect confidentiality or availability according to the CVSS vector. No known exploits have been reported in the wild.
Mitigation Recommendations
Fixed versions of Nix have been released starting from 2.28.7 through 2.34.7. Users should upgrade to one of these fixed versions to remediate the vulnerability. Patch status is not explicitly confirmed in the input data, but the presence of fixed versions indicates an official fix is available. No additional vendor advisory content is provided, so users should consult the official NixOS channels for the latest remediation guidance.
CVE-2026-44029: CWE-36 Absolute Path Traversal in NixOS Nix
Description
An issue was discovered in Nix before 2.34.7. Writing to arbitrary files can occur via "nix-prefetch-url --unpack" or "nix store prefetch-file --unpack" directory traversal. The fixed versions are 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, and 2.28.7 (introduced in 2.24.7);
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-44029) in Nix before version 2.34.7 involves an absolute path traversal (CWE-36) that permits writing to arbitrary files. The flaw is triggered by using the 'nix-prefetch-url --unpack' or 'nix store prefetch-file --unpack' commands, which do not properly sanitize directory paths, allowing directory traversal attacks. Multiple versions from 2.24.7 through 2.34.0 are affected. The vendor has released fixed versions including 2.28.7, 2.29.4, 2.30.5, 2.31.5, 2.32.8, 2.33.6, and 2.34.7 to address this issue. The CVSS 3.1 base score is 5.3, indicating a medium severity vulnerability with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to integrity loss without confidentiality or availability impact.
Potential Impact
An attacker can write to arbitrary files on the system by exploiting directory traversal in specific Nix commands, potentially modifying files without authorization. This could lead to integrity violations but does not affect confidentiality or availability according to the CVSS vector. No known exploits have been reported in the wild.
Mitigation Recommendations
Fixed versions of Nix have been released starting from 2.28.7 through 2.34.7. Users should upgrade to one of these fixed versions to remediate the vulnerability. Patch status is not explicitly confirmed in the input data, but the presence of fixed versions indicates an official fix is available. No additional vendor advisory content is provided, so users should consult the official NixOS channels for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-05-05T00:51:05.139Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f94292cbff5d86107871db
Added to database: 5/5/2026, 1:06:26 AM
Last enriched: 5/5/2026, 1:22:00 AM
Last updated: 5/5/2026, 2:15:34 AM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.