CVE-2026-35342 LOW

CVE-2026-35342: uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR

Vendor Uutils
Product coreutils
Weakness CWE-377
Published April 22, 2026
Last update April 22, 2026

CVSS base score

3.3/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 22, 2026 CVE published
April 22, 2026 Record updated