CVE-2026-35342

published 22 Apr 2026 · updated 22 Apr 2026

uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR

3.3LowCVSS 3.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.6.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
uutils<0.6.00.6.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-35342 severity on Zeptric[![CVE-2026-35342](https://zeptric.io/badge/cve/CVE-2026-35342.svg)](https://zeptric.io/cve/CVE-2026-35342)