cve.bz

CVE-2025-4953 Podman: build context bind mount

7.4 highEPSS 0.9%Fix available

High (7.4) in red hat. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containers/buildah 1.27.6, 1.33.12, 1.35.5.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.9% (up from 0.7% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-09-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-378 Creation of Temporary File With Insecure Permissions
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • github.com/containers/buildah (Go): fixed in 1.27.6, 1.33.12, 1.35.5, 1.37.6, 1.38.1
  • github.com/containers/podman/v5 (Go): fixed in 5.3.2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020250911075811.afee755d
  • Red Hat Red Hat OpenShift Container Platform 4.12: fixed in 3:4.2.0-15.rhaos4.12.el9
  • Red Hat Red Hat OpenShift Container Platform 4.12: fixed in 412.86.202601061735-0
  • Red Hat Red Hat OpenShift Container Platform 4.13: fixed in 1:1.29.1-5.rhaos4.13.el9
  • Red Hat Red Hat OpenShift Container Platform 4.13: fixed in 3:2.1.7-5.rhaos4.13.el8
  • Red Hat Red Hat OpenShift Container Platform 4.13: fixed in 1:1.4.0-5.rhaos4.13.el8
  • Red Hat Red Hat OpenShift Container Platform 4.13: fixed in 0:1.26.5-26.rhaos4.13.giteb3d487.el8
  • Red Hat Red Hat OpenShift Container Platform 4.13: fixed in 0:1.26.0-7.el8
  • Debian, Red Hat, SUSE, openSUSE, Rocky Linux, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-4953 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4953?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4953?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-4953 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88100020250911075811.afee755d
Red Hat OpenShift Container Platform 4.123:4.2.0-15.rhaos4.12.el9
Red Hat OpenShift Container Platform 4.12412.86.202601061735-0
Red Hat OpenShift Container Platform 4.131:1.29.1-5.rhaos4.13.el9
Red Hat OpenShift Container Platform 4.133:2.1.7-5.rhaos4.13.el8
Red Hat OpenShift Container Platform 4.131:1.4.0-5.rhaos4.13.el8
Red Hat OpenShift Container Platform 4.130:1.26.5-26.rhaos4.13.giteb3d487.el8
Red Hat OpenShift Container Platform 4.130:1.26.0-7.el8
Red Hat OpenShift Container Platform 4.130:2.2.24-5.rhaos4.13.el8
Red Hat OpenShift Container Platform 4.130:2.15.0-10.rhaos4.13.el9
Red Hat OpenShift Container Platform 4.130:4.13.0-202410181847.p0.g53fd427.assembly.stream.el8
Red Hat OpenShift Container Platform 4.130:4.13.0-202410181847.p0.gd2acdd5.assembly.stream.el8
Red Hat OpenShift Container Platform 4.130:4.13.0-202410181847.p0.g1397e80.assembly.stream.el8
Red Hat OpenShift Container Platform 4.130:4.13.0-202410181847.p0.gd192e90.assembly.stream.el8
Red Hat OpenShift Container Platform 4.130:4.13.0-202410181847.p0.g36754b7.assembly.stream.el8
Red Hat OpenShift Container Platform 4.133:4.4.1-15.rhaos4.13.el8
Red Hat OpenShift Container Platform 4.134:1.1.14-2.rhaos4.13.el8
Red Hat OpenShift Container Platform 4.132:1.11.3-4.rhaos4.13.el8
Red Hat OpenShift Container Platform 4.131:1.29.5-1.rhaos4.13.el8
Red Hat OpenShift Container Platform 4.130:5.14.0-284.109.1.el9_2
Red Hat OpenShift Container Platform 4.130:5.14.0-284.109.1.rt14.394.el9_2
Red Hat OpenShift Container Platform 4.133:4.4.1-16.rhaos4.13.el8
Red Hat OpenShift Container Platform 4.13413.92.202511261311-0
Red Hat OpenShift Container Platform 4.14414.92.202512031525-0
Red Hat OpenShift Container Platform 4.15415.92.202512100122-0
Red Hat OpenShift Container Platform 4.164:4.9.4-16.rhaos4.16.el8
Red Hat OpenShift Container Platform 4.16416.94.202512030118-0
Red Hat OpenShift Container Platform 4.17417.94.202511260612-0
Red Hat OpenShift Container Platform 4.185:5.2.2-2.rhaos4.18.el8
Red Hat OpenShift Container Platform 4.18418.94.202512022246-0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m68q-4hqr-mc6fGogithub.com/containers/podman/v5<=5.5.0no fix published
GO-2025-3961Gogithub.com/containers/buildah<1.27.6
>=1.28.0 <1.33.12
>=1.34.0 <1.35.5
>=1.36.0 <1.37.6
>=1.38.0 <1.38.1
1.27.6, 1.33.12, 1.35.5, 1.37.6, 1.38.1
GO-2025-3961Gogithub.com/containers/podmanall versionsno fix published
GO-2025-3961Gogithub.com/containers/podman/v2all versionsno fix published
GO-2025-3961Gogithub.com/containers/podman/v3all versionsno fix published
GO-2025-3961Gogithub.com/containers/podman/v4all versionsno fix published
GO-2025-3961Gogithub.com/containers/podman/v5<5.3.25.3.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libpodno fix listedDEBIAN-CVE-2025-4953
Debian13, 14podman5.3.2+ds1-1DEBIAN-CVE-2025-4953
Ubuntu25.10, 26.04:LTS, 26.10podmanno fix listedUBUNTU-CVE-2025-4953
UbuntuPro:22.04:LTS, Pro:24.04:LTSlibpodno fix listedUBUNTU-CVE-2025-4953
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.1-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.12-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-6.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-82.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-5.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.13-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.4.0-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hatenterprise_linux:8::appstreamnetavark2:1.10.3-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
49 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250918T182144-150000.1.107.1SUSE-SU-2025:03289-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250918T182144-150000.1.107.1SUSE-SU-2025:03289-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250917T170349-1.1openSUSE-SU-2025:15564-1
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2025:15904
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1880+8e896d1bRLSA-2025:15904
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1896+b18fa106RLSA-2025:15904
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1948+4b5cd4a9RLSA-2025:15904
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+2001+6a33db9fRLSA-2025:15904
Rocky Linux8buildah2:1.33.12-2.module+el8.10.0+2001+6a33db9fRLSA-2025:15904
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2025:15904
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2025:15904
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2025:15904
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1872+2e18eb19RLSA-2025:15904
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1874+ce489889RLSA-2025:15904
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1880+8e896d1bRLSA-2025:15904
118 more for Rocky Linux in the JSON.
Azure Linux3podman5.6.1-2AZL-68054

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is classified as Moderate rather than Important because exploitation requires several preconditions: an attacker must have unprivileged access to the host during the build process, the container build must include long-running steps (e.g., RUN sleep) that prolong the existence of the temporary build context, and files must be created with overly permissive permissions (e.g., 4777). The vulnerability does not allow remote code execution or compromise of running containers, and it only exposes files temporarily present in the build context. Therefore, while it can lead to information disclosure, the scope and impact are limited to local users with concurrent access, making the overall risk moderate.

Red Hat's mitigation

Avoid long-running build steps and overly permissive file permissions. Use RUN --mount=type=secret for sensitive data instead of bind mounts.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:rhel8-8100020250911075811.afee755dFixed 2025-09-16RHSA-2025:15904
Red Hat OpenShift Container Platform 4.12podman-3:4.2.0-15.rhaos4.12.el9Fixed 2025-10-16RHSA-2025:17669
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202601061735-0Fixed 2026-01-15RHSA-2026:0316
Red Hat OpenShift Container Platform 4.13buildah-1:1.29.1-5.rhaos4.13.el9Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13conmon-3:2.1.7-5.rhaos4.13.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13containernetworking-plugins-1:1.4.0-5.rhaos4.13.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13cri-o-0:1.26.5-26.rhaos4.13.giteb3d487.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13cri-tools-0:1.26.0-7.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13haproxy-0:2.2.24-5.rhaos4.13.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13ignition-0:2.15.0-10.rhaos4.13.el9Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13openshift-0:4.13.0-202410181847.p0.g53fd427.assembly.stream.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13openshift4-aws-iso-0:4.13.0-202410181847.p0.gd2acdd5.assembly.stream.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13openshift-ansible-0:4.13.0-202410181847.p0.g1397e80.assembly.stream.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13openshift-clients-0:4.13.0-202410181847.p0.gd192e90.assembly.stream.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13openshift-kuryr-0:4.13.0-202410181847.p0.g36754b7.assembly.stream.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13podman-3:4.4.1-15.rhaos4.13.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13runc-4:1.1.14-2.rhaos4.13.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat OpenShift Container Platform 4.13skopeo-2:1.11.3-4.rhaos4.13.el8Fixed 2024-11-06RHSA-2024:8690
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 9podmanNot affected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-4953.

References

Check your stackJSON