Vulnerability · Published Apr 22, 2026 · Assigned by canonical

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

Low 3.3

In plain English

A low-severity security flaw in coreutils from Uutils. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.1%top 97.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rust-coreutilsno fix listedDEBIAN-CVE-2026-35342
Debian:13rust-coreutilsno fix listedDEBIAN-CVE-2026-35342
Debian:14rust-coreutils0.6.0-1DEBIAN-CVE-2026-35342
Ubuntu:24.04:LTSrust-coreutilsno fix listedUBUNTU-CVE-2026-35342
Ubuntu:25.10rust-coreutilsno fix listedUBUNTU-CVE-2026-35342

Affected products (as reported)

VendorProductVersions
Uutils coreutils 0 – before 0.6.0

Weakness: CWE-377 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References