CVE-2024-45593: Nix is a package manager for Linux and other Unix systems
CVE-2024-45593 is a critical-severity flaw (CVSS 9.0) affecting nix. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- Critical severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.6% (top 51%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2024-09-10 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-45593?
nix: upgrade to 2.24.6. Exact commands for each OS are on this page.
Is CVE-2024-45593 being exploited?
CVE-2024-45593 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-45593 affect?
CVE-2024-45593 affects nix. Severity is critical (CVSS 9.0). 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 t
How urgent is CVE-2024-45593?
Priority 49/100. Critical severity; On your watchlist
Related CVEs
- CVE-2026-39860 CRITICAL 9.0 UPGRADE Nix is a package manager for Linux and other Unix systems
- CVE-2024-27297 MEDIUM 6.3 UPGRADE Nix is a package manager for Linux and other Unix systems
- CVE-2021-45707 CRITICAL 9.8 UPGRADE An issue was discovered in the nix crate 0.16.0 and later before 0.20.2, 0.21.x before 0.21.2, and 0.22.x befo