Skip to main content

Nix

10 CVEs product

Monthly

CVE-2026-110450 Oct 14, 04:03 HIGH PATCH This Week

Local privilege escalation in Nix (before 2.35.3) and Lix (before 2.95.4) allows an unprivileged local user to escalate to the privileged nix-daemon account-typically root-by exploiting a repair operation that destroys and replaces a store path before verifying its content. The flaw is a timing-sensitive incorrect behavior order (CWE-696) that only affects multi-user daemon deployments; single-user installs are far less exposed. No public exploit code has been identified at time of analysis.

Privilege Escalation Nixos Nix
NVD VulDB
CVSS 3.1
8.0
EPSS
0.1%
CVE-2026-110449 Oct 14, 03:59 HIGH PATCH This Week

An integer overflow in list allocation inside the Nix expression evaluator - and in the Lix fork - can drive an out-of-bounds write when an attacker-supplied Nix expression is evaluated, allowing memory corruption in the evaluating process. Only Nix before 2.35.3 and Lix before 2.95.4 are affected, and the flaw is remotely reachable and requires no authentication or user interaction (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L, base 7.5), though the high attack complexity means allocation sizes must be crafted precisely. Our assessment is consistent with a memory-corruption primitive rather than a trivial crash - high integrity impact, low availability impact, no confidentiality impact; no public exploit identified at time of analysis, and the issue is not listed as confirmed actively exploited (CISA KEV).

Buffer Overflow Integer Overflow Nixos Nix Lix
NVD
CVSS 3.1
7.5
EPSS
0.2%
CVE-2026-39860 Apr 08, 21:17 HIGH POC PATCH This Week

Local privilege escalation in Nix package manager daemon (versions prior to 2.34.5/2.33.4/2.32.7/2.31.4/2.30.4/2.29.3/2.28.6) allows unprivileged users to gain root access in multi-user Linux installations. Incomplete fix for CVE-2024-27297 permits symlink attacks during fixed-output derivation registration, enabling arbitrary file overwrites as root. Attackers exploit sandboxed build registration by placing symlinks in temporary output paths, causing the daemon to follow symlinks and overwrite sensitive system files with controlled content. Affects default configurations where all users can submit builds. No public exploit identified at time of analysis.

Information Disclosure Apple Nixos Nix
NVD GitHub
CVSS 3.1
8.4
EPSS
0.0%
CVE-2026-110453 Oct 14, 04:15 MEDIUM PATCH This Month

Nix releases before 2.35.3 in unsandboxed macOS or FreeBSD deployments permit a local authenticated build user to establish daemon client connections that should be denied, enabling unauthorized interactions with the Nix daemon. The independently assessed CVSS is 4.3 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N), reflecting a local, scope-changed authorization weakness with limited integrity impact and no confidentiality or availability impact. No public exploit identified at time of analysis; the issue is confined to unsandboxed macOS/FreeBSD configurations, and upgrading to 2.35.3 or enabling sandboxing removes the exposure.

Authentication Bypass Apple Nixos Nix
NVD
CVSS 3.1
4.3
EPSS
0.1%
CVE-2026-110452 Oct 14, 04:12 MEDIUM PATCH This Month

Local privilege escalation in Nix before 2.35.3 allows a local attacker with access to the user account that installed the multi-user Nix store to gain root privileges by tampering with /nix/store contents, because the installer incorrectly assigned ownership of the store to the invoking user instead of root. The independent assessment rates this as High severity (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), noting that exploitation requires local access to the affected account and that the host must have been provisioned with the vulnerable multi-user installer. No public exploit code is known at this time; a security advisory is available.

Information Disclosure Nixos Nix
NVD
CVSS 3.1
4.0
EPSS
0.1%
CVE-2026-110451 Oct 14, 04:08 MEDIUM PATCH This Month

Seatbelt sandbox escape on macOS in Nix before 2.35.3 and Lix before 2.95.4 lets a local attacker cause a crafted build to break out of the macOS Seatbelt confinement via a mishandled size threshold, yielding limited integrity impact (C:N/I:L/A:N). There is no public exploit identified at time of analysis and no confirmed active exploitation, and the issue is assessed as low-to-moderate priority because exploitation requires local access on macOS plus the ability to have a build evaluated on the host, such as on multi-user build servers or CI runners processing untrusted derivations. Unauthenticated local access is consistent with the CVSS vector (PR:N).

Authentication Bypass Apple macOS Nixos Nix
NVD
CVSS 3.1
4.3
EPSS
0.1%
CVE-2026-64846 Aug 20, 16:18 LOW PATCH Monitor

Sandbox escape in Nix versions before 2.35.0 allows a malicious build derivation - executed under the experimental `recursive-nix` feature - to create or truncate empty files outside the build sandbox using the nix-daemon's permissions by exploiting a TOCTOU race in the LocalStore path-restore logic. The race window exists between path resolution and the `open()` call with `O_TRUNC` in `writeFile`, which previously lacked `O_NOFOLLOW` enforcement, letting an attacker substitute a symlink mid-flight to redirect the write. No public exploit has been identified and the vulnerability is not listed in CISA KEV; the official fix is confirmed in Nix 2.35.0.

Information Disclosure Nixos Nix
NVD GitHub
CVSS 3.1
2.8
EPSS
0.1%
CVE-2024-45593 Sep 10, 16:15 HIGH PATCH This Week

Nix is a package manager for Linux and other Unix systems. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity. This Path Traversal vulnerability could allow attackers to access files and directories outside the intended path.

Path Traversal Nixos Nix
NVD GitHub
CVSS 3.1
8.8
EPSS
0.6%
CVE-2021-45707 Dec 27, 00:15 Cargo CRITICAL PATCH Act Now

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 before 0.22.2 for Rust. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Buffer Overflow Memory Corruption Nix
NVD GitHub
CVSS 3.1
9.8
EPSS
1.7%
CVE-2019-17365 Oct 09, 22:15 HIGH POC This Week

Nix through 2.3 allows local users to gain access to an arbitrary user's account because the parent directory of the user-profile directories is world writable. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Privilege Escalation Nixos Nix
NVD
CVSS 3.1
7.8
EPSS
0.4%
EPSS 0% CVSS 8.0
HIGH PATCH This Week

Local privilege escalation in Nix (before 2.35.3) and Lix (before 2.95.4) allows an unprivileged local user to escalate to the privileged nix-daemon account-typically root-by exploiting a repair operation that destroys and replaces a store path before verifying its content. The flaw is a timing-sensitive incorrect behavior order (CWE-696) that only affects multi-user daemon deployments; single-user installs are far less exposed. No public exploit code has been identified at time of analysis.

Privilege Escalation Nixos Nix
NVD VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

An integer overflow in list allocation inside the Nix expression evaluator - and in the Lix fork - can drive an out-of-bounds write when an attacker-supplied Nix expression is evaluated, allowing memory corruption in the evaluating process. Only Nix before 2.35.3 and Lix before 2.95.4 are affected, and the flaw is remotely reachable and requires no authentication or user interaction (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L, base 7.5), though the high attack complexity means allocation sizes must be crafted precisely. Our assessment is consistent with a memory-corruption primitive rather than a trivial crash - high integrity impact, low availability impact, no confidentiality impact; no public exploit identified at time of analysis, and the issue is not listed as confirmed actively exploited (CISA KEV).

Buffer Overflow Integer Overflow Nixos +2
NVD
EPSS 0% CVSS 8.4
HIGH POC PATCH This Week

Local privilege escalation in Nix package manager daemon (versions prior to 2.34.5/2.33.4/2.32.7/2.31.4/2.30.4/2.29.3/2.28.6) allows unprivileged users to gain root access in multi-user Linux installations. Incomplete fix for CVE-2024-27297 permits symlink attacks during fixed-output derivation registration, enabling arbitrary file overwrites as root. Attackers exploit sandboxed build registration by placing symlinks in temporary output paths, causing the daemon to follow symlinks and overwrite sensitive system files with controlled content. Affects default configurations where all users can submit builds. No public exploit identified at time of analysis.

Information Disclosure Apple Nixos +1
NVD GitHub
EPSS 0% CVSS 4.3
MEDIUM PATCH This Month

Nix releases before 2.35.3 in unsandboxed macOS or FreeBSD deployments permit a local authenticated build user to establish daemon client connections that should be denied, enabling unauthorized interactions with the Nix daemon. The independently assessed CVSS is 4.3 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N), reflecting a local, scope-changed authorization weakness with limited integrity impact and no confidentiality or availability impact. No public exploit identified at time of analysis; the issue is confined to unsandboxed macOS/FreeBSD configurations, and upgrading to 2.35.3 or enabling sandboxing removes the exposure.

Authentication Bypass Apple Nixos +1
NVD
EPSS 0% CVSS 4.0
MEDIUM PATCH This Month

Local privilege escalation in Nix before 2.35.3 allows a local attacker with access to the user account that installed the multi-user Nix store to gain root privileges by tampering with /nix/store contents, because the installer incorrectly assigned ownership of the store to the invoking user instead of root. The independent assessment rates this as High severity (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), noting that exploitation requires local access to the affected account and that the host must have been provisioned with the vulnerable multi-user installer. No public exploit code is known at this time; a security advisory is available.

Information Disclosure Nixos Nix
NVD
EPSS 0% CVSS 4.3
MEDIUM PATCH This Month

Seatbelt sandbox escape on macOS in Nix before 2.35.3 and Lix before 2.95.4 lets a local attacker cause a crafted build to break out of the macOS Seatbelt confinement via a mishandled size threshold, yielding limited integrity impact (C:N/I:L/A:N). There is no public exploit identified at time of analysis and no confirmed active exploitation, and the issue is assessed as low-to-moderate priority because exploitation requires local access on macOS plus the ability to have a build evaluated on the host, such as on multi-user build servers or CI runners processing untrusted derivations. Unauthenticated local access is consistent with the CVSS vector (PR:N).

Authentication Bypass Apple macOS +2
NVD
EPSS 0% CVSS 2.8
LOW PATCH Monitor

Sandbox escape in Nix versions before 2.35.0 allows a malicious build derivation - executed under the experimental `recursive-nix` feature - to create or truncate empty files outside the build sandbox using the nix-daemon's permissions by exploiting a TOCTOU race in the LocalStore path-restore logic. The race window exists between path resolution and the `open()` call with `O_TRUNC` in `writeFile`, which previously lacked `O_NOFOLLOW` enforcement, letting an attacker substitute a symlink mid-flight to redirect the write. No public exploit has been identified and the vulnerability is not listed in CISA KEV; the official fix is confirmed in Nix 2.35.0.

Information Disclosure Nixos Nix
NVD GitHub
EPSS 1% CVSS 8.8
HIGH PATCH This Week

Nix is a package manager for Linux and other Unix systems. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity. This Path Traversal vulnerability could allow attackers to access files and directories outside the intended path.

Path Traversal Nixos Nix
NVD GitHub
EPSS 2% CVSS 9.8
CRITICAL PATCH Act Now

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 before 0.22.2 for Rust. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Buffer Overflow Memory Corruption Nix
NVD GitHub
EPSS 0% CVSS 7.8
HIGH POC This Week

Nix through 2.3 allows local users to gain access to an arbitrary user's account because the parent directory of the user-profile directories is world writable. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Privilege Escalation Nixos Nix
NVD

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy