Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 97%

CVE-2026-35342: CWE-377: Insecure Temporary File in Uutils coreutils

0
Low
VulnerabilityCVE-2026-35342cvecve-2026-35342cwe-377
Published: 04/22/2026 (04/22/2026, 16:07:41 UTC)
Source: CVE Database V5
Vendor/Project: Uutils
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
uutils/coreutils
pkg:github/uutils/coreutils
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 23:19:28 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses