CVE-2026-35342
The mktemp utility in uutils coreutils fails to properly handle an …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/uutils/coreutils/pull/10566
- github.com/uutils/coreutils/releases/tag/0.6.0
- nvd.nist.gov/vuln/detail/CVE-2026-35342
- github.com/uutils/coreutils/commit/eb25ec328b226d8fbbaa4058bf9187165bf06d51
- github.com/advisories/GHSA-2cxp-xq3c-mjxx
- github.com/uutils/coreutils/security/advisories/GHSA-2w8r-9xj7-69j5
- github.com/advisories/GHSA-2w8r-9xj7-69j5
- nvd.nist.gov/vuln/detail/CVE-2026-35342
- cve.org/CVERecord?id=CVE-2026-35342
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.