Insecure Temporary File Affecting coreutils package, versions <0.6.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Temporary File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-COREUTILS-16297987
  • published26 Apr 2026
  • disclosed23 Apr 2026
  • creditZellic

Introduced: 23 Apr 2026

NewCVE-2026-35342  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade coreutils to version 0.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Temporary File due to improper handling of an empty TMPDIR environment variable in the mktemp process. An attacker can gain unauthorized access to temporary files or sensitive information by exploiting scenarios where temporary files are created in the current working directory, which may have less restrictive permissions than intended.

CVSS Base Scores

version 4.0
version 3.1