# CVE-2024-11218: Buildah allows build breakout using malicious Containerfiles and concurrent builds

Source: https://junglewise.ai/threats/cve-2024-11218-buildah-allows-build-breakout-using-malicious-containerfiles-and  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-01-28  
License: CC BY 4.0 with a link back

CVE-2024-11218 · Severity: low · CVSS 3.1 · Published 2025-01-28

Buildah allows build breakout using malicious Containerfiles and concurrent builds in github.com/containers/buildah

Technologies: [github.com/containers/buildah (Go)](https://junglewise.ai/threats/technologies/github-com-containers-buildah). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-11218 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-11218 being exploited in the wild.

**How severe is CVE-2024-11218?** Low severity, with a CVSS score of 3.1, published 28 January 2025.

**Which products and versions are affected?** github.com/containers/buildah (Go) SEMVER:introduced=0,fixed=1.33.12,introduced=1.35.0,fixed=1.35.5,introduced=1.37.0,fixed=1.37.6,introduced=1.38.0,fixed=1.38.1, SEMVER:introduced=1.38.0,fixed=1.38.1.

**Is there a fix for CVE-2024-11218?** Yes. github.com/containers/buildah (Go): upgrade to 1.38.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-11218?** Check whether you run github.com/containers/buildah (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/containers/buildah (Go): upgrade to 1.38.1 or later

  ```sh
  go get github.com/containers/buildah@v1.38.1
  ```


## Affected products

- github.com/containers/buildah (Go) SEMVER:introduced=0,fixed=1.33.12,introduced=1.35.0,fixed=1.35.5,introduced=1.37.0,fixed=1.37.6,introduced=1.38.0,fixed=1.38.1, SEMVER:introduced=1.38.0,fixed=1.38.1

## Identifiers

- CVE-2024-11218
- GHSA-5vpc-35f4-r8w6
- GO-2025-3414

## Related threats

- [Containers Buildah path traversal in build context processing](https://junglewise.ai/threats/cve-2026-44517-containers-buildah-path-traversal-in-build-context-processing)
- [GO-2024-3169 - Improper Input Validation in Buildah and Podman in github.com/containers/buildah](https://junglewise.ai/threats/cve-2024-9407-improper-input-validation-in-buildah-and-podman)
- [containers Buildah path traversal in cache mounts](https://junglewise.ai/threats/cve-2024-9675-containers-buildah-path-traversal-in-cache-mounts)
- [GO-2022-0828 - Path Traversal in Buildah in github.com/containers/buildah](https://junglewise.ai/threats/cve-2020-10696-path-traversal-in-buildah)
- [GO-2024-2658 - Container escape at build time in github.com/containers/buildah](https://junglewise.ai/threats/cve-2024-1753-podman-affected-by-container-escape-at-build-time)
