Creation of Temporary File With Insecure Permissions in Podman - CVE-2025-4953

 

Creation of Temporary File With Insecure Permissions in Podman - CVE-2025-4953

Published: October 28, 2025


Vulnerability identifier: #VU117706
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-4953
CWE-ID: CWE-378
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to data written to RUN --mount=type=bind mounts during the podman build is not discarded. A local user can gain access to temporary files.


Affected software

Podman
container-selinux (Red Hat package)
podman (Red Hat package)
openshift (Red Hat package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
Red Hat OpenShift Container Platform

How to mitigate CVE-2025-4953

Install updates from vendor's website.

container-selinux (Red Hat package) - update to 2.237.0-2.rhaos4.16.el9
podman (Red Hat package) - addressed in versions 4.2.0-15.rhaos4.12.el9, 4.4.1-10.rhaos4.12.el8, 4.9.4-16.rhaos4.16.el8, 4.9.4-18.rhaos4.16.el9, 5.2.2-2.rhaos4.18.el8
Red Hat OpenShift Container Platform - addressed in versions 4.12.81, 4.12.84, 4.13.62, 4.14.60, 4.15.60, 4.16.49, 4.16.54, 4.17.45, 4.18.25, 4.18.30
openshift (Red Hat package) - addressed in versions 4.16.0-202509111927.p2.gf3d9123.assembly.stream.el8, 4.16.0-202509111927.p2.gf3d9123.assembly.stream.el9, 4.18.0-202509240609.p2.ge2e5d62.assembly.stream.el8, 4.18.0-202509240609.p2.ge2e5d62.assembly.stream.el9
kernel (Red Hat package) - update to 4.18.0-372.164.1.el8_6
kernel-rt (Red Hat package) - update to 4.18.0-372.164.1.rt7.325.el8_6

External References

Related Security Bulletins