Vulnerability · Published Aug 13, 2026 · Assigned by redhat
CVE-2026-19730Podman: podman: quadlet install --replace non-truncating write retains removed host-access directives
Medium 4.2
In plain English
A medium-severity security flaw in Red Hat Ansible Automation Platform 2 from Red Hat. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | podman | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:70201 |
| AlmaLinux:9 | podman | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| AlmaLinux:10 | podman-docker | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:70201 |
| AlmaLinux:9 | podman-docker | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| AlmaLinux:9 | podman-plugins | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| AlmaLinux:10 | podman-remote | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:70201 |
| AlmaLinux:9 | podman-remote | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| AlmaLinux:10 | podman-tests | 7:5.8.2-9.el10_2.alma.1 | ALSA-2026:70201 |
| AlmaLinux:9 | podman-tests | 6:5.8.2-7.el9_8 | ALSA-2026:69961 |
| Alpine:v3.24 | podman | 5.8.6-r0 | ALPINE-CVE-2026-19730 |
| Debian:14 | podman | 5.8.6+ds1-1 | DEBIAN-CVE-2026-19730 |
| Go | github.com/containers/podman | no fix listed | GO-2026-6588 |
| Go | github.com/containers/podman/v2 | no fix listed | GO-2026-6588 |
| Go | github.com/containers/podman/v3 | no fix listed | GO-2026-6588 |
| Go | github.com/containers/podman/v4 | no fix listed | GO-2026-6588 |
| Go | github.com/containers/podman/v5 | 5.8.6 | GHSA-fx76-2j3w-2mx6 |
| Go | github.com/containers/podman/v5 | 5.8.6 | GO-2026-6588 |
| Rocky Linux:10 | podman | 7:5.8.2-9.el10_2 | RLSA-2026:70201 |
| Rocky Linux:9 | podman | 6:5.8.2-7.el9_8 | RLSA-2026:69961 |
| Ubuntu:26.04:LTS | podman | no fix listed | UBUNTU-CVE-2026-19730 |
| Ubuntu:26.10 | podman | no fix listed | UBUNTU-CVE-2026-19730 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Ansible Automation Platform 2 | see references |
| Red Hat | Red Hat Ansible Automation Platform 2 | see references |
| Red Hat | Red Hat Ansible Automation Platform 2 | see references |
| Red Hat | Red Hat Ansible Automation Platform 2 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Hardened Images | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 5 | see references |
| Red Hat | Red Hat OpenShift Dev Spaces | see references |
| Red Hat | Red Hat OpenShift Dev Spaces | see references |
| Red Hat | Red Hat OpenShift Dev Spaces | see references |
| Red Hat | Red Hat OpenShift Virtualization 4 | see references |
| Red Hat | Red Hat Quay 3 | see references |
| Red Hat | Red Hat Quay 3 | see references |
Weakness: CWE-459 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
References
- RHSA-2026:69961 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:70201 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-19730 vdb-entry, x_refsource_REDHAT
- RHBZ#2508234 issue-tracking, x_refsource_REDHAT
- https://github.com/podman-container-tools/podman/issues/29013
- https://github.com/podman-container-tools/podman/security/advisories/GHSA-fx76-2j3w-2mx6