CVE Watchtower

CVE-2024-45593Nix >= 2.24.0,

NVD

Vulnerability Summary

Impact 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. Fix This issue is fixed in Nix 2.24.6. Workarounds Only use trustworthy substituters and set the `allowed-users` setting to include trusted users only. References N/A
Severity Level
CRITICAL(9.0)
Published Date
Sep 10, 2024
Last Modified
Sep 10, 2024
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Published
Root Weakness (CWE)
N/A
CVSS v3.1 Base Metrics — Score 9.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Nix >= 2.24.0, <= 2.24.5
Patched Versions
  • Nix 2.24.6

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.

  1. Check whether you run Nix >= 2.24.0, and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Sep 10, 2024Published
  • Sep 10, 2024Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Nix >= 2.24.0, CVEsYou are reading CVE-2024-45593. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Sep 23, 2026 04:29 UTC