Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. uucore
  4. ›
  5. CVE-2026-35362

CVE-2026-35362: uucore: safe_traversal TOCTOU protection only enabled on Linux

July 6, 2026

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

  • github.com/advisories/GHSA-w6xc-g9qj-vp32
  • github.com/uutils/coreutils/commit/30239e69a328e76d2377f2a0bc02fbde61c34280
  • github.com/uutils/coreutils/pull/9792
  • github.com/uutils/coreutils/releases/tag/0.6.0
  • github.com/uutils/coreutils/security/advisories/GHSA-w6xc-g9qj-vp32
  • nvd.nist.gov/vuln/detail/CVE-2026-35362

Code Behaviors & Features

Detect and mitigate CVE-2026-35362 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.0

Fixed versions

  • 0.6.0

Solution

Upgrade to version 0.6.0 or above.

Impact 3.6 LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Source file

cargo/uucore/CVE-2026-35362.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 07 Jul 2026 12:18:42 +0000.