CVE-2026-35362: uucore: safe_traversal TOCTOU protection only enabled on Linux
The safetraversal module in uutils coreutils, which provides protection against Time-of-Check to Time-of-Use (TOCTOU) symlink races using file-descriptor-relative syscalls, is incorrectly limited to Linux targets. On other Unix-like systems such as macOS and FreeBSD, the utility fails to utilize these protections, leaving directory traversal operations vulnerable to symlink race conditions. --- Zellic finding 3.59.
Published Jul 6, 2026
Affected packages
uucore
- Ecosystem
- Rust (crates.io)
- Affected
- < 0.6.0
- Fixed in
- 0.6.0
- Check
cargo tree -i uucore
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The safe_traversal module in uutils coreutils, which provides protection against Time-of-Check to Time-of-Use (TOCTOU) symlink races using file-descriptor-relative syscalls, is incorrectly limited to Linux targets. On other Unix-like systems such as macOS and FreeBSD, the utility fails to utilize these protections, leaving directory traversal operations vulnerable to symlink race conditions.
--- _Zellic finding 3.59. Reported in the Zellic *uutils coreutils Program Security Assessment* (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242._
References
- https://github.com/uutils/coreutils/security/advisories/GHSA-w6xc-g9qj-vp32
- https://nvd.nist.gov/vuln/detail/CVE-2026-35362
- https://github.com/uutils/coreutils/pull/9792
- https://github.com/uutils/coreutils/commit/30239e69a328e76d2377f2a0bc02fbde61c34280
- https://github.com/uutils/coreutils/releases/tag/0.6.0
- https://github.com/advisories/GHSA-w6xc-g9qj-vp32
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
