CVE-2026-35342
published low CVSS 3.1 · 3.3uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Uutils | — | coreutils0 to < 0.6.0 · Other versions: unaffected · Platforms: Linux, Unix, macOS | Affected | Not stated | canonical |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Uutils | coreutils | 0 to < 0.6.0 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-377 CWE-377: Insecure Temporary File
References
2Provider assertions
2canonical · cna
uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f33675ee352eadfae89f1f719feaa21c6c7d67e5bd67edeb58a29e56bdbc51b8
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record