CWE-378Base

Creation of Temporary File With Insecure Permissions

Draft in the CWE catalog · 45 CVEs mapped

45
CVEs mapped
6.8
Median CVSS
What it is

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

Recent examples
3.9cvss
CVE-2026-97026

CVE-2026-97026 - LOW Severity Vulnerability

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 causing installation failures (denial of service); tampered content would fail signature/digest verification rather than being trusted.

LOWno explanation yet
0%
epss
3.2cvss
CVE-2026-97025

CVE-2026-97025 - LOW Severity Vulnerability

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 OCI-based sources (e.g. as used by Fedora) are affected; libostree-based sources such as Flathub are not.

LOWno explanation yet
0%
epss
8.8cvss
CVE-2026-25265

CVE-2026-25265 - HIGH Severity Vulnerability

Privilege escalation due to weak configuration while temporary file handling.

HIGHno explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-378
Abstraction
Base
Structure
Simple
Status
Draft
References (1)