4.5Medium

CVE-2026-79705Podman: buildah: buildah/copier: directory escape via crafted tar symlinks when used outside buildah by non-root callers

Red Hat Red Hat Hardened Images; Red Hat Red Hat Ansible Automation Platform 2; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 8 Published: (2 months ago)

Description

A flaw was found in the buildah/copier Go package. When used outside of Buildah by a non-root caller, a crafted tar archive containing malicious symlinks can escape the target extraction directory and create files outside the intended destination. Buildah itself uses chroot hardening and is not affected.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Red Hat Red Hat Ansible Automation Platform 2 all versions
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Hardened Images all versions
Red Hat Red Hat OpenShift Container Platform 4 all versions
Red Hat Red Hat OpenShift Container Platform 5 all versions
Red Hat Red Hat OpenShift Dev Spaces all versions
Red Hat Red Hat OpenShift Virtualization 4 all versions
Red Hat Red Hat Quay 3 all versions

References and patches