GHSA-4wrp-79m8-9m9p

Suggest an improvement
Source
https://github.com/advisories/GHSA-4wrp-79m8-9m9p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-4wrp-79m8-9m9p/GHSA-4wrp-79m8-9m9p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4wrp-79m8-9m9p
Aliases
  • CVE-2026-35374
Related
Published
2026-04-22T18:31:46Z
Modified
2026-06-02T03:14:13.305150959Z
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) vulnerability exists in the split utility of uutils coreutils. The program attempts to prevent data loss by checking for identity between input and output files using their file paths before initiating the split operation. However, the utility subsequently opens the output file with truncation after this path-based validation is complete. A local attacker with write access to the directory can exploit this race window by manipulating mutable path components (e.g., swapping a path with a symbolic link). This can cause split to truncate and write to an unintended target file, potentially including the input file itself or other sensitive files accessible to the process, leading to permanent data loss.

Database specific
{
    "cwe_ids": [
        "CWE-367"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-30T17:54:59Z",
    "nvd_published_at": "2026-04-22T17:16:42Z",
    "severity": "MODERATE"
}
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-4wrp-79m8-9m9p/GHSA-4wrp-79m8-9m9p.json"