CVE-2026-79705

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

Published Sep 15, 2026 CVSS 3.1 · 4.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Red Hat red Hat Quay 3
Redhat hardened Images
Redhat openshift Container Platform
Redhat openshift Dev Spaces
Redhat openshift Virtualization
Redhat quay 3
Redhat red Hat Quay 3
Vendors & Products Red Hat
Red Hat enterprise Linux
Red Hat red Hat Quay 3
Redhat hardened Images
Redhat openshift Container Platform
Redhat openshift Dev Spaces
Redhat openshift Virtualization
Redhat quay 3
Redhat red Hat Quay 3
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Podman: buildah: buildah/copier: directory escape via crafted tar symlinks when used outside buildah by non-root callers
First Time appeared Redhat
Redhat ansible Automation Platform
Redhat container Native Virtualization
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Redhat openshift Devspaces
Redhat quay
Weaknesses CWE-22
CPEs cpe:/a:redhat:ansible_automation_platform:2
cpe:/a:redhat:container_native_virtualization:4
cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift_devspaces:3
cpe:/a:redhat:quay:3
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat ansible Automation Platform
Redhat container Native Virtualization
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Redhat openshift Devspaces
Redhat quay
References
Metrics cvssV3_1

{'score': 4.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N'}