CVE-2026-35342
CWE-377Published: April 22, 2026· Updated: Apr 22, 2026
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.
Technical Analysis
CVE-2026-35342 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CVSS v3.1 Vector Breakdown
Exploit & PoC Resources
All References (2)
Quick Facts
Related CVEs (CWE-377)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-35342 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts