VYPR

CWE-377

Insecure Temporary File

ClassIncomplete

Description

Creating and using insecure temporary files can leave application and system data vulnerable to attack.

Hierarchy (View 1000)

Parents

Related attack patterns (CAPEC)

CAPEC-149 · CAPEC-155

CVEs mapped to this weakness (140)

page 5 of 7
  • CVE-2018-25068MedJan 6, 2023
    risk 0.34cvss 6.3epss 0.01

    A vulnerability has been found in devent globalpom-utils up to 4.5.0 and classified as critical. This vulnerability affects the function createTmpDir of the file globalpomutils-fileresources/src/main/java/com/anrisoftware/globalpom/fileresourcemanager/FileResourceManagerProvider.…

  • CVE-2021-3702MedAug 23, 2022
    risk 0.34cvss 6.3epss 0.00

    A race condition flaw was found in ansible-runner, where an attacker could watch for rapid creation and deletion of a temporary directory, substitute their directory at that name, and then have access to ansible-runner's private_data_dir the next time ansible-runner made use of…

  • CVE-2024-34490MedMay 5, 2024
    risk 0.33cvss 5.1epss 0.00

    In Maxima through 5.47.0 before 51704c, the plotting facilities make use of predictable names under /tmp. Thus, the contents may be controlled by a local attacker who can create files in advance with these names. This affects, for example, plot2d.

  • CVE-2022-21945MedMar 16, 2022
    risk 0.33cvss 5.1epss 0.00

    A Insecure Temporary File vulnerability in cscreen of openSUSE Factory allows local attackers to cause DoS for cscreen and a system DoS for non-default systems. This issue affects: openSUSE Factory cscreen version 1.2-1.3 and prior versions.

  • CVE-2021-46705MedMar 16, 2022
    risk 0.33cvss 5.1epss 0.00

    A Insecure Temporary File vulnerability in grub-once of grub2 in SUSE Linux Enterprise Server 15 SP4, openSUSE Factory allows local attackers to truncate arbitrary files. This issue affects: SUSE Linux Enterprise Server 15 SP4 grub2 versions prior to 2.06-150400.7.1. SUSE…

  • CVE-2026-113713MedOct 20, 2026
    risk 0.32cvss 6.0epss 0.00

    virtualenv is a tool for creating isolated virtual python environments. From 21.14.8 until 21.14.10, the app-data seeder can leave an environment linked to temporary package files that virtualenv deletes when creation finishes. The environment-variable and configuration-file…

  • CVE-2026-41991MedJun 29, 2026
    risk 0.31cvss 4.7epss 0.00

    GNU gzip contains a vulnerability in the gzexe utility related to insecure temporary file handling. When the mktemp utility is not available in the user’s PATH, gzexe falls back to constructing a temporary file path based solely on the process ID (PID). This predictable…

  • CVE-2020-35451MedMar 9, 2021
    risk 0.31cvss 4.7epss 0.00

    There is a race condition in OozieSharelibCLI in Apache Oozie before version 5.2.1 which allows a malicious attacker to replace the files in Oozie's sharelib during it's creation.

  • CVE-2026-55480MedOct 15, 2026
    risk 0.30cvss 5.7epss 0.00

    OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. Prior to 2.4.20, copy_model() in scheduler/ipp.c creates a predictable TempDir/.ppd path in an lp-group-writable directory and opens it as root without O_EXCL…

  • CVE-2026-110234MedOct 13, 2026
    risk 0.29cvss 4.4epss 0.00

    Elio through 1.13.0 contains an insecure temporary file vulnerability that allows local users to overwrite another user's files by pre-creating symbolic links at predictable capture paths. Attackers who know the victim's Elio process ID can plant a symlink so previewing media,…

  • CVE-2025-9474MedAug 26, 2025
    risk 0.29cvss 4.5epss 0.00

    A vulnerability was detected in Mihomo Party up to 1.8.1 on macOS. Affected is the function enableSysProxy of the file src/main/sys/sysproxy.ts of the component Socket Handler. The manipulation results in creation of temporary file with insecure permissions. The attack requires…

  • CVE-2023-38037MedJan 9, 2025
    risk 0.29cvss 5.5epss 0.00

    ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file. The temporary file's permissions are defaulted to the user's current `umask` settings, meaning that it's possible for other users on the same system to read the contents of the temporary…

  • CVE-2024-10372MedOct 25, 2024
    risk 0.29cvss 4.5epss 0.00

    A vulnerability classified as problematic was found in chidiwilliams buzz 1.1.0. This vulnerability affects the function download_model of the file buzz/model_loader.py. The manipulation leads to insecure temporary file. It is possible to launch the attack on the local host. The…

  • CVE-2022-24913MedJan 12, 2023
    risk 0.29cvss 5.5epss 0.00

    Versions of the package com.fasterxml.util:java-merge-sort before 1.1.0 are vulnerable to Insecure Temporary File in the StdTempFileProvider() function in StdTempFileProvider.java, which uses the permissive File.createTempFile() function, exposing temporary file contents.

  • CVE-2021-28099MedMar 23, 2021
    risk 0.29cvss 4.4epss 0.00

    In Netflix OSS Hollow, since the Files.exists(parent) is run before creating the directories, an attacker can pre-create these directories with wide permissions. Additionally, since an insecure source of randomness is used, the file names to be created can be deterministically…

  • CVE-2021-23331MedFeb 3, 2021
    risk 0.29cvss 4.4epss 0.00

    This affects all versions of package com.squareup:connect. The method prepareDownloadFilecreates creates a temporary file with the permissions bits of -rw-r--r-- on unix-like systems. On unix-like systems, the system temporary directory is shared between users. As such, the…

  • CVE-2018-19640MedMar 5, 2019
    risk 0.29cvss 4.4epss 0.00

    If the attacker manages to create files in the directory used to collect log files in supportutils before version 3.1-5.7.1 (e.g. with CVE-2018-19638) he can kill arbitrary processes on the local machine.

  • CVE-2017-15111MedJan 20, 2018
    risk 0.29cvss 5.5epss 0.00

    keycloak-httpd-client-install versions before 0.8 insecurely creates temporary file allowing local attackers to overwrite other files via symbolic link.

  • CVE-2026-54584MedSep 21, 2026
    risk 0.27cvss —epss 0.00

    mport is the MidnightBSD Package Manager. mport before 2.7.8 used TMPDIR while extracting package metafiles, including when running as root or in setuid/setgid contexts. An attacker able to control the environment for a privileged mport invocation could redirect temporary…

  • CVE-2026-41001MedJun 11, 2026
    risk 0.27cvss 5.3epss 0.00

    Spring Boot's ArtemisEmbeddedConfigurationFactory uses a fixed, static path for the embedded Artemis message broker's data directory when no explicit path is configured. A local attacker on the same host can pre-create this predictable directory or place a symlink before the…