GHSA-2m8x-mvfx-gwgj

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

The cp utility in uutils coreutils is vulnerable to an information disclosure race condition. Destination files are initially created with umask-derived permissions (e.g., 0644) before being restricted to their final mode (e.g., 0600) later in the process. A local attacker can race to open the file during this window; once obtained, the file descriptor remains valid and readable even after the permissions are tightened, exposing sensitive or private file contents.

Database specific
{
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-367"
    ],
    "github_reviewed_at": "2026-04-30T17:12:12Z",
    "nvd_published_at": "2026-04-22T17:16:38Z",
    "github_reviewed": true
}
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-2m8x-mvfx-gwgj/GHSA-2m8x-mvfx-gwgj.json"