Read the docs
TI-2024-30614 Aliases CVE-2024-45593

Nix affected by unsafe NAR unpacking

Priority MEDIUM 42CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Nix is a package manager for Linux and other Unix systems. A bug in Nix 2.24 prior to 2.24.6 allows a substituter or malicious user to craft a NAR that, when unpacked by Nix, causes Nix to write to arbitrary file system locations to which the Nix process has access. This will be with root permissions when using the Nix daemon. This issue is fixed in Nix 2.24.6.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00602 49th percentileScored 2026-11-07
Fix Fixed nix (NixOS): 2.24.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
NixOSnix2.24.0 to before 2.24.62.24.6Patch availableCNA
  • nix VendorNixOS Affected 2.24.0 to before 2.24.6 Fixed in 2.24.6 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*2.24.0 to before 2.24.6VulnerableNixOS
  • cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:* Versions 2.24.0 to before 2.24.6 Vulnerable ·NixOS

Remediation

  • Fix · CNA nix (NixOS) Fixed in 2.24.6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-45593

References

  • TI-2026-28741 Nix sandbox escape: file write via symlink at FOD `.tmp` copy destination CVSS 3.1CRITICAL 9.0
  • TI-2019-12962 Nix through 2.3 allows local users to gain access to an arbitrary user's account because… CVSS 3.1HIGH 7.8
  • TI-2024-18135 Nix Corruption of fixed-output derivations CVSS 3.1MEDIUM 6.3

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences