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.

Severity (CVSS 3.1)4.2Medium
Exploit odds (30 days)0.1%top 97.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:10podman7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:9podman6:5.8.2-7.el9_8ALSA-2026:69961
AlmaLinux:10podman-docker7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:9podman-docker6:5.8.2-7.el9_8ALSA-2026:69961
AlmaLinux:9podman-plugins6:5.8.2-7.el9_8ALSA-2026:69961
AlmaLinux:10podman-remote7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:9podman-remote6:5.8.2-7.el9_8ALSA-2026:69961
AlmaLinux:10podman-tests7:5.8.2-9.el10_2.alma.1ALSA-2026:70201
AlmaLinux:9podman-tests6:5.8.2-7.el9_8ALSA-2026:69961
Alpine:v3.24podman5.8.6-r0ALPINE-CVE-2026-19730
Debian:14podman5.8.6+ds1-1DEBIAN-CVE-2026-19730
Gogithub.com/containers/podmanno fix listedGO-2026-6588
Gogithub.com/containers/podman/v2no fix listedGO-2026-6588
Gogithub.com/containers/podman/v3no fix listedGO-2026-6588
Gogithub.com/containers/podman/v4no fix listedGO-2026-6588
Gogithub.com/containers/podman/v55.8.6GHSA-fx76-2j3w-2mx6
Gogithub.com/containers/podman/v55.8.6GO-2026-6588
Rocky Linux:10podman7:5.8.2-9.el10_2RLSA-2026:70201
Rocky Linux:9podman6:5.8.2-7.el9_8RLSA-2026:69961
Ubuntu:26.04:LTSpodmanno fix listedUBUNTU-CVE-2026-19730
Ubuntu:26.10podmanno fix listedUBUNTU-CVE-2026-19730

Affected products (as reported)

Weakness: CWE-459 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

References