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 6 of 7
  • CVE-2026-25645MedMar 25, 2026
    risk 0.22cvss 4.4epss 0.00

    Requests is a HTTP library. Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without…

  • CVE-2024-22236LowJan 31, 2024
    risk 0.21cvss 3.3epss 0.00

    In Spring Cloud Contract, versions 4.1.x prior to 4.1.1, versions 4.0.x prior to 4.0.5, and versions 3.1.x prior to 3.1.10, test execution is vulnerable to local information disclosure via temporary directory created with unsafe permissions through the shaded…

  • CVE-2021-25316LowApr 14, 2021
    risk 0.21cvss 3.3epss 0.00

    A Insecure Temporary File vulnerability in s390-tools of SUSE Linux Enterprise Server 12-SP5, SUSE Linux Enterprise Server 15-SP2 allows local attackers to prevent VM live migrations This issue affects: SUSE Linux Enterprise Server 12-SP5 s390-tools versions prior to…

  • CVE-2026-55086MedAug 19, 2026
    risk 0.20cvss 4.2epss 0.00

    Etherpad is a real-time collaborative editor. Prior to 3.1.0, src/node/handler/ImportHandler.ts and src/node/handler/ExportHandler.ts derive temporary filenames from Math.random() and place them in os.tmpdir(). On a host with a shared world-writable temporary directory, a local…

  • CVE-2020-1740LowMar 16, 2020
    risk 0.18cvss 3.9epss 0.00

    A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file…

  • CVE-2018-19637LowMar 5, 2019
    risk 0.18cvss 2.8epss 0.00

    Supportutils, before version 3.1-5.7.1, wrote data to static file /tmp/supp_log, allowing local attackers to overwrite files on systems without symlink protection

  • CVE-2026-35342LowApr 22, 2026
    risk 0.14cvss 3.3epss 0.00

    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…

  • CVE-2022-41954LowNov 25, 2022
    risk 0.14cvss 3.3epss 0.00

    MPXJ is an open source library to read and write project plans from a variety of file formats and databases. On Unix-like operating systems (not Windows or macos), MPXJ's use of `File.createTempFile(..)` results in temporary files being created with the permissions `-rw-r--r--`.…

  • CVE-2018-17955LowMar 15, 2019
    risk 0.14cvss 2.2epss 0.00

    In yast2-multipath before version 4.1.1 a static temporary filename allows local attackers to overwrite files on systems without symlink protection

  • CVE-2018-19638LowMar 5, 2019
    risk 0.14cvss 2.2epss 0.00

    In supportutils, before version 3.1-5.7.1 and if pacemaker is installed on the system, an unprivileged user could have overwritten arbitrary files in the directory that is used by supportutils to collect the log files.

  • CVE-2022-3952LowNov 11, 2022
    risk 0.10cvss 2.6epss 0.01

    A vulnerability has been found in ManyDesigns Portofino 5.3.2 and classified as problematic. Affected by this vulnerability is the function createTempDir of the file WarFileLauncher.java. The manipulation leads to creation of temporary file in directory with insecure…

  • CVE-2026-53759LowAug 18, 2026
    risk 0.06cvss —epss 0.00

    linuxfabrik-lib provides Python modules for database access, caching, shell execution, and API integrations. Prior to version 4.2.0, db_sqlite.py created SQLite databases at predictable paths in the shared /tmp directory and followed attacker-created symbolic links at those…

  • CVE-2026-44878HigJul 21, 2026
    risk 0.00cvss 7.2epss 0.01

    A vulnerability in the web-based management interface of an ECOS device could allow a highly privileged, authenticated remote attacker to access the device's filesystem. Successful exploitation of this vulnerability could allow an attacker to access sensitive files and tamper…

  • CVE-2024-2313LowMar 10, 2024
    risk 0.00cvss 2.8epss 0.00

    If kernel headers need to be extracted, bpftrace will attempt to load them from a temporary directory. An unprivileged attacker could use this to force bcc to load compromised linux headers. Linux distributions which provide kernel headers by default are not affected by default.

  • CVE-2022-4817LowDec 28, 2022
    risk 0.00cvss 3.1epss 0.01

    A vulnerability was found in centic9 jgit-cookbook. It has been declared as problematic. This vulnerability affects unknown code. The manipulation leads to insecure temporary file. The attack can be initiated remotely. The name of the patch is…

  • CVE-2022-4641LowDec 21, 2022
    risk 0.00cvss 2.5epss 0.00

    A vulnerability was found in pig-vector and classified as problematic. Affected by this issue is the function LogisticRegression of the file src/main/java/org/apache/mahout/pig/LogisticRegression.java. The manipulation leads to insecure temporary file. The attack needs to be…

  • CVE-2022-3969LowNov 13, 2022
    risk 0.00cvss 2.6epss 0.01

    A vulnerability was found in OpenKM up to 6.3.11 and classified as problematic. Affected by this issue is the function getFileExtension of the file src/main/java/com/openkm/util/FileUtils.java. The manipulation leads to insecure temporary file. Upgrading to version 6.3.12 is…

  • CVE-2021-22572MedMar 29, 2022
    risk 0.00cvss 5.5epss 0.00

    On unix-like systems, the system temporary directory is shared between all users on that system. The root cause is File.createTempFile creates files in the the system temporary directory with world readable permissions. Any sensitive information written to theses files is…

  • CVE-2021-21430MedMay 10, 2021
    risk 0.00cvss 6.2epss 0.00

    OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Using `File.createTempFile` in JDK will result in creating and using insecure temporary files that can leave…

  • CVE-2021-21428CriMay 10, 2021
    risk 0.00cvss 9.3epss 0.00

    Openapi generator is a java tool which allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. openapi-generator-online creates insecure temporary folders with File.createTempFile during the…