Low severity3.3NVD Advisory· Published Apr 22, 2026· Updated May 4, 2026
CVE-2026-35342
CVE-2026-35342
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
coreutilscrates.io | < 0.6.0 | 0.6.0 |
Affected products
3Patches
Vulnerability mechanics
References
5- github.com/uutils/coreutils/pull/10566nvdIssue TrackingPatchWEB
- github.com/advisories/GHSA-2cxp-xq3c-mjxxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-35342ghsaADVISORY
- github.com/uutils/coreutils/commit/eb25ec328b226d8fbbaa4058bf9187165bf06d51ghsaWEB
- github.com/uutils/coreutils/releases/tag/0.6.0nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.