In short
- CVE-2026-44517 is a MEDIUM (CVSS 6.3) vulnerability affecting github.com/containers/buildah.
- Chance of exploitation in the next 30 days (EPSS): 0.18%, higher than 8.0% of all vulnerabilities.
- Fix: update to 1.43.2 or later.
Description
Impact
When processing a build contexts or add/copy instructions, a malicious server serving a Git repository or a tar archive file can cause files outside of the build context directory to be included in the build context or copied into the build.
Patches
Fixed in Buildah 1.44 and 1.43.2.
NVD 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.
More vulnerabilities in github.com/containers/buildah
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free