CVE catalog

CVE-2026-35359

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability…

[CVE catalog]

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils coreutils allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequently opens it without the O_NOFOLLOW flag. An attacker with concurrent write access can swap a regular file for a symbolic link during this window, causing a privileged cp process to copy the contents of arbitrary sensitive files into a destination controlled by the attacker.

Severity
Medium · CVSS 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.13% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "rust-coreutils",
      "status": "fixed",
      "release": "sid",
      "version": "0.12.0-1"
    },
    {
      "name": "rust-coreutils",
      "status": "fixed",
      "release": "forky",
      "version": "0.12.0-1"
    },
    {
      "name": "rust-coreutils",
      "status": "vulnerable",
      "release": "trixie",
      "version": "0.0.30-2"
    },
    {
      "name": "rust-coreutils",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "0.0.17-2"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1134876,
      "name": "rust-coreutils",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "0.8.0-1"
    },
    {
      "bug": 1134876,
      "name": "rust-coreutils",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "0.8.0-1"
    },
    {
      "bug": 1134876,
      "name": "rust-coreutils",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": 1134876,
      "name": "rust-coreutils",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "rust-coreutils",
      "ecosystem": "cpe",
      "fixed_version": "not yet fixed"
    },
    {
      "name": "coreutils",
      "ecosystem": "cpe",
      "fixed_version": ""
    },
    {
      "name": "coreutils",
      "ranges": [],
      "ecosystem": "cpe",
      "fixed_version": "",
      "provider_record_id": "NVD-CVE-2026-35359"
    }
  ]
}

[Debian bug #1134876]

Publisher notes

[trixie] rust-coreutils: Minor issue [bookworm] rust-coreutils: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Details (2)
    • 0.0.17-2 · amd64 · bookworm

      Affected

      nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12

    • 0.0.17-2 · arm64 · bookworm

      Affected

      nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 0.0.30-2 · amd64 · trixie

      Affected

      nvd · rust-coreutils · debian · 13

    • 0.0.30-2 · arm64 · trixie

      Affected

      nvd · rust-coreutils · debian · 13

Observed:

References