CVE-2026-35342

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*

History

04 May 2026, 20:11

Type Values Removed Values Added
CPE cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
First Time Uutils
Uutils coreutils
References () https://github.com/uutils/coreutils/pull/10566 - () https://github.com/uutils/coreutils/pull/10566 - Issue Tracking, Patch
References () https://github.com/uutils/coreutils/releases/tag/0.6.0 - () https://github.com/uutils/coreutils/releases/tag/0.6.0 - Release Notes

22 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 17:16

Updated : 2026-06-17 10:40


NVD link : CVE-2026-35342

Mitre link : CVE-2026-35342

CVE.ORG link : CVE-2026-35342


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-377

Insecure Temporary File