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.

Analysis

AI-generated

Technical impact

A flaw was discovered in the buildah/copier Go package that allows a crafted tar extraction when the command is executed by a non‑root caller outside the Buildah environment. This directory traversal vulnerability can lead to arbitrary file creation or modification, potentially compromising data integrity or exposing sensitive files. Buildah itself is not affected because it employs chroot hardening, but the vulnerability is present whenever the copier is invoked directly by users with ordinary privileges.

Affected Systems

Red Hat products are impacted, including Red Hat Ansible Automation Platform 2, Red Hel…

Risk and Exploitability

The CVSS score of 4.5 indicates medium severity, while the EPSS score of < 1% indicates a very low probability of exploitation, suggesting that widespread exploitation is not documented at this time. The vulnerability is listed as not in the CISA KEV catalog. An attacker would need access to a non‑root process that can execute the podman cp command with a malicious tar archive; the attack vector is local to the system unless the attacker can supply the archive to the podman service or user. The workaround recommends using podman cp only against trusted servers, but the preferred remediation is to apply vendor patches that address the copier component.

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.


OpenCVE Recommended Actions

  • Apply the latest Red Hat updates that contain the fix for the buildah/copier component on all affected platforms (e.g., Ansible Automation Platform 2, OpenShift Container Platform 4, Quay 3, and the Enterprise Linux 8‑10 releases).
  • Restrict podman cp operations so they only target trusted Podman system service servers; avoid running podman cp from untrusted sources or under non‑root users.
  • If a patch is not immediately available, do not use podman cp with arbitrary tar archives on untrusted systems; instead, limit the operation to trusted files or switch to a root‑privileged or secure Buildah deployment that performs chroot hardening.

Generated by OpenCVE AI on September 20, 2026 at 15:43 UTC.

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'}