CVE-2026-44517Buildah: Build breakout using malicious Containerfile and Git Smart HTTP server or…
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.
What to do
Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-github-containers-buildah | Fix pending | UBUNTU-CVE-2026-44517 | |
| Ubuntu 26.04 | golang-github-containers-buildah | Fix pending | UBUNTU-CVE-2026-44517 | |
| Ubuntu 25.10 | golang-github-containers-buildah | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-44517 | |
| Ubuntu 24.04 | golang-github-containers-buildah | Fix pending | UBUNTU-CVE-2026-44517 | |
| Ubuntu 22.04 | golang-github-containers-buildah | Under investigation | UBUNTU-CVE-2026-44517 | |
| Debian 14 | golang-github-containers-buildah | Fixed | 1.43.2+ds1-1 | DEBIAN-CVE-2026-44517 |
| Debian 13 | golang-github-containers-buildah | Fix pending | DEBIAN-CVE-2026-44517 | |
| Red Hat Enterprise Linux 10 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | buildah | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | buildah-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | conmon | Not affected | ||
| Red Hat Enterprise Linux 9 | podman | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-catatonit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-docker | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-gvproxy | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-plugins | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-remote | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | podman-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | buildah | Not affected | ||
| Red Hat Enterprise Linux 8 | buildah-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | conmon | Not affected | ||
| Red Hat Enterprise Linux 8 | podman | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-catatonit | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-docker | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-gvproxy | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-manpages | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-remote | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-tests | Not affected | ||
| Alpine Linux 3.24 | podman | Fixed | 5.8.3-r0 | ALPINE-CVE-2026-44517 |
| Go library | github.com/containers/buildah | Fixed | 1.43.2 | GHSA-49p4-px3h-rq49 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- containers buildah: affected: >= 1.38.1, < 1.43.2
References
- https://github.com/podman-container-tools/buildah/security/advisories/GHSA-49p4-px3h-rq49
- https://github.com/podman-container-tools/buildah/commit/54459cf8a0feb4b1da766e4a6360451834e1846c
- https://github.com/podman-container-tools/buildah/commit/fc2003bb2efeb3ed7d5c7e1e88d04e78f370a944
- https://github.com/podman-container-tools/buildah/releases/tag/v1.43.2
- https://github.com/podman-container-tools/buildah/releases/tag/v1.44.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.