CVE-2026-35342: uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR

Published Apr 22, 2026
·
Updated

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 Software

3 affected componentsFixes available
uutils uutils coreutils
uutils Coreutils Rust<0.6.0
rust/uu_mktemp<0.6.0
0.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/uu_mktemp to a version that resolves this vulnerability.

    Fixed in 0.6.0

Event History

Apr 22, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 6, 2026
Advisory Published
via GitHub·07:50 PM
Data Sourced
via GitHub·07:50 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-35342?

CVE-2026-35342 has been classified as a medium severity vulnerability due to potential risks of insecure temporary file placement.

2

How do I fix CVE-2026-35342?

To fix CVE-2026-35342, update to the latest version of uutils coreutils where the issue has been addressed.

3

What is the impact of CVE-2026-35342?

The impact of CVE-2026-35342 is that it may allow an attacker to exploit insecure temporary file placement leading to potential data exposure.

4

Which software is affected by CVE-2026-35342?

CVE-2026-35342 affects the uutils coreutils application, specifically its mktemp utility.

5

What should I do if I cannot update uutils coreutils for CVE-2026-35342?

If you cannot update uutils coreutils, consider setting a secure TMPDIR environment variable as a temporary workaround.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203