CVE-2026-35342

Low

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.

SeverityLow
CVSS3.3
Exploit probability—
ProductUutils Coreutils
PublishedApr 22, 2026
First seenApr 22, 2026
Weakness typeCWE-377CWE-377

How to fix

Update
  • uutils coreutils0.6.0 or later

Affected products

ProductAffected versionsFixed in
uutils coreutilsv < 0.6.00.6.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.