Podman: buildah: buildah/copier: directory escape via crafted tar symlinks when used outside buildah by non-root callers (Red Hat Red Hat Hardened Images)

CVE-2026-79705
MEDIUM 4.5

At a glance

Source
NVD
EPSS
EPSS 0.41 % · percentile 35 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-22 — Improper Limitation of a Pathname to a Restricted Directory

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.5CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:Nredhat
CVSS 3.1MEDIUM 4.5CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:NNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
Red Hat · Red Hat Hardened Imagesunaffected 6.1.3-1.hum1 < *
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat Enterprise Linux 9

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD