CVE-2026-35342CWE-377

uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR

Low · published April 22, 2026

CVSS v3.1
3.3
EPSS
0%
Percentile
4.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.3 · LOW
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00154 · 4.2th percentile
Weakness
CWE-377 · Insecure Temporary File
Published
2026-04-22T16:07Z
EPSS history
Timeline
  • 22 APR 16:07Z
    uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR
    cvelistv5