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 (128)

page 5 of 7
  • 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-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…

  • CVE-2020-1994MedMay 13, 2020
    risk 0.27cvss 4.1epss 0.00

    A predictable temporary file vulnerability in PAN-OS allows a local authenticated user with shell access to corrupt arbitrary system files affecting the integrity of the system. This issue affects: All versions of PAN-OS 7.1 and 8.0; PAN-OS 8.1 versions earlier than 8.1.13;…

  • CVE-2026-62294MedJul 15, 2026
    risk 0.26cvss —epss 0.00

    Flameshot is powerful yet simple to use screenshot software. Prior to 14.0.0, the Open With feature wrote screenshots to a predictable temporary path and followed symlinks, creating a time-of-check to time-of-use race that allowed a local unprivileged attacker on the same…

  • CVE-2021-29429MedApr 12, 2021
    risk 0.26cvss 4.0epss 0.00

    In Gradle before version 7.0, files created with open permissions in the system temporary directory can allow an attacker to access information downloaded by Gradle. Some builds could be vulnerable to a local information disclosure. Remote files accessed through…

  • CVE-2020-10744MedMay 15, 2020
    risk 0.26cvss 5.0epss 0.00

    An incomplete fix was found for the fix of the flaw CVE-2020-1733 ansible: insecure temporary directory when running become_user from become directive. The provided fix is insufficient to prevent the race condition on systems using ACLs and FUSE filesystems. Ansible Engine…

  • CVE-2020-10685MedMay 11, 2020
    risk 0.26cvss 5.0epss 0.00

    A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as…

  • CVE-2020-1733MedMar 11, 2020
    risk 0.26cvss 5.0epss 0.00

    A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is…

  • CVE-2026-16791LowAug 4, 2026
    risk 0.25cvss 3.9epss 0.00

    A temporary file creation vulnerability in the Linux version of Lenovo XClarity Essentials OneCLI 5.5.0 and below could allow a local low-privileged attacker to overwrite or truncate arbitrary local files with program-generated data when OneCLI is executed with elevated…

  • CVE-2025-66625MedDec 9, 2025
    risk 0.25cvss 4.9epss 0.00

    Umbraco is an ASP.NET CMS. Due to unsafe handling and deletion of temporary files in versions 10.0.0 through 13.12.0, during the dictionary upload process an attacker with access to the backoffice can trigger predictable requests to temporary file paths. The application’s…

  • CVE-2015-0849LowJun 26, 2025
    risk 0.25cvss 3.9epss 0.00

    pycode-browser before version 1.0 is prone to a predictable temporary file vulnerability.

  • CVE-2023-2800MedMay 18, 2023
    risk 0.24cvss 4.7epss 0.00

    Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.

  • CVE-2022-41946MedNov 23, 2022
    risk 0.24cvss 4.7epss 0.00

    pgjdbc is an open source postgresql JDBC Driver. In affected versions a prepared statement using either `PreparedStatement.setText(int, InputStream)` or `PreparedStatemet.setBytea(int, InputStream)` will create a temporary file if the InputStream is larger than 2k. This will…

  • CVE-2020-8030LowFeb 11, 2021
    risk 0.23cvss 3.6epss 0.00

    A Insecure Temporary File vulnerability in skuba of SUSE CaaS Platform 4.5 allows local attackers to leak the bootstrapToken or modify the configuration file before it is processed, leading to arbitrary modifications of the machine/cluster.