Back

LOW

uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR

Published Apr 22, 2026

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

Remediation

No remediation recorded yet.

Weaknesses (1)

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner canonical
Published Apr 22, 2026
Updated Apr 22, 2026
Reserved Apr 2, 2026
CISA Vulnrichment
Updated Apr 22, 2026
NVD
Status Analyzed
Modified Jun 17, 2026
Red Hat
Severity n/a
Public date n/a
ENISA EUVD
Assigner canonical
Published Apr 22, 2026
Updated Apr 22, 2026
Exploited since n/a
EUVD-2026-24971 GHSA-2W8R-9XJ7-69J5