CVE-2025-4953: Podman: build context bind mount

Published May 19, 2025
·
Updated

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.

Other sources

In the Dockerfile I added "sleep 300". After 300 seconds the build context directory will be deleted by Podman but before that an unprivileged user on the host has access to a file that has permissions 4777

— Red Hat

Affected Software

2 affected components
Red Hat Podman
go/github.com/containers/podman/v5<=5.5.0

Event History

May 19, 2025
Data Sourced
via Red Hat·11:56 AM
DescriptionSeverityAffected Software
Sep 16, 2025
CVE Published
via MITRE·02:54 PM
Data Sourced
via MITRE·02:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:32 PM
Data Sourced
via GitHub·03:32 PM
DescriptionSeverityWeaknessAffected Software
Nov 29, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-4953?

The severity of CVE-2025-4953 is currently rated as moderate due to the potential for data leakage.

2

How do I fix CVE-2025-4953?

To fix CVE-2025-4953, you should upgrade to the latest version of Red Hat Podman that addresses this vulnerability.

3

What type of software is affected by CVE-2025-4953?

CVE-2025-4953 affects Red Hat Podman, particularly in scenarios involving RUN --mount=type=bind mounts.

4

What are the potential consequences of CVE-2025-4953?

The potential consequence of CVE-2025-4953 includes unauthorized files being exposed on the host system from container builds.

5

Is there a workaround for CVE-2025-4953 until a fix is applied?

As a temporary workaround for CVE-2025-4953, avoid using RUN --mount=type=bind in your Containerfiles until the vulnerability is resolved.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203