Path Traversal in Buildah
Published 18 May 2021 · Updated 10 Sept 2026
Is your project on an affected github.com/containers/buildah?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.14.4
- Fixed in
- 1.14.4
go get github.com/containers/buildah@v1.14.4Details
A path traversal flaw was found in Buildah in versions before 1.14.5. This flaw allows an attacker to trick a user into building a malicious container image hosted on an HTTP(s) server and then write files to the user's system anywhere that the user has permissions.
Specific Go Packages Affected
github.com/containers/buildah/imagebuildah
Is GHSA-fx8w-mjvm-hvpc in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/containers/buildah, and gives you the command that fixes it.
More advisories for github.com/containers/buildah
- LowCVE-2026-44517Build breakout using malicious Containerfile or Git HTTP server in github.com/containers/buildah · 27 Jul 2026
- MediumCVE-2026-44517Build breakout using malicious Containerfile and Git Smart HTTP server or GitHub release tar archive · 22 Jun 2026
- LowCVE-2024-11218Buildah allows build breakout using malicious Containerfiles and concurrent builds in github.com/containers/buildah · 28 Jan 2025
- HighCVE-2024-11218Buildah allows build breakout using malicious Containerfiles and concurrent builds · 21 Jan 2025
- LowCVE-2024-9675Buildah allows arbitrary directory mount in github.com/containers/buildah · 11 Oct 2024
- LowCVE-2024-9407Improper Input Validation in Buildah and Podman in github.com/containers/buildah · 9 Oct 2024
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-10696
- Linkgithub.com/containers/buildah/pull/2245
- Linkaccess.redhat.com/security/cve/cve-2020-10696
- Linkbugzilla.redhat.com/show_bug.cgi?id=1817651
- Linkbugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10696
- Packagegithub.com/containers/buildah
- Linkpkg.go.dev/vuln/GO-2022-0828
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.