Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-39860
nixos nix

Score8.4 High
CVSS 3.1
Exploit probability (EPSS)0.19%
within the next 30 days
CategoryAccess control & privilege
Published8 April 2026
Last modified: 24 July 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data.

The impact can spread beyond the vulnerable component.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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) by following symlinks during fixed-output derivation output registration. This affects sandboxed Linux builds - sandboxed macOS builds are unaffected. The location of the temporary output used for the output copy was located inside the build chroot. A symlink, pointing to an arbitrary location in the filesystem, could be created by the derivation builder at that path. During output registration, the Nix process (running in the host mount namespace) would follow that symlink and overwrite the destination with the derivation's output contents. In multi-user installations, this allows all users able to submit builds to the Nix daemon (allowed-users - defaulting to all users) to gain root privileges by modifying sensitive files. This vulnerability is fixed in 2.34.5, 2.33.4, 2.32.7, 2.31.4, 2.30.4, 2.29.3, and 2.28.6.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Weakness: CWE-61

Affected products

VendorProductVersions
nixosnix>=2.18.2 <=2.18.9
nixosnix>=2.19.4 <=2.19.7
nixosnix>=2.20.5 <=2.20.9
nixosnix>=2.21.0 <2.28.6
nixosnix>=2.29.0 <2.29.3
nixosnix>=2.30.0 <2.30.4
nixosnix>=2.31.0 <2.31.4
nixosnix>=2.32.0 <2.32.7
nixosnix>=2.33.0 <2.33.4
nixosnix>=2.34.0 <2.34.5

Sources

Latest in the same category

  • CVE-2026-139893 Medium 5.5
    A vulnerability has been found in 0xERR0R blocky up to 0.35.0. Impacted is the function configureDebugHandler of the file server/server_endpoints.go. Such manipulation leads to information disclosure. The attack may be…
    Access control & privilege · 1 December 2026
  • CVE-2026-139892 Medium 4.8
    A flaw has been found in MervinPraison PraisonAI up to 4.7.24. This issue affects the function _load_rules of the file praisonaiagents/permissions/manager.py of the component Permission Manager. This manipulation…
    Access control & privilege · 1 December 2026
  • CVE-2026-139891 Low 1.9
    A security vulnerability has been detected in KunAgent Kun up to 0.4.5. This affects the function launchResumeTurn of the file kun/src/loop/interrupted-turn-coordinator.ts of the component Turn Resume. The manipulation…
    Access control & privilege · 1 December 2026
  • CVE-2026-139890 Medium 5.5
    A weakness has been identified in KunAgent Kun up to 0.4.5. Affected by this issue is the function buildWorkflowHookRun of the file kun/src/hooks/hook-config.ts of the component Workflow Hooks. Executing a manipulation…
    Access control & privilege · 1 December 2026
  • CVE-2026-139889 Low 1.9
    A vulnerability was identified in Moonshot AI Kimi Code up to 2.5.2. Affected is the function AgentToolPolicyService of the file packages/agent-core-v2/src/agent/toolPolicy/toolPolicyService.ts of the component Tool…
    Access control & privilege · 1 December 2026
  • CVE-2026-139888 Medium 4.8
    A vulnerability was determined in Twigpine Zero up to 0.14.0. This impacts the function LoadConfig of the file internal/hooks/hooks.go. This manipulation causes improper authorization. It is possible to launch the…
    Access control & privilege · 1 December 2026