CVE-2026-19730
CVE-2026-19730 · Podman: podman: quadlet install --replace non-truncating write retains removed host-access directives
CVSS 4.2 · Medium · EPSS 0.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- red hat enterprise linux 10No fix published
- red hat enterprise linux 9No fix published
- red hat ansible automation platform 2No fix published
- red hat enterprise linux 8No fix published
- and 10 more
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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).
- Published
- Updated
Fixes in distributions
- RLSA-2026:70201 · Rocky Linux 10 ·
- RLSA-2026:69961 · Rocky Linux 9 ·
- ALSA-2026:69961 · AlmaLinux 9 ·
- ALSA-2026:70201 · AlmaLinux 10 ·
Stack: system
Affected products and versions
red hat enterprise linux 10
- Versions
- ≥ 7:5.8.2-9.el10_2: Not affected (rpm)
No fix published
red hat enterprise linux 9
- Versions
- ≥ 6:5.8.2-7.el9_8: Not affected (rpm)
No fix published
red hat ansible automation platform 2
No fix published
red hat enterprise linux 8
No fix published
red hat hardened images
No fix published
red hat openshift container platform 4
No fix published
red hat openshift container platform 5
No fix published
red hat openshift dev spaces
No fix published
red hat openshift virtualization 4
No fix published
red hat quay 3
No fix published
podman Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 5.8.6-r0
Update to 5.8.6-r0
podman Debian 14
- Versions
- 5.4.2+ds1-2
- 5.6.1+ds1-1
- 5.6.1+ds1-2
- 5.6.1+ds2-2
- 5.6.1+ds2-3
- 5.6.2+ds1-1
All versions (23)
- 5.6.2+ds1-2
- 5.6.2+ds1-3
- 5.6.2+ds1-3+exp1
- 5.6.2+ds1-4
- 5.7.0+ds2-1
- 5.7.0+ds2-2
- 5.7.0+ds2-3
- 5.8.0+ds1-1
- 5.8.1+ds1-1
- 5.8.1+ds1-2
- 5.8.1+ds1-3
- 5.8.2+ds1-1
- 5.8.2+ds1-2
- 5.8.2+ds1-3
- 5.8.3+ds1-1
- 5.8.4+ds1-1
- 5.8.4+ds1-2
- Affected ranges
- ECOSYSTEM: < 5.8.6+ds1-1
Update to 5.8.6+ds1-1
podman Ubuntu 26.10
- Versions
- 5.7.0+ds2-3build1
- 5.8.3+ds1-1
- 5.8.4+ds1-1
- 5.8.6+ds1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
podman Ubuntu 26.04 LTS
- Versions
- 5.4.2+ds1-2
- 5.7.0+ds2-3
- 5.7.0+ds2-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://access.redhat.com/errata/RHSA-2026:69961
- https://access.redhat.com/errata/RHSA-2026:70201
- https://access.redhat.com/security/cve/CVE-2026-19730
- https://bugzilla.redhat.com/show_bug.cgi?id=2508234
- https://github.com/podman-container-tools/podman/issues/29013
- https://github.com/podman-container-tools/podman/security/advisories/GHSA-fx76-2j3w-2mx6
- https://nvd.nist.gov/vuln/detail/CVE-2026-19730