Skip to main content

Nix CVE-2026-110452

| EUVDEUVD-2026-100808 MEDIUM
Incorrect Ownership Assignment (CWE-708)
2026-10-14 mitre GHSA-ggvw-xgw8-9cc9
4.0
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local access as the installing/store-owning user
  2. Exploit
    Modify user-owned /nix/store binary or path
  3. Impact
    Code executes with root privileges on next invocation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect ownership assignment
Exploitation Conditions

Applies only to systems installed via the Nix multi-user installer in versions before 2.35.3, where the installer wrongly set /nix/store ownership to the invoking user instead of root. Exploitation requires local access to the account that owns the store (or any account with write access to the mis-owned store paths); there is no remote or network-reachable path despite the input vector listing PR:N. Limiting factors: the vector is local (AV:L), the host must have been provisioned with the affected multi-user installer rather than re-owned or single-user, and the attacker must already hold a local account on the machine. Single-admin workstations where the installing user is already the privileged operator see little practical privilege boundary crossed.

Impact

The provided CVSS 3.1 base score is 4.0 (Medium) with vector AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - a local attack vector, low complexity, and integrity-only impact. There is a notable internal conflict: the vector states PR:N (no privileges), yet the flaw concerns ownership of /nix/store being assigned to a local user account, which inherently implies the attacker is a local user - verify authentication assumptions with the vendor, as PR:L is more defensible than PR:N here. No EPSS score was provided in the input, so exploitation-probability cannot be quantified; this is a data gap, not a low-risk signal. The CVE is not listed in CISA KEV and no POC/exploit code is referenced, so exploitation status is 'no public exploit identified at time of analysis.' Functionally this is a local privilege-escalation primitive (incorrect ownership, CWE-708): store paths that should be root-owned are writable by a non-root user, so the vendor's I:L/C:N/A:N scoring is arguably conservative given that tampering with store binaries later executed by root can yield fuller compromise. Net: this is not an internet-facing, mass-exploitable emergency - the local-only vector and absence of KEV/POC/EPSS keep real-world urgency moderate - but it warrants prompt patching on any multi-user Nix host installed with the affected installer because of the latent privilege-escalation potential.

Exploit ScenarioDerived

On a multi-user Nix/NixOS host installed with the vulnerable installer (Nix before 2.35.3), /nix/store contents are owned by the user who ran the installer rather than root. That local user can modify or replace a store path; when root or another user later executes the tampered binary, the attacker's code runs with elevated privileges. No public exploit code is referenced, and exploitation requires local access to the affected account.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

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.

RemediationAI

Upgrade Nix to version 2.35.3 or later, which fixes the ownership assignment in the multi-user installer. The advisory at https://discourse.nixos.org/t/security-advisory-for-nix-and-lix-october-2026/80547 provides details. If immediate upgrade is not possible, administrators should verify and correct ownership of /nix/store and its contents to root:root (or an appropriate root-owned group), as the mis-ownership is the root cause; however, manual correction may be incomplete for existing store paths and does not prevent future occurrences if the installer is re-run. As a compensating control, restrict local access to the user account that originally installed Nix, since that account can modify store contents; this may not be practical in multi-user environments. Note that simply reinstalling with a corrected installer may also require re-owning existing store paths.

Affected VersionsENISA

nix 2.29.0 <2.30.6
nix 2.31.0 <2.31.6
nix 0 <2.28.8
nix 2.35.0 <2.35.3
nix 2.32.0 <2.34.9

Affected Packages

euvd nix fix: 2.28.8, 2.30.6, 2.31.6, 2.34.9, 2.35.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nix is a package manager that stores all packages and build artifacts in the /nix/store directory, which must be owned by root to prevent non-privileged users from modifying store contents. The multi-user installer is designed to set up Nix with a daemon and multiple user profiles, and it is expected to assign root ownership to the store. CWE-708 (Incorrect Ownership Assignment) is the root cause: the installer erroneously sets the ownership of store contents to the user who invoked the installer. This undermines the integrity boundary between the installing user and the system, allowing that user (or any account with write access to the mis-owned paths) to replace or alter store paths. Because the store is used by all users and sometimes by root processes, malicious modifications can lead to arbitrary code execution with elevated privileges. The CPE cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:* indicates that all versions prior to 2.35.3 are potentially affected when installed with the multi-user installer.

Know when Nix gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 4.0 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
vuln.today AI 8.8 HIGH

Requires a local account owning the mis-owned store (PR:L, AV:L); tampering with root-executed store binaries escalates beyond the user's authority, giving S:C and full C/I/A impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Oct 14, 2026 - 06:01 EUVD

DescriptionCVE.org

The multi-user installer in Nix before 2.35.3 sets the ownership of store contents to the user (who invoked the installer) even though it should be root ownership.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
developer-focused package manager, limited production/enterprise deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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