{"id":"CVE-2026-35342","published":"2026-04-22T16:07:41Z","modified":"2026-04-22T18:15:53Z","title":"uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR","vendor":"Uutils","product":"coreutils","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00138,"percentile":0.03243,"provenance":"source"},"cwes":[{"id":"CWE-377","name":"Insecure Temporary File"}],"references":[{"url":"https://github.com/uutils/coreutils/pull/10566","tags":["patch","issue-tracking"]},{"url":"https://github.com/uutils/coreutils/releases/tag/0.6.0","tags":["vendor-advisory"]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":0.65},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"uutils","affectedVersions":[{"vendor":"Uutils","product":"coreutils","versions":["< 0.6.0"]}],"capec":[{"id":"CAPEC-117","name":"Interception"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-22T18:15:42.831357Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"uu_mktemp","vulnerableRanges":["<0.6.0"],"patched":["0.6.0"],"from":["GHSA-2w8r-9xj7-69j5"],"provenance":"source"}],"summary":{"text":"The mktemp utility in uutils coreutils mishandles an empty TMPDIR environment variable by treating it as a literal path rather than falling back to /tmp as GNU mktemp does, so temporary files land in the current working directory. An attacker with local access and low privileges can reach temporary data where the working directory is more permissive than /tmp, which may lead to information disclosure, and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:24Z"},"euvd":{"id":"EUVD-2026-24971","exploited":false,"provenance":"source"}}