Nixpkgs security tracker

Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-35355
6.3 MEDIUM
  • CVSS version: 3.1
  • Attack vector (AV): LOCAL
  • Attack complexity (AC): HIGH
  • Privileges required (PR): LOW
  • User interaction (UI): NONE
  • Scope (S): UNCHANGED
  • Confidentiality impact (C): NONE
  • Integrity impact (I): HIGH
  • Availability impact (A): HIGH
created 6 days, 10 hours ago Activity log
  • Created suggestion
uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race

The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_EXCL flag. A local attacker can exploit the window between the unlink and the subsequent creation to swap the path with a symbolic link, allowing them to redirect privileged writes to overwrite arbitrary system files.

Affected products

coreutils
  • <0.6.0

Matching in nixpkgs

pkgs.coreutils

GNU Core Utilities

  • nixos-unstable 9.10
    • nixpkgs-unstable 9.10
    • nixos-unstable-small 9.10
  • nixos-25.11 9.8
    • nixos-25.11-small 9.8
    • nixpkgs-25.11-darwin 9.8