CVE-2026-39860 | Nix sandbox escape: file write via symlink at FOD `.tmp` copy destination

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.

公開: 2026-04-08 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2026-39860 は低リスク(39.4/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 0.19%、9 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2026-39860 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.02% 0.19% +0.18%
2 2026-04-09 0.02%

EPSS の全履歴 (全 2 件)

CVE-2026-39860 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
9.0 3.1 CRITICAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.5 5.8 [email protected]
8.4 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.0 5.8 [email protected]

CVE-2026-39860 の弱点分類(列挙)

CVE-2026-39860 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2026-39860 not yet assigned priority: Debian including 1 source packages (nix), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2026-39860
ubuntu medium CVE-2026-39860 medium priority: Ubuntu including 1 source packages (nix), 4 status rows across 4 suites (jammy, noble, questing, upstream): needs-triage 4. https://ubuntu.com/security/CVE-2026-39860

CVE-2026-39860 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
nixos nix >= 2.18.2, <= 2.18.9 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.19.4, <= 2.19.7 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.20.5, <= 2.20.9 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.21.0, < 2.28.6 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.29.0, < 2.29.3 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.30.0, < 2.30.4 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.31.0, < 2.31.4 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.32.0, < 2.32.7 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.33.0, < 2.33.4 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*
nixos nix >= 2.34.0, < 2.34.5 cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*

CVE-2026-39860 の参考情報

cvelogic Threat Intelligence