# CVE-2026-19730: Podman: podman: quadlet install --replace non-truncating write retains removed host-access directives

- Severity: Medium 4.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-13T17:53:37.029Z
- Modified: 2026-11-24T11:17:17.840Z
- Also known as: GHSA-fx76-2j3w-2mx6, GO-2026-6588
- Weaknesses: CWE-20, CWE-459
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## 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).

(As written by CVE List.)

## Affected

- podman: no versions given (not affected: from 7:5.8.2-9.el10_2 before *; from 6:5.8.5-5.el9_9 before *; from 6:5.8.2-7.el9_8 before *)
- ansible-automation-platform-24/eda-controller-rhel8: no versions given
- ansible-automation-platform-25/eda-controller-rhel8: no versions given
- ansible-automation-platform-26/eda-controller-rhel9: no versions given
- ansible-automation-platform-27/eda-controller-rhel9: no versions given
- container-tools:rhel8/podman: no versions given
- devspaces/udi-base-rhel10: no versions given
- devspaces/udi-base-rhel9: no versions given
- devspaces/udi-rhel9: no versions given
- container-native-virtualization/ocp-virt-validation-checkup-rhel9: no versions given
- quay/quay-builder-rhel8: no versions given
- quay/quay-builder-rhel9: no versions given
- github.com/containers/podman/v5 (Go): from 5.7.0 before 5.8.6
- github.com/containers/podman (Go): all versions
- github.com/containers/podman/v2 (Go): all versions
- github.com/containers/podman/v3 (Go): all versions
- github.com/containers/podman/v4 (Go): all versions

## Every score

- redhat: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://github.com/podman-container-tools/podman/issues/29013> (exploit, web)
- <https://access.redhat.com/errata/RHSA-2026:102296> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:69961> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:70201> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-19730> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2508234> (issue-tracking, web)
- <https://github.com/podman-container-tools/podman/security/advisories/GHSA-fx76-2j3w-2mx6> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-19730> (advisory)
- <https://github.com/podman-container-tools/podman/pull/27980> (web)
- <https://github.com/podman-container-tools/podman/commit/0ea4eaee70b7458bcc99d875529761faf5172651> (web)
- <https://github.com/podman-container-tools/podman/commit/a38a9b7d20915c55e6f3c451101ae72d6da33742> (web)
- <https://github.com/podman-container-tools/podman/commit/d3adfdeec7d5c9eee5a6978df3bee62a866c958d> (web)
- <https://github.com/podman-container-tools/podman/commit/d4fe9154ec6e32a02d5fcd096c4a27c38f2040f4> (web)
- <https://github.com/podman-container-tools/podman> (package)
- <https://github.com/podman-container-tools/podman/releases/tag/v5.8.6> (web)
- <https://github.com/podman-container-tools/podman/releases/tag/v6.0.0> (web)

## Sources

- CVE List: [CVE-2026-19730](https://www.cve.org/CVERecord?id=CVE-2026-19730), CVE Terms of Use, modified 2026-11-24
- GitHub Advisory Database: [GHSA-fx76-2j3w-2mx6](https://github.com/advisories/GHSA-fx76-2j3w-2mx6), CC-BY-4.0, modified 2026-10-01
- Go Vulnerability Database: [GO-2026-6588](https://pkg.go.dev/vuln/GO-2026-6588), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-19730](https://nvd.nist.gov/vuln/detail/CVE-2026-19730), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-19730 · Whole record: https://cve.day/CVE-2026-19730.json · Rebuilt by cve.day 2026-11-25T22:59:32.811Z
