GHSA-m976-87wm-48fm

Suggest an improvement
Source
https://github.com/advisories/GHSA-m976-87wm-48fm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-m976-87wm-48fm/GHSA-m976-87wm-48fm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m976-87wm-48fm
Aliases
  • CVE-2026-35364
Related
Published
2026-04-22T18:31:45Z
Modified
2026-06-02T13:29:22.634511324Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition
Details

A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mv utility of uutils coreutils during cross-device operations. The utility removes the destination path before recreating it through a copy operation. A local attacker with write access to the destination directory can exploit this window to replace the destination with a symbolic link. The subsequent privileged move operation will follow the symlink, allowing the attacker to redirect the write and overwrite an arbitrary target file with contents from the source.

Database specific
{
    "github_reviewed_at": "2026-04-30T17:31:34Z",
    "github_reviewed": true,
    "severity": "MODERATE",
    "nvd_published_at": "2026-04-22T17:16:39Z",
    "cwe_ids": [
        "CWE-367"
    ]
}
References

Affected packages

crates.io / coreutils

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.8.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-m976-87wm-48fm/GHSA-m976-87wm-48fm.json"