CVE-2025-4953
7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
0 < * | affected | ||
| Red Hat | Red Hat Enterprise Linux 8 | 8100020250911075811.afee755d < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | 3:4.2.0-15.rhaos4.12.el9 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | 412.86.202601061735-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 1:1.29.1-5.rhaos4.13.el9 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 3:2.1.7-5.rhaos4.13.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 1:1.4.0-5.rhaos4.13.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:1.26.5-26.rhaos4.13.giteb3d487.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:1.26.0-7.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:2.2.24-5.rhaos4.13.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:2.15.0-10.rhaos4.13.el9 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:4.13.0-202410181847.p0.g53fd427.assembly.stream.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:4.13.0-202410181847.p0.gd2acdd5.assembly.stream.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:4.13.0-202410181847.p0.g1397e80.assembly.stream.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:4.13.0-202410181847.p0.gd192e90.assembly.stream.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:4.13.0-202410181847.p0.g36754b7.assembly.stream.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 3:4.4.1-15.rhaos4.13.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 4:1.1.14-2.rhaos4.13.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 2:1.11.3-4.rhaos4.13.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 1:1.29.5-1.rhaos4.13.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:5.14.0-284.109.1.el9_2 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 0:5.14.0-284.109.1.rt14.394.el9_2 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 3:4.4.1-16.rhaos4.13.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 413.92.202511261311-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | 414.92.202512031525-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | 415.92.202512100122-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | 4:4.9.4-16.rhaos4.16.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | 416.94.202512030118-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.17 | 417.94.202511260612-0 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.18 | 5:5.2.2-2.rhaos4.18.el8 < * | unaffected |
| Red Hat | Red Hat OpenShift Container Platform 4.18 | 418.94.202512022246-0 < * | unaffected |
Weaknesses
- CWE-378: Creation of Temporary File With Insecure Permissions
Workarounds
Avoid long-running build steps and overly permissive file permissions. Use RUN –mount=type=secret for sensitive data instead of bind mounts.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://access.redhat.com/errata/RHSA-2024:8690
- https://access.redhat.com/errata/RHSA-2025:15904
- https://access.redhat.com/errata/RHSA-2025:16724
- https://access.redhat.com/errata/RHSA-2025:16729
- https://access.redhat.com/errata/RHSA-2025:17669
- https://access.redhat.com/errata/RHSA-2025:22265
- https://access.redhat.com/errata/RHSA-2025:22275
- https://access.redhat.com/errata/RHSA-2025:22695
- https://access.redhat.com/errata/RHSA-2025:22724
- https://access.redhat.com/errata/RHSA-2025:22732
- https://access.redhat.com/errata/RHSA-2025:23113
- https://access.redhat.com/errata/RHSA-2025:2703
- https://access.redhat.com/errata/RHSA-2026:0316
- https://access.redhat.com/security/cve/CVE-2025-4953
- https://bugzilla.redhat.com/show_bug.cgi?id=2367235
- https://github.com/containers/podman/pull/25173
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.