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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 3 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Affected | โ |
| sid | Fixed | 0.6.0-1 |
| bookworm | Affected | โ |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| uutils | coreutils | {"endExcluding":"0.6.0"} | 0.6.0 |
References
- https://github.com/uutils/coreutils/pull/10566
- https://github.com/uutils/coreutils/releases/tag/0.6.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-35342
- https://github.com/uutils/coreutils/commit/eb25ec328b226d8fbbaa4058bf9187165bf06d51
- https://github.com/uutils/coreutils
- https://security-tracker.debian.org/tracker/CVE-2026-35342
- https://github.com/advisories/GHSA-2cxp-xq3c-mjxx
CWEs
CWE-377
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.