Arbitrary file writes via absolute archive paths
Published May 5, 2026 · Updated May 5, 2026
Absolute path traversal in Nix allows remote attackers to write arbitrary files when a user unpacks a crafted archive. The nix-prefetch-url --unpack and nix store prefetch-file --unpack commands accept absolute archive entry paths and write them outside the extraction root. Exploitation requires a packager to process an untrusted archive; sandboxed builtin:unpack-channel builds cannot write to the host filesystem.
Summary
What happened
Absolute path traversal in Nix allows remote attackers to write arbitrary files when a user unpacks a crafted archive. The nix-prefetch-url --unpack and nix store prefetch-file --unpack commands accept absolute archive entry paths and write them outside the extraction root. Exploitation requires a packager to process an untrusted archive; sandboxed builtin:unpack-channel builds cannot write to the host filesystem.
The record
- CVE
- CVE-2026-44029
- Published
- May 5, 2026
- Updated
- May 5, 2026
- Vendor
- NixOS
- Product
- Nix
- Classifications
- CWE-36, CAPEC-597, T1204.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 5, 2026CVE publishedPublication date reported by the CVE source.
- May 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.24.7 <2.28.7
- Affected versionversion=2.29.0 <2.29.4
- Affected versionversion=2.30.0 <2.30.5
- Affected versionversion=2.31.0 <2.31.5
- Affected versionversion=2.32.0 <2.32.8
- Affected versionversion=2.33.0 <2.33.6
- Affected versionversion=2.34.0 <2.34.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo