CVE-2025-4953

Podman: build context bind mount

7.4 high EPSS 0.88%

Published 16 Sep 2025 Updated 24 Nov 2026 CNA: redhat

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.

Severity (CVSS)

7.4 high CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.88%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 56.8% of all scored CVEs. Scores of 26 Nov 2026.

The assessment of CISA (SSVC, 16 Sep 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-378 Creation of Temporary File With Insecure Permissions

Affected products

As the CNA lists them.

ProductVersions
podman
package podman
affected all versions (unaffected from 50295e5e5d1a4583d26d5c6d5c0608cff498cc8d)
Other versions: unknown
Red Hat Enterprise Linux 8
package container-tools:rhel8
unaffected 8100020250911075811.afee755d and later
Other versions: affected
Red Hat OpenShift Container Platform 4.12
package podman
unaffected 3:4.2.0-15.rhaos4.12.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.12
package openshift/ose-rhel-coreos-8
unaffected 412.86.202601061735-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package buildah
unaffected 1:1.29.1-5.rhaos4.13.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package conmon
unaffected 3:2.1.7-5.rhaos4.13.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package containernetworking-plugins
unaffected 1:1.4.0-5.rhaos4.13.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package cri-o
unaffected 0:1.26.5-26.rhaos4.13.giteb3d487.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package cri-tools
unaffected 0:1.26.0-7.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package haproxy
unaffected 0:2.2.24-5.rhaos4.13.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package ignition
unaffected 0:2.15.0-10.rhaos4.13.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package openshift
unaffected 0:4.13.0-202410181847.p0.g53fd427.assembly.stream.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package openshift4-aws-iso
unaffected 0:4.13.0-202410181847.p0.gd2acdd5.assembly.stream.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package openshift-ansible
unaffected 0:4.13.0-202410181847.p0.g1397e80.assembly.stream.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package openshift-clients
unaffected 0:4.13.0-202410181847.p0.gd192e90.assembly.stream.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package openshift-kuryr
unaffected 0:4.13.0-202410181847.p0.g36754b7.assembly.stream.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package podman
unaffected 3:4.4.1-15.rhaos4.13.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package runc
unaffected 4:1.1.14-2.rhaos4.13.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package skopeo
unaffected 2:1.11.3-4.rhaos4.13.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package buildah
unaffected 1:1.29.5-1.rhaos4.13.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package kernel
unaffected 0:5.14.0-284.109.1.el9_2 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package kernel-rt
unaffected 0:5.14.0-284.109.1.rt14.394.el9_2 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package podman
unaffected 3:4.4.1-16.rhaos4.13.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package openshift/ose-rhel-coreos-9
unaffected 413.92.202511261311-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.14
package openshift/ose-rhel-coreos-9
unaffected 414.92.202512031525-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.15
package openshift/ose-rhel-coreos-9
unaffected 415.92.202512100122-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.16
package podman
unaffected 4:4.9.4-16.rhaos4.16.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.16
package openshift/ose-rhel-coreos-9
unaffected 416.94.202512030118-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.17
package openshift/ose-rhel-coreos-9
unaffected 417.94.202511260612-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package podman
unaffected 5:5.2.2-2.rhaos4.18.el8 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift/ose-rhel-coreos-9
unaffected 418.94.202512022246-0 and later
Other versions: affected
Red Hat Enterprise Linux 10
package podman
unaffected the record does not list versions
Red Hat Enterprise Linux 9
package podman
unaffected the record does not list versions

Is my server affected?

Find the installed version of podman and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i podman
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-4953 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-4953

RHEL, Rocky, Alma, Fedora

rpm -q podman
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-4953

Alpine

apk list --installed | grep -i podman

With Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:

trivy rootfs --scanners vuln / | grep CVE-2025-4953
trivy image --scanners vuln IMAGE | grep CVE-2025-4953

Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.

References

Advisories

Other references

Source: the record CVE-2025-4953 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.