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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.50% (percentile 36, 2026-11-26)
- **CWE:** CWE-59
- **Aliases:** GHSA-874v-pj72-92f3, GHSA-pmf3-c36m-g5cf, GO-2024-2658
- **Published:** 2024-03-18T14:23:44.213Z
- **Modified:** 2026-11-26T14:17:09.770Z

## Who should check

- Projects that depend on Go package github.com/containers/podman/v4 (\< 4.9.4)
- Projects that depend on Go package github.com/containers/podman/v5 (\< 5.0.1)
- Projects that depend on Go package github.com/containers/buildah (\>= 1.35.0, \< 1.35.1)
- Anyone running buildah 4.15.0
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 8.6 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.8 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 9 all versions

## 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.

## Affected and fixed versions

- Go `github.com/containers/podman/v4`: affected \< 4.9.4; fixed 4.9.4 (osv)
- Go `github.com/containers/podman/v5`: affected \< 5.0.1; fixed 5.0.1 (osv)
- Go `github.com/containers/buildah`: affected \>= 1.35.0, \< 1.35.1; fixed 1.35.1, 1.34.3, 1.33.7, 1.27.4, 1.24.7, 1.29.3, 1.31.5, 1.32.3 (osv)
- buildah: 4.15.0 (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.8 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9.0 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9.0 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.12: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.13: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.13: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.14: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.15: all versions (cvelist)
- Red Hat Enterprise Linux 7: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 7: see vendor advisory (cvelist)
- Red Hat OpenShift Container Platform 3.11: see vendor advisory (cvelist)

## Mitigation

- Upgrade github.com/containers/podman/v4 to 4.9.4 or later.
- Upgrade github.com/containers/podman/v5 to 5.0.1 or later.
- Upgrade github.com/containers/buildah to one of 1.35.1, 1.34.3, 1.33.7, 1.27.4, 1.24.7, 1.29.3, 1.31.5, 1.32.3 (or later in the same release line).
- Vendor workaround: When SELinux is enabled, the container is restricted to limited read-only access.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-1753. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-1753.md
Affected: github.com/containers/podman/v4 < 4.9.4; github.com/containers/podman/v5 < 5.0.1; github.com/containers/buildah >= 1.35.0, < 1.35.1
Fixed in: 4.9.4, 5.0.1, 1.35.1, 1.34.3, 1.33.7, 1.27.4, 1.24.7, 1.29.3, 1.31.5, 1.32.3

Steps:
1. Search this machine and project for github.com/containers/podman/v4 (Go), github.com/containers/podman/v5 (Go), github.com/containers/buildah (Go), buildah, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.6 Extended Update Support: 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.
```

## FAQ

### Is CVE-2024-1753 being exploited?

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

### How serious is CVE-2024-1753?

High: CVSS 8.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-1753?

github.com/containers/podman/v4 \< 4.9.4; github.com/containers/podman/v5 \< 5.0.1; github.com/containers/buildah \>= 1.35.0, \< 1.35.1.

### Is there a fix for CVE-2024-1753?

Yes. Fixed in 4.9.4, 5.0.1, 1.35.1, 1.34.3, 1.33.7, 1.27.4, 1.24.7, 1.29.3, 1.31.5, 1.32.3. Upgrade github.com/containers/podman/v4 to 4.9.4 or later. Upgrade github.com/containers/podman/v5 to 5.0.1 or later. Upgrade github.com/containers/buildah to one of 1.35.1, 1.34.3, 1.33.7, 1.27.4, 1.24.7, 1.29.3, 1.31.5, 1.32.3 (or later in the same release line). Vendor workaround: When SELinux is enabled, the container is restricted to limited read-only access.

### How do I check if I'm affected by CVE-2024-1753?

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.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2024:2049>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2055>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2064>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2066>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2077>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2084>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2089>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2090>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2097>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2098>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2548>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2645>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2669>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2672>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2784>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2877>
- vendor: <https://access.redhat.com/errata/RHSA-2024:3254>
- vendor: <https://access.redhat.com/errata/RHSA-2026:102524>
- vendor: <https://github.com/containers/buildah/security/advisories/GHSA-pmf3-c36m-g5cf>
- vendor: <https://github.com/containers/podman/security/advisories/GHSA-874v-pj72-92f3>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-1753>
- patch: <https://github.com/containers/buildah/commit/3deda19137f5dec0285bbb832bd93c22d860b087>
- patch: <https://github.com/containers/buildah/commit/9de9c20ff368beb84b84fe660773d352519dc1c5>
- patch: <https://github.com/containers/buildah/commit/a030f7b8cd373075affef1f86de43a87e502f3d8>
- other: <https://access.redhat.com/security/cve/CVE-2024-1753>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2265513>
- other: <https://pkg.go.dev/vuln/GO-2024-2658>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVBSVZGVABPYIHK5HZM472NPGWMI7WXH>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KOYMVMQ7RWMDTSKQTBO734BE3WQPI2AJ>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FCRZVUDOFM5CPREQKBEU2VK2QK62PSBP>
- other: <https://github.com/containers/podman>
- other: <https://github.com/containers/buildah>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-1753>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-874v-pj72-92f3> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-pmf3-c36m-g5cf> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-2658> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-1753> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-1753>
