CVE-2026-19730
Podman: podman: quadlet install --replace non-truncating write retains removed host-access directives
Also known as GHSA-fx76-2j3w-2mx6, GO-2026-6588
Mitigation
- Upgrade github.com/containers/podman/v5 to 5.8.6 or later.
Who should check
- Projects that depend on Go package github.com/containers/podman/v5 (>= 5.7.0, < 5.8.6)
- Projects that depend on Go package github.com/containers/podman
- Projects that depend on Go package github.com/containers/podman/v2
- Projects that depend on Go package github.com/containers/podman/v3
- Projects that depend on Go package github.com/containers/podman/v4
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
- Anyone running Red Hat Ansible Automation Platform 2 (versions: see the vendor advisory)
Vulnerability facts
- Affected
- github.com/containers/podman/v5 >= 5.7.0, < 5.8.6; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3; github.com/containers/podman/v4
- Fixed in
- 5.8.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.2 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-459
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/containers/podman/v5 | >= 5.7.0, < 5.8.6 | 5.8.6 | osv |
| Go github.com/containers/podman | — | — | osv |
| Go github.com/containers/podman/v2 | — | — | osv |
| Go github.com/containers/podman/v3 | — | — | osv |
| Go github.com/containers/podman/v4 | — | — | osv |
| Red Hat Enterprise Linux 10 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | all versions | — | cvelist |
| Red Hat Ansible Automation Platform 2 | — | — | cvelist |
| Red Hat Ansible Automation Platform 2 | — | — | cvelist |
| Red Hat Ansible Automation Platform 2 | — | — | cvelist |
| Red Hat Ansible Automation Platform 2 | — | — | cvelist |
| Red Hat Enterprise Linux 8 | — | — | cvelist |
| Red Hat Hardened Images | — | — | cvelist |
| Red Hat OpenShift Container Platform 4 | — | — | cvelist |
| Red Hat OpenShift Container Platform 5 | — | — | cvelist |
| Red Hat OpenShift Dev Spaces | — | — | cvelist |
| Red Hat OpenShift Dev Spaces | — | — | cvelist |
| Red Hat OpenShift Dev Spaces | — | — | cvelist |
| Red Hat OpenShift Virtualization 4 | — | — | cvelist |
| Red Hat Quay 3 | — | — | cvelist |
| Red Hat Quay 3 | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-19730. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-19730.md Affected: github.com/containers/podman/v5 >= 5.7.0, < 5.8.6; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3; github.com/containers/podman/v4 Fixed in: 5.8.6 Steps: 1. Search this machine and project for github.com/containers/podman/v5 (Go), github.com/containers/podman (Go), github.com/containers/podman/v2 (Go), github.com/containers/podman/v3 (Go), github.com/containers/podman/v4 (Go), Red Hat Enterprise Linux 10: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/podman-container-tools/podman/pull/27980
- https://github.com/podman-container-tools/podman/commit/0ea4eaee70b7458bcc99d875529761faf5172651
- https://github.com/podman-container-tools/podman/commit/a38a9b7d20915c55e6f3c451101ae72d6da33742
- https://github.com/podman-container-tools/podman/commit/d3adfdeec7d5c9eee5a6978df3bee62a866c958d
- https://github.com/podman-container-tools/podman/commit/d4fe9154ec6e32a02d5fcd096c4a27c38f2040f4
Exploits and PoCs
FAQ
Is CVE-2026-19730 being exploited?
There is no confirmed exploitation: CVE-2026-19730 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-19730?
Medium: CVSS 4.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-19730?
github.com/containers/podman/v5 >= 5.7.0, < 5.8.6; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3; github.com/containers/podman/v4.
Is there a fix for CVE-2026-19730?
Yes. Fixed in 5.8.6. Upgrade github.com/containers/podman/v5 to 5.8.6 or later.
How do I check if I'm affected by CVE-2026-19730?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.