Read the docs
TI-2026-27480 Aliases CVE-2026-35342GHSA-2w8r-9xj7-69j5

uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR

Priority LOW 15CWE-377Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00133 2nd percentileScored 2026-11-07
Fix Fixed coreutils (Uutils): 0.6.0uu_mktemp (crates.io): 0.6.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Uutilscoreutilsbefore 0.6.00.6.0Patch availableCNA
—uu_mktemp (crates.io)before 0.6.00.6.0Patch availableGHSA-2w8r-9xj7-69j5
  • coreutils VendorUutils Affected before 0.6.0 Fixed in 0.6.0 Patch available CNA
  • uu_mktemp (crates.io) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-2w8r-9xj7-69j5

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*before 0.6.0VulnerableUutils
  • cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:* Versions before 0.6.0 Vulnerable ·Uutils

Remediation

  • Fix · CNA coreutils (Uutils) Fixed in 0.6.0
  • Fix · GHSA-2w8r-9xj7-69j5 uu_mktemp (crates.io) Fixed in 0.6.0 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Uutils coreutils — github.com/uutils/coreutils/releases/tag/0.6.0

    12 records Highest priority Priority MEDIUM 3 MEDIUM, 9 LOW

    Other records, highest priority first

    • TI-2026-27493 uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU RacePriority MEDIUM 61
    • TI-2026-27504 uutils coreutils printenv Security Inspection Bypass via UTF-8 EnforcementPriority MEDIUM 54
    • TI-2026-27484 uutils coreutils comm Silent Data Corruption via Lossy UTF-8 NormalizationPriority MEDIUM 49

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-35342
  2. 2026-10-03 Alias added: GHSA-2w8r-9xj7-69j5

References

  • TI-2026-27506 uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection CVSS 3.1HIGH 7.2
  • TI-2026-27498 uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
  • TI-2026-27488 uutils coreutils cp Unexpected Privileged Executable Creation with -p CVSS 3.1MEDIUM 6.6
  • TI-2026-27502 uutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
  • TI-2026-27493 uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race CVSS 3.1MEDIUM 6.3
  • TI-2026-27511 uutils coreutils ln Local Denial of Service via Improper Handling of Non-UTF-8 Filenames CVSS 3.1MEDIUM 5.5
See all 43 →

Sources