CWE-377— Insecure Temporary File
Creating and using insecure temporary files can leave application and system data vulnerable to attack.— MITRE CWE catalog
144 active CVEs classified under this weakness category. Sourced from NVD, GHSA, and vendor advisories. Full definition on MITRE →
CVEs classified under CWE-377page 3 of 3
- CVE-2022-4641MEDIUMCVSS 2.5EG 5.52022-12-21
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 te…
- CVE-2018-17955MEDIUMCVSS 2.2EG 5.52019-03-15
In yast2-multipath before version 4.1.1 a static temporary filename allows local attackers to overwrite files on systems without symlink protection
- CVE-2026-97209MEDIUMCVSS 5.4EG 5.42026-10-30
Insecure Temporary File vulnerability in Mix deps.partition in Elixir allows a local user to execute code as another user via a swapped partition config file. Partitioned dependency compilation passes the project configuration to each part…
- CVE-2026-40635MEDIUMCVSS 5.4EG 5.42026-09-09
Dell PowerScale OneFS versions 9.12.0.0 through 9.13.1.0 contain an Insecure Temporary File vulnerability. A low privileged remote attacker could potentially exploit this vulnerability, leading to denial of service and information tamperin…
- CVE-2026-54584MEDIUMCVSS 5.3EG 5.32026-09-21
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 in…
- CVE-2025-14602MEDIUMCVSS 5.3EG 5.32026-08-20
The application generates uploaded file names using a weak and predictable method based on the request timestamp. This allows a remote attacker to accurately guess or brute-force the generated filename within a short time window. An attac…
- CVE-2026-75920MEDIUMCVSS 5.3EG 5.32026-08-19
phpMyFAQ before v4.1.6 writes content backup ZIP archives to the web-accessible document root at content.zip, exposing sensitive files including database credentials. Unauthenticated attackers can race concurrent requests to download the t…
- CVE-2026-41001MEDIUMCVSS 5.3EG 5.32026-06-11
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 dir…
- CVE-2026-49484MEDIUMCVSS 5.1EG 5.12026-10-12
Code for IBM i is a Visual Studio Code extension for maintaining and compiling ILE languages on the IBMi platform. Prior to 3.0.1, src/ui/views/objectBrowser.ts stores Object Browser downloads and the edit-save flow content in the shared /…
- CVE-2026-62294MEDIUMCVSS 5.1EG 5.12026-07-15
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 …
- CVE-2024-34490MEDIUMCVSS 5.1EG 5.12024-05-05
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,…
- CVE-2020-10744MEDIUMCVSS 5.0EG 5.02020-05-15
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 an…
- CVE-2020-1733MEDIUMCVSS 5.0EG 5.02020-03-11
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 …
- CVE-2025-66625MEDIUMCVSS 4.9EG 4.92025-12-09
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 tempor…
- CVE-2026-41991MEDIUMCVSS 4.7EG 4.72026-06-29
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 p…
- CVE-2023-2800MEDIUMCVSS 4.7EG 4.72023-05-18
Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.
- CVE-2022-41946MEDIUMCVSS 4.7EG 4.72022-11-23
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 Inpu…
- CVE-2020-35451MEDIUMCVSS 4.7EG 4.72021-03-09
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-2020-1740MEDIUMCVSS 3.9EG 4.72020-03-16
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 wit…
- CVE-2018-19638MEDIUMCVSS 2.2EG 4.72019-03-05
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-2013-2119MEDIUMCVSS v2 4.6EG 4.62014-01-03
Phusion Passenger gem before 3.0.21 and 4.0.x before 4.0.5 for Ruby allows local users to cause a denial of service (prevent application start) or gain privileges by pre-creating a temporary "config" file in a directory with a predictable …
- CVE-2025-9474MEDIUMCVSS 4.5EG 4.52025-08-26
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 in…
- CVE-2024-10372MEDIUMCVSS 4.5EG 4.52024-10-25
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 …
- CVE-2026-113713MEDIUMCVSS 4.4EG 4.42026-10-20
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 environ…
- CVE-2026-110234MEDIUMCVSS 4.4EG 4.42026-10-13
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 ca…
- CVE-2021-28099MEDIUMCVSS 4.4EG 4.42021-03-23
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 …
- CVE-2021-23331MEDIUMCVSS 4.4EG 4.42021-02-03
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…
- CVE-2014-0177MEDIUMCVSS v2 3.6EG 4.42014-05-27
The am function in lib/hub/commands.rb in hub before 1.12.1 allows local users to overwrite arbitrary files via a symlink attack on a temporary patch file.
- CVE-2026-55086MEDIUMCVSS 4.2EG 4.22026-08-13
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 worl…
- CVE-2020-1994MEDIUMCVSS 4.1EG 4.12020-05-13
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-O…
- CVE-2021-21429MEDIUMCVSS 4.0EG 4.02021-04-27
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 t…
- CVE-2026-16791LOWCVSS 3.9EG 3.92026-08-04
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 O…
- CVE-2015-0849LOWCVSS 3.9EG 3.92025-06-26
pycode-browser before version 1.0 is prone to a predictable temporary file vulnerability.
- CVE-2020-8030LOWCVSS 3.6EG 3.62021-02-11
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.
- CVE-2026-35342LOWCVSS 3.3EG 3.32026-04-22
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 …
- CVE-2024-22236LOWCVSS 3.3EG 3.32024-01-31
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 permission…
- CVE-2022-41954LOWCVSS 3.3EG 3.32022-11-25
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 cr…
- CVE-2021-25316LOWCVSS 3.3EG 3.32021-04-14
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 …
- CVE-2012-1906LOWCVSS v2 3.3EG 3.32012-05-29
Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 uses predictable file names when installing Mac OS X packages from a remote source, which allows local user…
- CVE-2024-2313LOWCVSS 2.8EG 2.82024-03-10
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…
- CVE-2014-1604LOWCVSS v2 2.1EG 2.12014-01-28
The parser cache functionality in parsergenerator.py in RPLY (aka python-rply) before 0.7.1 allows local users to spoof cache data by pre-creating a temporary rply-*.json file with a predictable name.
- CVE-2013-0162LOWCVSS v2 2.1EG 2.12013-03-01
The diff_pp function in lib/gauntlet_rubyparser.rb in the ruby_parser gem 3.1.1 and earlier for Ruby allows local users to overwrite arbitrary files via a symlink attack on a temporary file with a predictable name in /tmp.
- CVE-2026-53759LOWCVSS 2.0EG 2.02026-07-06
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 attac…
- CVE-2026-64672MEDIUMEG not assessed2026-10-15
Terragrunt catalog predictable temp symlink clobber ### Summary Terragrunt's `terragrunt catalog` command clones each repository referenced in your catalog configuration into a temporary working directory. In affected versions, the clone…
Map vulnerabilities like CWE-377 to your infrastructure
EchelonGraph correlates every CVE — across CWE-377 and 150+ other weakness categories — against the assets you actually run. See blast radius, fix versions, and remediation steps in one graph.
Book a Demo →