What’s Vulnerable › Vulnerabilities
CVE-2026-35342: uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-10-26
- Weakness: CWE-377
Description
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.
Affected products
- Uutils coreutils: before 0.6.0 — fixed in 0.6.0
How to fix
Upgrade to a fixed version: Uutils coreutils 0.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/uutils/coreutils/pull/10566
- https://github.com/uutils/coreutils/releases/tag/0.6.0
Get alerted when CVE-2026-35342 or the next vulnerability affects your stack