CVEfocus › CVE database › CVE-2026-79705

CVE-2026-79705Podman: buildah: buildah/copier: directory escape via crafted tar symlinks when used…

CVSS 4.5 MediumEPSS 0.4% (higher than 36% of CVEs)Published 2026-09-15Updated 2026-11-24Assigner: redhat

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.

CWE-22

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
33Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-github-containers-buildahFix pendingUBUNTU-CVE-2026-79705
Ubuntu 26.04golang-github-containers-buildahFix pendingUBUNTU-CVE-2026-79705
Ubuntu 24.04golang-github-containers-buildahFix pendingUBUNTU-CVE-2026-79705
Ubuntu 22.04golang-github-containers-buildahUnder investigationUBUNTU-CVE-2026-79705
Debian 14golang-github-containers-buildahFix pendingDEBIAN-CVE-2026-79705
Debian 13golang-github-containers-buildahFix pendingDEBIAN-CVE-2026-79705
Debian 12golang-github-containers-buildahFix pendingDEBIAN-CVE-2026-79705
Red Hat Enterprise Linux 10buildahFix pending
Fix deferred
Red Hat Enterprise Linux 10buildah-testsFix pending
Fix deferred
Red Hat Enterprise Linux 10podmanFix pending
Fix deferred
Red Hat Enterprise Linux 10podman-dockerFix pending
Fix deferred
Red Hat Enterprise Linux 10podman-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 10podman-testsFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-podmanFix pending
Fix deferred
Red Hat Enterprise Linux 9buildahFix pending
Fix deferred
Red Hat Enterprise Linux 9buildah-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9podmanFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-catatonitFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-dockerFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-gvproxyFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-pluginsFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 9podman-testsFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-podmanFix pending
Fix deferred
Red Hat Enterprise Linux 8buildahFix pending
Fix deferred
Red Hat Enterprise Linux 8buildah-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8podmanFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-catatonitFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-dockerFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-gvproxyFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-manpagesFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-pluginsFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-remoteFix pending
Fix deferred
Red Hat Enterprise Linux 8podman-testsFix pending
Fix deferred
Alpine Linux 3.24podmanFixed5.8.8-r0ALPINE-CVE-2026-79705

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.