CVE-2026-35342Uutils Coreutils
Low 3.3
Follow: this CVE · Uutils · Uutils Coreutils We alert you by email or Slack (account required).
- Priority
- 20
- CVSS 3.1
- 3.3
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 22, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-377
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid path. This causes temporary files to be created in the current working directory (CWD) instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, it may lead to unintended information disclosure or unauthorized access to temporary data.
What to do
- Apply the vendor's security update for Coreutils.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | uu_mktemp |
< 0.6.0 |
0.6.0 |
cargo update -p uu_mktemp --precise 0.6.0 |
Per OSV / GitHub Advisories (GHSA-2w8r-9xj7-69j5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| uutils | coreutils | < 0.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- github.com Release Notes