CVE-2025-4953: Creation of Temporary File With Insecure Permissions
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 directory on the host, leaving the created files accessible.
AI Analysis
Technical Summary
This vulnerability in Podman arises from improper handling of data written to bind mounts during the build process, resulting in files created inside containers being left accessible on the host's temporary build context directory. This exposure can lead to unauthorized access to sensitive files created during container builds. The issue is tracked as CVE-2025-4953 with a CVSS 3.1 score of 7.4 (High), indicating network attack vector, high complexity, no privileges required, no user interaction, and high confidentiality and integrity impact. Red Hat has released updated packages and container images for OpenShift Container Platform 4.13 and container-tools modules for RHEL 8 that include fixes for this and related vulnerabilities.
Potential Impact
Files created within containers during build processes may remain accessible on the host system with insecure permissions, potentially exposing sensitive data or allowing unauthorized modification. The vulnerability impacts confidentiality and integrity but not availability. The CVSS score of 7.4 reflects a high severity due to the potential for sensitive data exposure without requiring privileges or user interaction.
Mitigation Recommendations
Red Hat has released official security updates that address this vulnerability. Users of Red Hat OpenShift Container Platform 4.13 and container-tools modules for RHEL 8 should apply the updated packages and container images as provided in advisories RHSA-2024:8690 and RHSA-2025:15904. Instructions for upgrading clusters and applying updates are available in the Red Hat documentation. Patch status is confirmed; applying these updates fully mitigates the issue.
CVE-2025-4953: Creation of Temporary File With Insecure Permissions
Description
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 directory on the host, leaving the created files accessible.
CVSS v3.1
Score 7.4high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Podman arises from improper handling of data written to bind mounts during the build process, resulting in files created inside containers being left accessible on the host's temporary build context directory. This exposure can lead to unauthorized access to sensitive files created during container builds. The issue is tracked as CVE-2025-4953 with a CVSS 3.1 score of 7.4 (High), indicating network attack vector, high complexity, no privileges required, no user interaction, and high confidentiality and integrity impact. Red Hat has released updated packages and container images for OpenShift Container Platform 4.13 and container-tools modules for RHEL 8 that include fixes for this and related vulnerabilities.
Potential Impact
Files created within containers during build processes may remain accessible on the host system with insecure permissions, potentially exposing sensitive data or allowing unauthorized modification. The vulnerability impacts confidentiality and integrity but not availability. The CVSS score of 7.4 reflects a high severity due to the potential for sensitive data exposure without requiring privileges or user interaction.
Mitigation Recommendations
Red Hat has released official security updates that address this vulnerability. Users of Red Hat OpenShift Container Platform 4.13 and container-tools modules for RHEL 8 should apply the updated packages and container images as provided in advisories RHSA-2024:8690 and RHSA-2025:15904. Instructions for upgrading clusters and applying updates are available in the Red Hat documentation. Patch status is confirmed; applying these updates fully mitigates the issue.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- redhat
- Date Reserved
- 2025-05-19T11:55:32.522Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/errata/RHSA-2024:8690","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:15904","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:16724","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:16729","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:17669","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22265","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22275","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22695","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22724","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:22732","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:23113","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:2703","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0316","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-4953","vendor":"Red Hat"}]
Threat ID: 68c97badd327290d6e7319d0
Added to database: 09/16/2025, 15:01:01 UTC
Last enriched: 07/02/2026, 21:57:29 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 325
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.