Podman: build context bind mount
Summary
| CVE | CVE-2025-4953 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-09-16 15:15:45 UTC |
| Updated | 2026-06-25 05:16:46 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.4 HIGH from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS: 0.005960000 probability, percentile 0.440010000 (date 2026-06-26)
Problem Types: CWE-378 | CWE-378 Creation of Temporary File With Insecure Permissions
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.4 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 3.1 | CNA | CVSS | 7.4 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 8100020250911075811.afee755d * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.12 | unaffected 3:4.2.0-15.rhaos4.12.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.12 | unaffected 412.86.202601061735-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 1:1.29.1-5.rhaos4.13.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 3:2.1.7-5.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 1:1.4.0-5.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:1.26.5-26.rhaos4.13.giteb3d487.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:1.26.0-7.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:2.2.24-5.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:2.15.0-10.rhaos4.13.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:4.13.0-202410181847.p0.g53fd427.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:4.13.0-202410181847.p0.gd2acdd5.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:4.13.0-202410181847.p0.g1397e80.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:4.13.0-202410181847.p0.gd192e90.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:4.13.0-202410181847.p0.g36754b7.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 3:4.4.1-15.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 4:1.1.14-2.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 2:1.11.3-4.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 1:1.29.5-1.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:5.14.0-284.109.1.el9_2 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 0:5.14.0-284.109.1.rt14.394.el9_2 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 3:4.4.1-16.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 413.92.202511261311-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.14 | unaffected 414.92.202512031525-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.15 | unaffected 415.92.202512100122-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.16 | unaffected 4:4.9.4-16.rhaos4.16.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.16 | unaffected 416.94.202512030118-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.17 | unaffected 417.94.202511260612-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.18 | unaffected 5:5.2.2-2.rhaos4.18.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.18 | unaffected 418.94.202512022246-0 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| CNA | Red Hat | Red Hat In-Vehicle Operating System 1 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2025:22695 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2026:0316 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22265 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:15904 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2025-4953 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22275 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22732 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:2703 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:17669 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:22724 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:16729 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:23113 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2024:8690 | [email protected] | access.redhat.com | |
| github.com/containers/podman/pull/25173 | [email protected] | github.com | |
| access.redhat.com/errata/RHSA-2025:16724 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-05-19T11:46:53.335Z | Reported to Red Hat. |
| CNA | 2025-09-16T00:00:00.000Z | Made public. |
Workarounds
CNA: Avoid long-running build steps and overly permissive file permissions. Use RUN --mount=type=secret for sensitive data instead of bind mounts.
There are currently no legacy QID mappings associated with this CVE.