CVE-2026-19730
MediumCVSS 4.2Exploitation Probability (EPSS)
Low risk5th percentile - higher than 5% of all known CVEs
Summary
The 'podman quadlet install --replace' command opens the existing Quadlet file without O_TRUNC, which on filesystems without reflink support (e.g., default XFS on RHEL) leads to incomplete overwriting. If the new Quadlet is shorter than the original, old data remains at the end of the file, and the command completes without warning.
Risk Assessment
The risk is that unwanted security options (e.g., AddCapability) or additional volume mounts may remain active after updating a Quadlet, potentially leading to unintended data exposure in containers or privilege escalation.
Recommendation
Immediately update Podman to a patched version and manually inspect Quadlet files after using 'install --replace' for unexpected content. Until patched, avoid this command or use a workaround by deleting the file before installation.
Other vulnerabilities in Podman
See all- CVE-2026-94603Critical
Podman from 4.4.0 until 5.8.8 and 6.1.3 treats an image carrying the io.podman.annotations.checkpoint.runtime.name annotation as a checkpoint and silently ignores user-supplied container creation restrictions such as --cap-drop=ALL. This allows image-controlled checkpoint state to select weaker sandbox settings and capabilities. Rootless containers are not affected because checkpoint and restore are unavailable in that mode. This issue is fixed in versions 5.8.8 and 6.1.3.
- CVE-2025-11395Medium
A flaw was found in Podman. If an attacker can pass a crafted tar archive to the `podman load` command, they can create files on the host machine with the privileges of the user running Podman.
- CVE-2026-57231High
Podman from version 1.8.1 to 5.8.4 contains a vulnerability where a container image with an environment variable consisting only of a key (no value) can trick Podman into passing that variable from the host into the container. Using an asterisk (*) as the key causes all host environment variables to be passed, allowing a malicious image to exfiltrate Podman environment variables from the session where the container is launched.
- CVE-2026-33414High
Podman versions 4.8.0 through 5.8.1 contain a command injection vulnerability in the HyperV backend, where the VM image path is inserted into a PowerShell string without sanitization, allowing arbitrary PowerShell commands to be executed with Podman process privileges (SYSTEM on Windows).
- CVE-2025-4953High
A flaw in Podman causes data written to `RUN --mount=type=bind` mounts during `podman build` to persist, making files created inside the container appear in the host's temporary build context directory.
- CVE-2025-9566High
A vulnerability in Podman allows an attacker to overwrite host files using the 'kube play' command when the kube file contains a Secret or ConfigMap volume mount with a symbolic link to a host file path. The attacker can control which file is overwritten but not the content written.
- CVE-2025-6032High
A flaw was found in Podman where the `podman machine init` command fails to verify the TLS certificate when downloading VM images from an OCI registry. This enables a Man-in-the-Middle (MITM) attack.
- CVE-2024-11218High
A vulnerability in `podman build` and `buildah` allows container breakout via a race condition with --jobs=2 when building a malicious Containerfile. Even with SELinux enabled, it allows enumeration of files and directories on the host.
Original NVD description (English source)
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).
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

