Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-4953

HIGH 7.4EPSS 57%

Podman: build context bind mount

Also known as GHSA-m68q-4hqr-mc6f, GO-2025-3961

Mitigation

  • Upgrade github.com/containers/podman/v5 to 5.3.2 or later.
  • Upgrade github.com/containers/buildah to one of 1.27.6, 1.33.12, 1.35.5, 1.37.6, 1.38.1 (or later in the same release line).
  • Vendor workaround: Avoid long-running build steps and overly permissive file permissions. Use RUN --mount=type=secret for sensitive data instead of bind mounts.

Who should check

  • Projects that depend on Go package github.com/containers/podman/v5 (<= 5.5.0)
  • Projects that depend on Go package github.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)
  • Projects that depend on Go package github.com/containers/podman
  • Projects that depend on Go package github.com/containers/podman/v2
  • Projects that depend on Go package github.com/containers/podman/v3
  • Projects that depend on Go package github.com/containers/podman/v4
  • Anyone running podman < *
  • Anyone running Red Hat Enterprise Linux 8 all versions

Vulnerability facts

Affected
github.com/containers/podman/v5 <= 5.5.0; github.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; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3; github.com/containers/podman/v4
Fixed in
5.3.2, 1.27.6, 1.33.12, 1.35.5, 1.37.6, 1.38.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
0.88% chance of exploitation in 30 days (percentile 57, 2026-11-26)
CWE
CWE-378
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/containers/podman/v5<= 5.5.05.3.2osv
Go github.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.11.27.6, 1.33.12, 1.35.5, 1.37.6, 1.38.1osv
Go github.com/containers/podman——osv
Go github.com/containers/podman/v2——osv
Go github.com/containers/podman/v3——osv
Go github.com/containers/podman/v4——osv
podman< *—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.12all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.13all versions—cvelist
Red Hat OpenShift Container Platform 4.14all versions—cvelist
Red Hat OpenShift Container Platform 4.15all versions—cvelist
Red Hat OpenShift Container Platform 4.16all versions—cvelist
Red Hat OpenShift Container Platform 4.16all versions—cvelist
Red Hat OpenShift Container Platform 4.17all versions—cvelist
Red Hat OpenShift Container Platform 4.18all versions—cvelist
Red Hat OpenShift Container Platform 4.18all versions—cvelist
Red Hat Enterprise Linux 10——cvelist
Red Hat Enterprise Linux 9——cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-4953. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-4953.md
Affected: github.com/containers/podman/v5 <= 5.5.0; github.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; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3; github.com/containers/podman/v4
Fixed in: 5.3.2, 1.27.6, 1.33.12, 1.35.5, 1.37.6, 1.38.1

Steps:
1. Search this machine and project for github.com/containers/podman/v5 (Go), github.com/containers/buildah (Go), github.com/containers/podman (Go), github.com/containers/podman/v2 (Go), github.com/containers/podman/v3 (Go), github.com/containers/podman/v4 (Go): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-4953 being exploited?

There is no confirmed exploitation: CVE-2025-4953 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.88% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-4953?

High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-4953?

github.com/containers/podman/v5 <= 5.5.0; github.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; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3; github.com/containers/podman/v4.

Is there a fix for CVE-2025-4953?

Yes. Fixed in 5.3.2, 1.27.6, 1.33.12, 1.35.5, 1.37.6, 1.38.1. Upgrade github.com/containers/podman/v5 to 5.3.2 or later. Upgrade github.com/containers/buildah to one of 1.27.6, 1.33.12, 1.35.5, 1.37.6, 1.38.1 (or later in the same release line). Vendor workaround: Avoid long-running build steps and overly permissive file permissions. Use RUN --mount=type=secret for sensitive data instead of bind mounts.

How do I check if I'm affected by CVE-2025-4953?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors