CVEfocus › CVE database › CVE-2025-4953

CVE-2025-4953Podman: build context bind mount

CVSS 7.4 HighEPSS 0.9% (higher than 57% of CVEs)Published 2025-09-16Updated 2026-11-24Assigner: redhat

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.

CWE-378

What to do

Fixed builds are available from Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

59Fixed
8Fix pending
1Under investigation
1Will not fix
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10podmanFix pendingUBUNTU-CVE-2025-4953
Ubuntu 26.04podmanUnder investigationUBUNTU-CVE-2025-4953
Ubuntu 25.10podmanWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-4953
Ubuntu 24.04libpodFix pendingUBUNTU-CVE-2025-4953
Ubuntu 22.04libpodFix pendingUBUNTU-CVE-2025-4953
Debian 14podmanFixed5.3.2+ds1-1DEBIAN-CVE-2025-4953
Debian 13podmanFixed5.3.2+ds1-1DEBIAN-CVE-2025-4953
Debian 12libpodFix pendingDEBIAN-CVE-2025-4953
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10podman-dockerNot affected
Red Hat Enterprise Linux 10podman-remoteNot affected
Red Hat Enterprise Linux 10podman-testsNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 8aardvark-dnsFixed2:1.10.1-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8buildahFixed2:1.33.12-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8buildah-testsFixed2:1.33.12-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8containernetworking-pluginsFixed1:1.4.0-6.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8containers-commonFixed2:1-82.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8critFixed0:3.18-5.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8criuFixed0:3.18-5.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8criu-develFixed0:3.18-5.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8criu-libsFixed0:3.18-5.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8crunFixed0:1.14.3-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8libslirp-develFixed0:4.4.0-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8podmanFixed4:4.9.4-23.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8podman-catatonitFixed4:4.9.4-23.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8podman-dockerFixed4:4.9.4-23.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8podman-gvproxyFixed4:4.9.4-23.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8podman-pluginsFixed4:4.9.4-23.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8podman-remoteFixed4:4.9.4-23.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8podman-testsFixed4:4.9.4-23.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8python-podmanFixed0:4.9.0-3.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8python3-criuFixed0:3.18-5.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8python3-podmanFixed0:4.9.0-3.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8runcFixed1:1.1.12-6.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8skopeoFixed2:1.14.5-4.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8skopeo-testsFixed2:1.14.5-4.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8toolbox-testsFixed0:0.0.99.5-2.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Red Hat Enterprise Linux 8udicaFixed0:0.2.6-21.module+el8.10.0+23498+f7d19d48RHSA-2025:15904
Rocky Linux 8aardvark-dnsFixed2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2025:15904
Rocky Linux 8buildahFixed2:1.33.12-2.module+el8.10.0+2001+6a33db9fRLSA-2025:15904
Rocky Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+1948+4b5cd4a9RLSA-2025:15904
Rocky Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+1843+6892ab28RLSA-2025:15904
Rocky Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9RLSA-2025:15904
Rocky Linux 8containernetworking-pluginsFixed1:1.4.0-6.module+el8.10.0+2001+6a33db9fRLSA-2025:15904
Rocky Linux 8containers-commonFixed2:1-82.module+el8.10.0+2001+6a33db9fRLSA-2025:15904
Rocky Linux 8criuFixed0:3.18-5.module+el8.10.0+1948+4b5cd4a9RLSA-2025:15904
Rocky Linux 8crunFixed0:1.14.3-2.module+el8.10.0+1872+2e18eb19RLSA-2025:15904
Rocky Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+1843+6892ab28RLSA-2025:15904
Rocky Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+1825+623b0c20RLSA-2025:15904
Rocky Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+1843+6892ab28RLSA-2025:15904
Rocky Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+1843+6892ab28RLSA-2025:15904
Rocky Linux 8podmanFixed4:4.9.4-23.module+el8.10.0+2064+309a12a4RLSA-2025:15904
Rocky Linux 8python-podmanFixed0:4.9.0-3.module+el8.10.0+1896+b18fa106RLSA-2025:15904
Rocky Linux 8runcFixed1:1.1.12-6.module+el8.10.0+1948+4b5cd4a9RLSA-2025:15904
Rocky Linux 8skopeoFixed2:1.14.5-4.module+el8.10.0+2001+6a33db9fRLSA-2025:15904
Rocky Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+2001+6a33db9fRLSA-2025:15904
Rocky Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+2001+6a33db9f.rocky.0.2RLSA-2025:15904
Rocky Linux 8udicaFixed0:0.2.6-21.module+el8.10.0+1872+2e18eb19RLSA-2025:15904
Go librarygithub.com/containers/buildahFixed1.27.6GO-2025-3961
Go librarygithub.com/containers/podmanFix pendingGO-2025-3961
Go librarygithub.com/containers/podman/v2Fix pendingGO-2025-3961
Go librarygithub.com/containers/podman/v3Fix pendingGO-2025-3961
Go librarygithub.com/containers/podman/v4Fix pendingGO-2025-3961
Go librarygithub.com/containers/podman/v5Fixed5.3.2GO-2025-3961

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.