CVEfocus › CVE database › CVE-2026-19730

CVE-2026-19730Podman: podman: quadlet install --replace non-truncating write retains removed…

CVSS 4.2 MediumEPSS 0.1% (higher than 1% of CVEs)Published 2026-08-13Updated 2026-11-24Assigner: redhat

The 'podman quadlet install --replace' command opens the existing destination file with O_CREATE|O_WRONLY but omits O_TRUNC. When the initial reflink copy attempt fails (common on non-reflink-capable filesystems including many RHEL default XFS configurations), the fallback in ReflinkOrCopy uses io.Copy which performs a non-truncating write. If the original Quadlet is larger than the new Quadlet, the file is not truncated and content from the original is preserved. The command completes with no warning. There is no risk of information leakage as the user already had access to the Quadlet in order to replace it, and in most cases, this would only lead to invalid Quadlet files. However, security-related options from the end of the old Quadlet could be included in the new Quadlet, and if the truncation resulted in a valid Quadlet file, this could result in undesirable behavior. For example, running podman quadlet install --replace to remove a single line from the end of a Quadlet - including security-sensitive content, like AddCapability - will fail, and the option will continue to be used. Further, with Volume Quadlets, this can include additional mounts which can cause content to be unintentionally exposed into containers. If, later, the image is updated then compromised content might be leaked to an attacker. The vulnerable code paths are in pkg/domain/infra/abi/quadlet.go (lines 338-360, O_CREATE|O_WRONLY without O_TRUNC) and vendor/go.podman.io/storage/pkg/fileutils/reflink_linux.go (lines 12-19, non-truncating io.Copy fallback).

CWE-459

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Go, 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

24Fixed
5Fix pending
1Under investigation
8Not affected

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.10podmanFix pendingUBUNTU-CVE-2026-19730
Ubuntu 26.04podmanUnder investigationUBUNTU-CVE-2026-19730
Debian 14podmanFixed5.8.6+ds1-1DEBIAN-CVE-2026-19730
Red Hat Enterprise Linux 10podmanFixed7:5.8.2-9.el10_2RHSA-2026:70201
Red Hat Enterprise Linux 10podman-dockerFixed7:5.8.2-9.el10_2RHSA-2026:70201
Red Hat Enterprise Linux 10podman-remoteFixed7:5.8.2-9.el10_2RHSA-2026:70201
Red Hat Enterprise Linux 10podman-testsFixed7:5.8.2-9.el10_2RHSA-2026:70201
Red Hat Enterprise Linux 9podmanFixed6:5.8.5-5.el9_9RHSA-2026:69961
Red Hat Enterprise Linux 9podman-dockerFixed6:5.8.2-7.el9_8RHSA-2026:102296
Red Hat Enterprise Linux 9podman-pluginsFixed6:5.8.2-7.el9_8RHSA-2026:102296
Red Hat Enterprise Linux 9podman-remoteFixed6:5.8.5-5.el9_9RHSA-2026:69961
Red Hat Enterprise Linux 9podman-testsFixed6:5.8.5-5.el9_9RHSA-2026:69961
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
AlmaLinux 10podman-dockerFixed7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux 9podmanFixed6:5.8.2-7.el9_8ALSA-2026:102296
AlmaLinux 9podman-dockerFixed6:5.8.5-5.el9_9ALSA-2026:69961
AlmaLinux 9podman-pluginsFixed6:5.8.2-7.el9_8ALSA-2026:102296
AlmaLinux 9podman-remoteFixed6:5.8.2-7.el9_8ALSA-2026:102296
AlmaLinux 9podman-testsFixed6:5.8.2-7.el9_8ALSA-2026:102296
Rocky Linux 10podmanFixed7:5.8.2-9.el10_2RLSA-2026:70201
Rocky Linux 9podmanFixed6:5.8.2-7.el9_8RLSA-2026:102296
Rocky Linux 9podman-dockerFixed6:5.8.5-5.el9_9RLSA-2026:102296
Rocky Linux 9podman-pluginsFixed6:5.8.5-5.el9_9RLSA-2026:102296
Rocky Linux 9podman-remoteFixed6:5.8.5-5.el9_9RLSA-2026:102296
Rocky Linux 9podman-testsFixed6:5.8.5-5.el9_9RLSA-2026:102296
Alpine Linux 3.24podmanFixed5.8.6-r0ALPINE-CVE-2026-19730
Go librarygithub.com/containers/podmanFix pendingGO-2026-6588
Go librarygithub.com/containers/podman/v2Fix pendingGO-2026-6588
Go librarygithub.com/containers/podman/v3Fix pendingGO-2026-6588
Go librarygithub.com/containers/podman/v4Fix pendingGO-2026-6588
Go librarygithub.com/containers/podman/v5Fixed5.8.6GO-2026-6588

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.

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.