Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39860: CWE-61: UNIX Symbolic Link (Symlink) Following in NixOS nix

0
Critical
VulnerabilityCVE-2026-39860cvecve-2026-39860cwe-61
Published: Wed Apr 08 2026 (04/08/2026, 20:58:22 UTC)
Source: CVE Database V5
Vendor/Project: NixOS
Product: nix

Description

CVE-2026-39860 is a critical vulnerability in the Nix package manager affecting Linux sandboxed builds. It arises from a flaw in the fix for a previous vulnerability (CVE-2024-27297) that allows arbitrary file overwrites by following symbolic links during fixed-output derivation output registration. This can be exploited by users who can submit builds to the Nix daemon, potentially leading to root privilege escalation by overwriting sensitive files. The issue does not affect sandboxed macOS builds. Multiple versions of Nix prior to specific fixed releases are vulnerable. The vulnerability has a CVSS score of 9. A fix is available in Nix versions 2. 28. 6, 2. 29.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/16/2026, 12:22:29 UTC

Technical Analysis

Nix, a package manager for Unix-like systems, contains a critical vulnerability (CVE-2026-39860) due to improper handling of symbolic links during fixed-output derivation output registration in sandboxed Linux builds. The flaw allows an attacker who can submit builds to the Nix daemon (running as root in multi-user setups) to create symlinks pointing to arbitrary filesystem locations inside the build chroot. When the Nix process follows these symlinks during output registration, it overwrites files writable by the daemon, enabling privilege escalation to root. This vulnerability is a regression from a previous fix (CVE-2024-27297). It affects multiple versions of Nix prior to the fixed releases 2.28.6, 2.29.3, 2.30.4, 2.31.4, 2.32.7, 2.33.4, and 2.34.5. Sandboxed macOS builds are not affected. The CVSS v3.1 base score is 9.0, indicating critical severity.

Potential Impact

Exploitation of this vulnerability allows any user authorized to submit builds to the Nix daemon in multi-user installations to overwrite arbitrary files writable by the daemon, including sensitive system files. This can lead to full root privilege escalation on affected Linux systems. The impact is critical due to the potential for complete system compromise. Sandboxed macOS builds are unaffected, limiting the impact to Linux environments.

Mitigation Recommendations

A fix for this vulnerability is available in Nix versions 2.28.6, 2.29.3, 2.30.4, 2.31.4, 2.32.7, 2.33.4, and 2.34.5. Users should upgrade to one of these versions to remediate the issue. There is no vendor advisory content indicating alternative mitigations or that no action is required. Patch status is confirmed by the provided version information. Users running affected versions should prioritize updating to a fixed release to prevent exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-07T19:13:20.379Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d6c32c1cc7ad14dab1ab39

Added to database: 4/8/2026, 9:05:48 PM

Last enriched: 4/16/2026, 12:22:29 PM

Last updated: 5/23/2026, 6:43:41 PM

Views: 135

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses