CVE-2026-44517

NameCVE-2026-44517
DescriptionBuildah 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1140619

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-containers-buildah (PTS)bullseye1.19.6+dfsg1-1fixed
bookworm1.28.2+ds1-3+deb12u1fixed
trixie1.39.3+ds1-1vulnerable
forky, sid1.43.2+ds1-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-containers-buildahsourcebullseye(not affected)
golang-github-containers-buildahsourcebookworm(not affected)
golang-github-containers-buildahsource(unstable)1.43.2+ds1-11140619

Notes

[trixie] - golang-github-containers-buildah <no-dsa> (Minor issue)
[bookworm] - golang-github-containers-buildah <not-affected> (Vulnerable build-context URL refactor introduced in 1.38.1; 1.28.2 predates it)
[bullseye] - golang-github-containers-buildah <not-affected> (Vulnerable build-context URL refactor introduced in 1.38.1; 1.19.6 predates it)
https://github.com/podman-container-tools/buildah/security/advisories/GHSA-49p4-px3h-rq49
Fixed by: https://github.com/podman-container-tools/buildah/security/advisories/GHSA-49p4-px3h-rq49 (v1.43.2)

Search for package or bug name: Reporting problems