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.

Related CPE's


Weaknesses



CWE-377

CVSS impact metrics


CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

3.3 · Low

Information


Source identifier

[email protected]

Vulnerability status

Analyzed

Published

2026-04-22T17:16:36.217Z

5 months ago

Last modified

2026-06-17T10:40:25.610Z

3 months ago