CVE-2026-35355Medium· 6.3▾ Sunlitinstall: TOCTOU symlink race (unlink-then-create without O_EXCL) allows arbitrary file overwrite
▾ Sunlit zone — Low / medium · no exploitation signal
impact 34.7 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 6.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.1%
0.1% → 0.1%
copy_file in install/src/install.rs removes the destination then recreates it by pathname via File::create / fs::copy without O_EXCL/create_new. Between the unlink and the recreate, a local attacker with write access to the destination directory can drop in a symlink and redirect the write.
Impact: when install runs privileged into an attacker-writable directory (staging/build paths), the race allows redirecting writes to arbitrary files and overwriting sensitive system files (/etc/passwd, /etc/shadow). Recommendation: create atomically with create_new/O_EXCL and copy via the opened fd rather than reopening by path.
Remediation: Acknowledged by Canonical; fixed in commit b5bbabc1.
Reported by Zellic in the uutils coreutils Program Security Assessment (prepared for Canonical, Jan 20 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242. Finding 3.50. Credit: Zellic.
uu_install < 0.6.0Upgrade to a patched release:
uu_install 0.6.0Connected by shared product, vendor, weakness, or advisory.
CVE-2026-35356Medium· 6.3install -D: symlink race in directory creation allows arbitrary file overwrite
CVE-2026-23950High· 8.8node-tar,a Tar for Node.js, has a race condition vulnerability in versions up to and including 7.5.3
CVE-2026-35353Low· 3.3mkdir: -m exposes directory with umask perms before chmod (race window)
CVE-2026-35362Low· 3.6uucore: safe_traversal TOCTOU protection only enabled on Linux
CVE-2026-54587Medium· 5.8mport is the MidnightBSD Package Manager
CVE-2026-54576Medium· 5.8mport is the MidnightBSD Package Manager