Description
Nix before 2.35.3, when unsandboxed on macOS or FreeBSD, incorrectly allows connections made by build users from daemon clients.
Published: 2026-10-14
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Access
Action: Patch
AI Analysis

Impact

Nix versions prior to 2.35.3 contain a flaw that, when the daemon runs without sandboxing on macOS or FreeBSD, it incorrectly permits connections initiated by build users. This bypasses the intended privilege restrictions, allowing an attacker to interact with the Nix daemon over the network. The core weakness is a violation of privilege assignment policy, consistent with CWE‑863. Based on the description, it is inferred that the attack vector requires a build user with some privileges and that the attacker can use that to connect to the daemon.

Affected Systems

Nix, the package manager maintained by NixOS, is affected in all releases earlier than 2.35.3 when the daemon is configured to run without sandboxing on macOS and FreeBSD platforms. The vulnerability does not affect other operating systems or sandboxed configurations. Users of the default unsandboxed Nix daemon on these platforms should verify their version and upgrade accordingly.

Risk and Exploitability

The CVSS score of 4.3 indicates a low severity, and the EPSS value of less than 1% suggests a very low probability of exploitation in the current threat landscape. The vulnerability is not listed in CISA’s KEV catalog, implying no known widespread attacks. Attackers would need local or network access to a build user with privileges to initiate connections to the Nix daemon. Based on the description, it is inferred that the attack vector involves local or network access to that build user. In a typical build environment, such access might be limited, making the practical risk moderate but not negligible.

Generated by OpenCVE AI on October 17, 2026 at 03:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nix to version 2.35.3 or later, which includes the fix for the daemon connection handling.
  • Configure the Nix daemon to run sandboxed whenever possible; avoid running it in an unsandboxed mode unless absolutely necessary.
  • Limit build user permissions and ensure they cannot traverse network boundaries that allow connections to the Nix daemon; consider firewall rules to restrict daemon access to trusted hosts only.

Generated by OpenCVE AI on October 17, 2026 at 03:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Title Nix Unsandboxed Daemon Allows Unauthorized Connections to Build Users nix: nix: Unauthorized daemon access via unsandboxed build user connections
Weaknesses CWE-653
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 16 Oct 2026 01:30:00 +0000

Type Values Removed Values Added
Title Nix Unsandboxed Daemon Allows Unauthorized Connections to Build Users

Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Title Unsandboxed Nix Daemon Allows Connections from Build Users on macOS and FreeBSD

Wed, 14 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Title Unsandboxed Nix Daemon Allows Connections from Build Users on macOS and FreeBSD

Wed, 14 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
Description Nix before 2.35.3, when unsandboxed on macOS or FreeBSD, incorrectly allows connections made by build users from daemon clients.
First Time appeared Nixos
Nixos nix
Weaknesses CWE-863
CPEs cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
Vendors & Products Nixos
Nixos nix
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-19T18:42:54.780Z

Reserved: 2026-10-14T04:15:46.477Z

Link: CVE-2026-110453

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T05:16:43.377

Modified: 2026-10-19T19:17:20.607

Link: CVE-2026-110453

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-14T04:15:47Z

Links: CVE-2026-110453 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T11:15:07Z

Weaknesses
  • CWE-653

    Improper Isolation or Compartmentalization

  • CWE-863

    Incorrect Authorization