Podman: build context bind mount

Summary

CVECVE-2025-4953
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-09-16 15:15:45 UTC
Updated2026-06-25 05:16:46 UTC
DescriptionA 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1CNACVSS7.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

Additional Advisory Data

SourceTimeEvent
CNA2025-05-19T11:46:53.335ZReported to Red Hat.
CNA2025-09-16T00:00:00.000ZMade 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report