CVE-2026-35342
Last modified
CVE-2026-35342 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uutils | Coreutils | < 0.6.0 |
References
- https://github.com/uutils/coreutils/pull/10566Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-35342?
How severe is CVE-2026-35342?
How do I fix CVE-2026-35342?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-35337Deserialization of Untrusted Data vulnerability in Apache St…8.8
- CVE-2026-35338A vulnerability in the chmod utility of uutils coreutils all…7.3
- CVE-2026-35339The recursive mode (-R) of the chmod utility in uutils coreu…5.5
- CVE-2026-3534The Astra theme for WordPress is vulnerable to Stored Cross-…6.4
- CVE-2026-35340A flaw in the ChownExecutor used by uutils coreutils chown a…5.5
- CVE-2026-35341A vulnerability in uutils coreutils mkfifo allows for the un…7.1
- CVE-2026-35343The cut utility in uutils coreutils incorrectly handles the …3.3
- CVE-2026-35344The dd utility in uutils coreutils suppresses errors during …3.3
- CVE-2026-35345A vulnerability in the tail utility of uutils coreutils allo…5.3
- CVE-2026-35346The comm utility in uutils coreutils silently corrupts data …3.3
- CVE-2026-35347The comm utility in uutils coreutils incorrectly consumes da…4.4
- CVE-2026-35348The sort utility in uutils coreutils is vulnerable to a proc…5.5
Are you affected by CVE-2026-35342?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
