← Back
CWE-377

104 CVEs • Abstraction: Class

Insecure Temporary File

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

JSON object

Loading...

CVEs (104)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Opensuse
1Openldap2
Jun 17, 2026
Feb 11, 2021
N/A· v4
6.6 MEDIUM· v3
4.6 MEDIUM· v2
A Insecure Temporary File vulnerability in openldap2 of SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP 15; openSUSE Leap 15.1, openSUSE Leap 15.2 allows local attackers to overwrite arbitrary...Show more
A Insecure Temporary File vulnerability in openldap2 of SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP 15; openSUSE Leap 15.1, openSUSE Leap 15.2 allows local attackers to overwrite arbitrary files and gain access to the openldap2 configuration This issue affects: SUSE Linux Enterprise Server 15-LTSS openldap2 versions prior to 2.4.46-9.37.1. SUSE Linux Enterprise Server for SAP 15 openldap2 versions prior to 2.4.46-9.37.1. openSUSE Leap 15.1 openldap2 versions prior to 2.4.46-lp151.10.18.1. openSUSE Leap 15.2 openldap2 versions prior to 2.4.46-lp152.14.9.1.Show less
1Redhat
1Ansible
Jun 17, 2026
Oct 5, 2020
N/A· v4
7.1 HIGH· v3
3.6 LOW· v2
A flaw was found in Ansible Base when using the aws_ssm connection plugin as there is no namespace separation for file transfers. Files are written directly to the root bucket, making possible to have collisions when run...Show more
A flaw was found in Ansible Base when using the aws_ssm connection plugin as there is no namespace separation for file transfers. Files are written directly to the root bucket, making possible to have collisions when running multiple ansible processes. This issue affects mainly the service availability.Show less
1Redhat
2Ansible
Ansible Tower
Jun 17, 2026
May 15, 2020
N/A· v4
5.0 MEDIUM· v3
3.7 LOW· v2
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 sy...Show more
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 2.7.18, 2.8.12, and 2.9.9 as well as previous versions are affected and Ansible Tower 3.4.5, 3.5.6 and 3.6.4 as well as previous versions are affected.Show less
1Paloaltonetworks
1Pan Os
Jun 17, 2026
May 13, 2020
N/A· v4
7.0 HIGH· v3
8.5 HIGH· v2
A race condition due to insecure creation of a file in a temporary directory vulnerability in PAN-OS allows for root privilege escalation from a limited linux user account. This allows an attacker who has escaped the res...Show more
A race condition due to insecure creation of a file in a temporary directory vulnerability in PAN-OS allows for root privilege escalation from a limited linux user account. This allows an attacker who has escaped the restricted shell as a low privilege administrator, possibly by exploiting another vulnerability, to escalate privileges to become root user. This issue affects: PAN-OS 7.1 versions earlier than 7.1.26; PAN-OS 8.1 versions earlier than 8.1.13; PAN-OS 9.0 versions earlier than 9.0.6; All versions of PAN-OS 8.0.Show less
1Paloaltonetworks
1Pan Os
Jun 17, 2026
May 13, 2020
N/A· v4
4.4 MEDIUM· v3
4.9 MEDIUM· v2
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...Show more
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; PAN-OS 9.0 versions earlier than 9.0.7.Show less
1Paloaltonetworks
1Traps
Jun 17, 2026
Apr 8, 2020
N/A· v4
7.1 HIGH· v3
3.6 LOW· v2
An insecure temporary file vulnerability in Palo Alto Networks Traps allows a local authenticated Windows user to escalate privileges or overwrite system files. This issue affects Palo Alto Networks Traps 5.0 versions be...Show more
An insecure temporary file vulnerability in Palo Alto Networks Traps allows a local authenticated Windows user to escalate privileges or overwrite system files. This issue affects Palo Alto Networks Traps 5.0 versions before 5.0.8; 6.1 versions before 6.1.4 on Windows. This issue does not affect Cortex XDR 7.0. This issue does not affect Traps for Linux or MacOS.Show less
3Debian
FedoraprojectRedhat
6Ansible
Ansible TowerCloudforms Management Engine+3 more
Jun 17, 2026
Mar 16, 2020
N/A· v4
4.7 MEDIUM· v3
1.9 LOW· v2
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...Show more
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 descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.Show less
1Paloaltonetworks
1Pan Os
Jun 17, 2026
Mar 11, 2020
N/A· v4
7.8 HIGH· v3
7.2 HIGH· v2
A predictable temporary filename vulnerability in PAN-OS allows local privilege escalation. This issue allows a local attacker who bypassed the restricted shell to execute commands as a low privileged user and gain root...Show more
A predictable temporary filename vulnerability in PAN-OS allows local privilege escalation. This issue allows a local attacker who bypassed the restricted shell to execute commands as a low privileged user and gain root access on the PAN-OS hardware or virtual appliance. This issue affects only PAN-OS 8.1 versions earlier than PAN-OS 8.1.13. This issue does not affect PAN-OS 7.1, PAN-OS 9.0, or later PAN-OS versions.Show less
3Debian
FedoraprojectRedhat
6Ansible
Ansible TowerCloudforms Management Engine+3 more
Jun 17, 2026
Mar 11, 2020
N/A· v4
5.0 MEDIUM· v3
3.7 LOW· v2
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 temp...Show more
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 created with "umask 77 && mkdir -p <dir>"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.Show less
1Opensuse
1Yast2 Multipath
Nov 21, 2024
Mar 15, 2019
N/A· v4
5.5 MEDIUM· v3
3.6 LOW· v2
In yast2-multipath before version 4.1.1 a static temporary filename allows local attackers to overwrite files on systems without symlink protection
1Opensuse
1Supportutils
Nov 21, 2024
Mar 5, 2019
N/A· v4
5.5 MEDIUM· v3
2.1 LOW· v2
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.
1Opensuse
1Supportutils
Nov 21, 2024
Mar 5, 2019
N/A· v4
4.7 MEDIUM· v3
3.3 LOW· v2
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.
1Opensuse
1Supportutils
Nov 21, 2024
Mar 5, 2019
N/A· v4
5.5 MEDIUM· v3
3.6 LOW· v2
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
1Mcafee
1Agent
Jun 17, 2026
Dec 12, 2018
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Insecure handling of temporary files in non-Windows McAfee Agent 5.0.0 through 5.0.6, 5.5.0, and 5.5.1 allows an Unprivileged User to introduce custom paths during agent installation in Linux via unspecified vectors.
1Mcafee
1Agent
Jun 17, 2026
Dec 12, 2018
N/A· v4
7.8 HIGH· v3
4.6 MEDIUM· v2
Privilege escalation vulnerability in McAfee Agent (MA) for Linux 5.0.0 through 5.0.6, 5.5.0, and 5.5.1 allows local users to perform arbitrary command execution via specific conditions.
1Mcafee
1Agent
Jun 17, 2026
Dec 12, 2018
N/A· v4
7.8 HIGH· v3
4.6 MEDIUM· v2
Privilege escalation vulnerability in McAfee Agent (MA) for Linux 5.0.0 through 5.0.6, 5.5.0, and 5.5.1 allows local users to perform arbitrary command execution via specific conditions.
2Redhat
Theforeman
3Katello
SatelliteSatellite Capsule
Nov 21, 2024
Jul 27, 2018
N/A· v4
5.5 MEDIUM· v3
3.6 LOW· v2
A flaw was found in katello-debug before 3.4.0 where certain scripts and log files used insecure temporary files. A local user could exploit this flaw to conduct a symbolic-link attack, allowing them to overwrite the con...Show more
A flaw was found in katello-debug before 3.4.0 where certain scripts and log files used insecure temporary files. A local user could exploit this flaw to conduct a symbolic-link attack, allowing them to overwrite the contents of arbitrary files.Show less
2Nodejs
Sync Exec Project
2Node.js
Sync Exec
Nov 21, 2024
Jun 4, 2018
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
The sync-exec module is used to simulate child_process.execSync in node versions <0.11.9. Sync-exec uses tmp directories as a buffer before returning values. Other users on the server have read access to the tmp director...Show more
The sync-exec module is used to simulate child_process.execSync in node versions <0.11.9. Sync-exec uses tmp directories as a buffer before returning values. Other users on the server have read access to the tmp directory, possibly allowing an attacker on the server to obtain confidential information from the buffer/tmp file, while it exists.Show less
2Debian
Gitlab
2Debian Linux
Gitlab
Nov 21, 2024
Mar 21, 2018
N/A· v4
7.8 HIGH· v3
6.8 MEDIUM· v2
Gitlab Community and Enterprise Editions version 10.3.3 is vulnerable to an Insecure Temporary File in the project import component resulting remote code execution.
4Canonical
DebianPostgresql+1 more
4Cloudforms
Debian LinuxPostgresql+1 more
Nov 21, 2024
Feb 9, 2018
N/A· v4
7.0 HIGH· v3
3.3 LOW· v2
In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory containing the output of `pg_dumpall -g` under um...Show more
In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory containing the output of `pg_dumpall -g` under umask which was in effect when the user invoked pg_upgrade, and not under 0077 which is normally used for other temporary files. This can allow an authenticated attacker to read or modify the one file, which may contain encrypted or unencrypted database passwords. The attack is infeasible if a directory mode blocks the attacker searching the current working directory or if the prevailing umask blocks the attacker opening the file.Show less