CVE-2025-4953
Red Hat OpenShift Container Platform 4.12
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-4953 is a high-severity Creation of Temporary File With Insecure Permissions (CWE-378) vulnerability in Red Hat OpenShift Container Platform 4.12 (named in the CVE record; NVD lists no product yet). Its CVSS base score is 7.4 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Ccache Files (T1558.005); ranked in the top 46% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-6 (Least Privilege) and SC-4 (Information in Shared System Resources) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-29612
Vulnerability Data
A flaw was found in Podman. In a Containerfile or Podman, data written to RUN --mount=type=bind mounts during the podman build is not discarded. This issue can lead to files created within the container appearing in the temporary build context…
more
directory on the host, leaving the created files accessible.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
AC-6 limits privileges granted to processes creating or accessing temporary files, reducing blast radius of insecure permissions.
SC-4 directly stops unauthorized information transfer through shared resources such as temporary files created with weak permissions.
AC-3 enforces access authorizations on system resources including files, structurally stopping insecure temporary file permissions from being exploitable.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require proper temporary-file creation and permission handling.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect insecure temporary files but does not prevent their creation.
Training developers about secure temporary file creation (e.g., using mkstemp, setting restrictive permissions) reduces some instances of CWE-378, but this is a specific implementation detail that not all training programmes cover and even trained developers may default to convenient APIs like tmpfile() or createTempFile() without setting permissions, leaving a nameable remainder.
Secure coding standards directly prohibit insecure temporary file creation and permissions.
Information access restriction can limit exposure but does not address file creation itself.
A.8.8's reach is disclosure-based: it finds CWE-378 only where the weakness surfaces as a published CVE in a third-party component (e.g., CVE-2022-24823 in a Java framework). Most CWE-378 instances live in first-party code using tmpfile()/createTempFile() and never receive a CVE, so the disclosed share is a minority.
Configuration management defines and enforces secure baselines but does not intercept runtime file-creation calls to stop an insecure temporary file from being exploited once created.