Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-44517 EUVD-2026-64141GHSA-49p4-px3h-rq49GO-2026-5116

Buildah: Build breakout using malicious Containerfile and Git Smart HTTP server or GitHub release tar archive

Published Aug 21, 2026 · Updated Aug 25, 2026 · Assigned by GitHub_M

Description

Buildah is a tool that facilitates building OCI images. From 1.38.1 until 1.43.2 and 1.44.0, TempDirForURL in define/types.go does not securely confine Git repository subdirectories to the downloaded build context, and downloadToDirectory and stdinToDirectory can follow a Dockerfile symlink left by a partially extracted tar archive. A malicious server supplying a Git repository or tar archive can cause files outside the build context directory to be included in the context or copied into the build. This issue is fixed in versions 1.43.2 and 1.44.0.

Affected products

VendorProductAffectedFixed
containers buildah >= 1.38.1, < 1.43.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-containers-buildah 1.43.2+ds1-1 —
Debian 13 golang-github-containers-buildah No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-containers-buildah No fix yet —
Ubuntu 25.10 golang-github-containers-buildah No fix yet —
Ubuntu 22.04 LTS golang-github-containers-buildah No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS golang-github-containers-buildah No fix yet —
Ubuntu Pro 24.04 LTS golang-github-containers-buildah No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
SLES 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 openSUSE-SU-2026:21551-1
ReleasePackageFixed inAdvisory
Alpine v3.24 podman 5.8.3-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 buildah No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling falco-no-driver 0.45.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/containers/buildah >= 1.38.1, < 1.43.2 1.43.2 GHSA-49p4-px3h-rq49
Go github.com/containers/buildah >= 1.38.1 — GO-2026-5116

Advisories 3

References