CVE-2026-35342: CWE-377: Insecure Temporary File in Uutils coreutils
The mktemp utility in uutils coreutils improperly handles an empty TMPDIR environment variable by treating it as a valid path rather than falling back to /tmp. This causes temporary files to be created in the current working directory instead of a secure temporary directory. If the current directory has more permissive access controls, this behavior may lead to unintended information disclosure or unauthorized access to temporary files. The vulnerability has a low severity with a CVSS score of 3.3. No patch or official remediation is currently documented.
AI Analysis
Technical Summary
CVE-2026-35342 describes a vulnerability in the mktemp utility of uutils coreutils where an empty TMPDIR environment variable is not handled securely. Unlike GNU mktemp, which defaults to /tmp when TMPDIR is empty, uutils coreutils uses the empty string as a directory path, causing temporary files to be created in the current working directory. This insecure temporary file creation can expose sensitive data if the current directory is accessible by unauthorized users. The issue is categorized under CWE-377 (Insecure Temporary File). No known exploits or patches are currently reported.
Potential Impact
Temporary files intended to be created in a secure directory may instead be created in the current working directory, which could have weaker access controls. This increases the risk of unintended information disclosure or unauthorized access to temporary data. The impact is limited to confidentiality with no integrity or availability impact reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid running mktemp in directories with permissive access controls or ensure TMPDIR is set to a secure directory path. Monitoring for updates from the uutils coreutils project is recommended.
CVE-2026-35342: CWE-377: Insecure Temporary File in Uutils coreutils
Description
The mktemp utility in uutils coreutils improperly handles an empty TMPDIR environment variable by treating it as a valid path rather than falling back to /tmp. This causes temporary files to be created in the current working directory instead of a secure temporary directory. If the current directory has more permissive access controls, this behavior may lead to unintended information disclosure or unauthorized access to temporary files. The vulnerability has a low severity with a CVSS score of 3.3. No patch or official remediation is currently documented.
CVSS v3.1
Score 3.3low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-35342 describes a vulnerability in the mktemp utility of uutils coreutils where an empty TMPDIR environment variable is not handled securely. Unlike GNU mktemp, which defaults to /tmp when TMPDIR is empty, uutils coreutils uses the empty string as a directory path, causing temporary files to be created in the current working directory. This insecure temporary file creation can expose sensitive data if the current directory is accessible by unauthorized users. The issue is categorized under CWE-377 (Insecure Temporary File). No known exploits or patches are currently reported.
Potential Impact
Temporary files intended to be created in a secure directory may instead be created in the current working directory, which could have weaker access controls. This increases the risk of unintended information disclosure or unauthorized access to temporary data. The impact is limited to confidentiality with no integrity or availability impact reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid running mktemp in directories with permissive access controls or ensure TMPDIR is set to a secure directory path. Monitoring for updates from the uutils coreutils project is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.087Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7ce19fe3cd2cdd00c0c
Added to database: 04/22/2026, 16:31:10 UTC
Last enriched: 07/06/2026, 23:19:28 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 109
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.