CVE-2026-79705
podman: buildah: buildah/copier: Directory escape via crafted tar symlinks when used outside Buildah by non-root callers
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 15, 2026
Updated · November 1, 2026
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.
Statement
This flaw allows a directory escape via crafted tar symlinks when a macOS Podman remote client performs podman cp against a malicious Podman system service server. Exploitation requires interaction with a malicious server and is not applicable to typical container deployments on Red Hat Enterprise Linux.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, users should ensure that podman cp operations are only performed against trusted Podman system service servers. Copying content from untrusted sources may expose the client to directory traversal vulnerabilities.
CVSS / CWE
CVSS 3.1 · 4.5CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory