Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-379 (在具有不安全权限的目录中创建临时文件) — Vulnerability Class 53

53 vulnerabilities classified as CWE-379 (在具有不安全权限的目录中创建临时文件). AI Chinese analysis included.

CWE-379 represents a critical input validation weakness where applications create temporary files in directories with overly permissive access controls. This flaw allows unintended actors to detect the file’s existence or manipulate its contents, potentially revealing sensitive application logic or user data. Attackers typically exploit this by monitoring the directory for new files, then employing race conditions or symbolic link attacks to redirect the application’s write operations to malicious targets. To mitigate this risk, developers must enforce strict file permissions, ensuring that only the creating process can access the temporary file. Utilizing secure system calls that automatically set restrictive permissions upon creation, such as O_CREAT with mode 0600, is essential. Additionally, storing temporary files in isolated, private directories further reduces the attack surface and prevents unauthorized visibility or interference.

MITRE CWE Description
The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file. On some operating systems, the fact that the temporary file exists may be apparent to any user with sufficient privileges to access that directory. Since the file is visible, the application that is using the temporary file could be known. If one has access to list the processes on the system, the attacker has gained information about what the user is doing at that time. By correlating this with the applications the user is running, an attacker could potentially discover what a user's actions are. From this, higher levels of security could be breached.
Common Consequences (1)
Confidentiality Read Application Data
Since the file is visible and the application which is using the temp file could be known, the attacker has gained information about what the user is doing at that time.
Mitigations (3)
Requirements Many contemporary languages have functions which properly handle this condition. Older C temp file functions are especially susceptible.
Implementation Try to store sensitive tempfiles in a directory which is not world readable -- i.e., per-user directories.
Implementation Avoid using vulnerable temp file functions.
Examples (1)
In the following code examples a temporary file is created and written to. After using the temporary file, the file is closed and deleted from the file system.
FILE *stream; if( (stream = tmpfile()) == NULL ) { perror("Could not open new temporary file\n"); return (-1); } // write data to tmp file ... // remove tmp file rmtmp();
Bad · C
try { File temp = File.createTempFile("pattern", ".suffix"); temp.deleteOnExit(); BufferedWriter out = new BufferedWriter(new FileWriter(temp)); out.write("aString"); out.close(); } catch (IOException e) { }
Bad · Java
CVE ID Title CVSS Severity Published
CVE-2026-69482 Windows Error Reporting Tampering Vulnerability — Windows 10 Version 1607 7.1 High 2026-09-08
CVE-2026-85028 Creation of Temporary File in Directory with Insecure Permissions in AWS FPGA Development Kit — aws-fpga 7.8 High 2026-09-03
CVE-2026-82346 HP ImageDiags - Potential Escalation of Privilege — HP ImageDiags 7.0 High 2026-08-31
CVE-2026-63693 Dell Alienware Area 51m R2 权限许可和访问控制问题漏洞 — Alienware Area 51m R2 6.6 Medium 2026-08-24
CVE-2026-12555 HP Easy Start for macOS - Security Update — HP Easy Start for macOS 7.7 High 2026-08-24
CVE-2026-50544 NortheBridge/luminalshine has Incorrect Permission Assignment for Critical Resource and Creation of Temporary File in Directory with Insecure Permissions — luminalshine 6.3 Medium 2026-08-12
CVE-2026-14551 Local Privilege Escalation in servereye client (sensorhub) — servereye Windows Agent (Sensorhub) 8.8 High 2026-07-22
CVE-2026-7539 HP Dock Accessory WMI Provider Installer Security Update — HP Dock Accessory - - 2026-06-24
CVE-2026-54328 Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts — pi 7.3 High 2026-06-23
CVE-2026-42191 OpenTelemetry.Exporter.OpenTelemetryProtocol: Disk retry default temp path enables local blob injection for OTLP Exporter — opentelemetry-dotnet 6.5 Medium 2026-05-12
CVE-2019-25677 WinRAR 5.61 Denial of Service via Malformed Language File — WinRAR 6.2 Medium 2026-04-05
CVE-2025-10279 Privilege Escalation in mlflow/mlflow — mlflow/mlflow 7.0AI High AI 2026-02-02
CVE-2025-71176 Pytest 安全漏洞 — pytest 6.8 Medium 2026-01-22
CVE-2025-64896 Creative Cloud Desktop | Creation of Temporary File in Directory with Incorrect Permissions (CWE-379) — Creative Cloud Desktop 5.5 Medium 2025-12-09
CVE-2025-33111 IBM Controller Information Disclosure — Controller 4.3 Medium 2025-12-08
CVE-2024-7562 Flexera InstallShield 安全漏洞 — InstallShield 7.8AI High AI 2025-06-12
CVE-2025-21162 Photoshop Elements | Creation of Temporary File in Directory with Incorrect Permissions (CWE-379) — Photoshop Elements 5.5 Medium 2025-02-11
CVE-2025-21173 .NET Elevation of Privilege Vulnerability — .NET 8.0 7.3 High 2025-01-14
CVE-2024-9950 Abuse of Unauthenticated Compliance Recheck in SecureConnector — SecureConnector 6.2 - 2025-01-02
CVE-2024-9500 Autodesk ADP Desktop SDK Privilege Escalation Vulnerability — Installer 7.8 High 2024-11-15
CVE-2023-6080 Privilege Escalation to SYSTEM in Lakeside Software Installer — SysTrack LsiAgent Installer 7.8 - 2024-10-18
CVE-2023-38533 Siemens TIA Administrator 安全漏洞 — TIA Administrator 3.3 Low 2024-06-11
CVE-2024-24693 Zoom Rooms Client for Windows - Improper Access Control — Zoom Rooms Client for Windows 7.2 High 2024-03-13
CVE-2023-3181 Insecure Permissions in Splashtop Software Updater — Splashtop Software Updater 7.8 High 2024-01-25
CVE-2023-49797 Local Privilege Escalation in pyinstaller on Windows — pyinstaller 8.8 High 2023-12-09
CVE-2023-3972 Insights-client: unsafe handling of temporary files and directories — Red Hat Enterprise Linux 7 7.8 High 2023-11-01
CVE-2023-37243 Atera Agent Package Availability 安全漏洞 — Atera Agent Package Availability 7.8 High 2023-10-31
CVE-2023-32450 Dell Power Manager 安全漏洞 — Dell Power Manager (DPM) 6.1 Medium 2023-07-27
CVE-2023-26396 Adobe Acrobat Reader DC for macOS installer (AcroRdrDC_2200220191_MUI.pkg) contains a local privilege escalation vulnerability. — Acrobat Reader 7.8 High 2023-04-12
CVE-2023-21612 Adobe Acrobat Reader Creation of Temporary File in Directory with Incorrect Permissions Privilege escalation — Acrobat Reader 7.8 High 2023-01-18

Vulnerabilities classified as CWE-379 (在具有不安全权限的目录中创建临时文件) represent 53 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.