LOW
uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR
Published Apr 22, 2026
3.3
LOWCVSS 3.1
EPSS 0.15%
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.
Affected products
-
- Version 0StatusaffectedConstraints<0.6.0
- Version
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Weaknesses (1)
References (7)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-24971 Advisory
- https://github.com/advisories/GHSA-2w8r-9xj7-69j5 Advisory
- https://github.com/uutils/coreutils/commit/eb25ec328b226d8fbbaa4058bf9187165bf06d51
- https://github.com/uutils/coreutils/pull/10566 patchissue-trackingIssue Tracking
- https://github.com/uutils/coreutils/releases/tag/0.6.0 vendor-advisoryRelease Notes
- https://github.com/uutils/coreutils/security/advisories/GHSA-2w8r-9xj7-69j5
- https://nvd.nist.gov/vuln/detail/CVE-2026-35342
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-24971 | Advisory | |
| https://github.com/advisories/GHSA-2w8r-9xj7-69j5 | Advisory | |
| https://github.com/uutils/coreutils/commit/eb25ec328b226d8fbbaa4058bf9187165bf06d51 | ||
| https://github.com/uutils/coreutils/pull/10566 | patchissue-trackingIssue Tracking | |
| https://github.com/uutils/coreutils/releases/tag/0.6.0 | vendor-advisoryRelease Notes | |
| https://github.com/uutils/coreutils/security/advisories/GHSA-2w8r-9xj7-69j5 | ||
| https://nvd.nist.gov/vuln/detail/CVE-2026-35342 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner canonical
Published Apr 22, 2026
Updated Apr 22, 2026
Reserved Apr 2, 2026
Link CVE-2026-35342
CISA Vulnrichment
Updated Apr 22, 2026
ENISA EUVD
EUVD-2026-24971 GHSA-2W8R-9XJ7-69J5 Assigner canonical
Published Apr 22, 2026
Updated Apr 22, 2026
Exploited since n/a
Link EUVD-2026-24971