Skip to content
OpenAdvisories

Product · NixOS

Nix

20 known vulnerabilities.

Nix at a glance

Last 12 months
9
Critical · all time
2
Exploited · all time
0
Public exploit · all time
0
New vulnerabilities per month · last 12 months
0 3 5 December 2025: 0 vulnerabilities Dec 2025 January 2026: 0 vulnerabilities February 2026: 0 vulnerabilities March 2026: 0 vulnerabilities Mar April 2026: 1 vulnerability, 1 critical May 2026: 2 vulnerabilities June 2026: 0 vulnerabilities Jun July 2026: 0 vulnerabilities August 2026: 1 vulnerability September 2026: 0 vulnerabilities Sep October 2026: 5 vulnerabilities November 2026: 0 vulnerabilities
Show as table
MonthVulnerabilitiesCritical
Nov 202600
Oct 202650
Sep 202600
Aug 202610
Jul 202600
Jun 202600
May 202620
Apr 202611
Mar 202600
Feb 202600
Jan 202600
Dec 202500
Nov 202500
Oct 202500
Sep 202500
Aug 202500
Jul 202510
Jun 202550
May 202500
Apr 202500
Mar 202500
Feb 202500
Jan 202500
Dec 202400

20 results · Feed

  • Medium 4.3

    Nix before 2.35.3, when unsandboxed on macOS or FreeBSD, incorrectly allows connections made by build users from daemon…

  • Medium 4.0

    The multi-user installer in Nix before 2.35.3 sets the ownership of store contents to the user (who invoked the install…

  • Medium 4.3

    Nix before 2.35.3 and Lix before 2.95.4 on macOS allow a Seatbelt sandbox escape (for an unconfined build) because a ce…

  • High 8.0

    Nix before 2.35.3 and Lix before 2.95.4 allow privilege escalation via a repair operation because it could destroy and …

  • High 7.5

    Nix before 2.35.3 and Lix before 2.95.4 have an integer overflow and resultant out-of-bounds write when evaluating untr…

  • Low 2.8

    Nix: Arbitrary file truncation outside the sandbox with recursive-nix experimental feature

    Nix is a package manager for Linux and other Unix systems. Prior to 2.35.0, a malicious derivation executed with the recursive-nix experimental feature can exploit a time-of-check/time-of-use race involving final symlink handling in the LocalStore restore pat…

  • Medium 5.3

    An issue was discovered in Nix before 2.34.7. Writing to arbitrary files can occur via "nix-prefetch-url --unpack" or "…

  • High 7.5

    An issue was discovered in Nix before 2.34.7 and Lix before 2.95.2. Unbounded recursion in the NAR (Nix Archive) parser…

  • Critical 9.0

    Nix sandbox escape: file write via symlink at FOD `.tmp` copy destination

    Nix is a package manager for Linux and other Unix systems. A bug in the fix for CVE-2024-27297 allowed for arbitrary overwrites of files writable by the Nix process orchestrating the builds (typically the Nix daemon running as root in multi-user installations…

  • High 7.9

    Nix's privilege dropping to build user broke for macOS

    Nix is a package manager for Linux and other Unix systems. Builds with Nix 2.30.0 on macOS were executed with elevated privileges (root), instead of the build users. The fix was applied to Nix 2.30.1. No known workarounds are available.

  • Low 2.9

    The Nix, Lix, and Guix package managers allow a bypass of build isolation in which a user can elevate their privileges …

  • Low 3.2

    A race condition in the Nix, Lix, and Guix package managers allows the removal of content from arbitrary folders. This …

  • Low 3.2

    The Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails. This may allow …

  • Low 3.2

    The Nix, Lix, and Guix package managers default to using temporary build directories in a world-readable and world-writ…

  • Medium 5.6

    A race condition in the Nix, Lix, and Guix package managers enables changing the ownership of arbitrary files to the UI…

  • Low 1.0

    Nix allows macOS sandbox escape via built-in builders

    Nix is a package manager for Linux and other Unix systems. On macOS, built-in builders (such as `builtin:fetchurl`, exposed to users with `import <nix/fetchurl.nix>`) were not executed in the macOS sandbox. Thus, these builders (which are running under the `n…

  • Medium 5.9

    Credential leak when credentials are used with `<nix/fetchurl.nix>`

    Nix is a package manager for Linux and other Unix systems. Starting in version 1.11 and prior to versions 2.18.8 and 2.24.8, `<nix/fetchurl.nix>` did not verify TLS certificates on HTTPS connections. This could lead to connection details such as full URLs or …

  • Critical 9.1

    Nix affected by unsafe NAR unpacking

    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 …

  • Low 3.6

    Nix sandbox escape

    Nix is a package manager for Linux and other Unix systems that makes package management reliable and reproducible. A build process has access to and can change the permissions of the build directory. After creating a setuid binary in a globally accessible loc…

  • Medium 6.3

    Nix Corruption of fixed-output derivations

    Nix is a package manager for Linux and other Unix systems. A fixed-output derivations on Linux can send file descriptors to files in the Nix store to another program running on the host (or another fixed-output derivation) via Unix domain sockets in the abstr…