VYPR

CWE-378

Creation of Temporary File With Insecure Permissions

BaseDraftLikelihood: High

Description

Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.

Hierarchy (View 1000)

Parents

Children

none

CVEs mapped to this weakness (53)

page 3 of 3
  • CVE-2021-21364MedMar 11, 2021
    risk 0.27cvss 5.3epss 0.00

    swagger-codegen is an open-source project which contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. In swagger-codegen before version 2.4.19, on Unix-Like systems, the…

  • CVE-2021-21363MedMar 11, 2021
    risk 0.27cvss 5.3epss 0.00

    swagger-codegen is an open-source project which contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. In swagger-codegen before version 2.4.19, on Unix like systems, the…

  • CVE-2021-21429MedApr 27, 2021
    risk 0.26cvss 4.0epss 0.00

    OpenAPI Generator allows generation of API client libraries, 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 application and system…

  • CVE-2026-46388MedJul 10, 2026
    risk 0.22cvss 4.4epss 0.00

    osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Prior to 5.23.1, an unprivileged attacker can read the contents of an osquery file carve until the carve completes and the temporary files are deleted because in-progress carve…

  • CVE-2023-27408LowMay 9, 2023
    risk 0.21cvss 3.3epss 0.00

    A vulnerability has been identified in SCALANCE LPE9403 (All versions < V2.1). The `i2c` mutex file is created with the permissions bits of `-rw-rw-rw-`. This file is used as a mutex for multiple applications interacting with i2c. This could allow an authenticated attacker with…

  • CVE-2021-21331LowMar 3, 2021
    risk 0.20cvss 3.0epss 0.01

    The Java client for the Datadog API before version 1.0.0-beta.9 has a local information disclosure of sensitive information downloaded via the API using the API Client. The Datadog API is executed on a unix-like system with multiple users. The API is used to download a file…

  • CVE-2026-97026LowSep 28, 2026
    risk 0.18cvss 3.9epss 0.00

    Flatpak creates temporary child repository directories under the user cache with world-writable permissions (0777). On multi-user systems with a permissive umask, other local users could read or modify the temporary directory used while installing apps or runtimes, potentially…

  • CVE-2020-8908LowDec 10, 2020
    risk 0.15cvss 3.3epss 0.01

    A temp directory creation vulnerability exists in all versions of Guava, allowing an attacker with access to the machine to potentially access data in a temporary directory created by the Guava API com.google.common.io.Files.createTempDir(). By default, on unix-like systems, the…

  • CVE-2026-97025LowSep 28, 2026
    risk 0.14cvss 3.2epss 0.00

    Flatpak writes the OCI repository authentication token with world-readable permissions (0644) in the system-helper's cache directory, allowing other local users on a multi-user system to read the token and impersonate the authenticated user against the OCI repository. Only…

  • CVE-2023-0481LowFeb 24, 2023
    risk 0.14cvss 3.3epss 0.00

    In RestEasy Reactive implementation of Quarkus the insecure File.createTempFile() is used in the FileBodyHandler class which creates temp files with insecure permissions that could be read by a local user.

  • CVE-2024-47884LowOct 11, 2024
    risk 0.09cvss —epss 0.00

    foxmarks is a CLI read-only interface for Firefox's bookmarks and history. A temporary file was created under the /tmp directory with read permissions for all users containing a copy of Firefox's database of bookmarks, history, input history, visits counter, use counter, view…

  • CVE-2023-0482MedFeb 17, 2023
    risk 0.00cvss 5.5epss 0.00

    In RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes which creates temp files with insecure permissions that could be read by a local user.

  • CVE-2014-1839Mar 11, 2014
    risk 0.00cvss —epss 0.00

    The Execute class in shellutils in logilab-commons before 0.61.0 uses tempfile.mktemp, which allows local users to have an unspecified impact by pre-creating the temporary file.