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).
CVSS Details
- CVSS 3.1 Base Score: 4.2
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade podman-remoteUpgrade podman-pluginsUpgrade podman-dockerUpgrade podmanUpgrade podman-tests | Oct 11, 2026 | Sep 22, 2026 |
| Alpine Linux | — | Upgrade podman | Aug 19, 2026 | Aug 13, 2026 |
| Freebsd | — | Upgrade podman | Aug 19, 2026 | Aug 18, 2026 |
| Oracle_linux | — | Upgrade podman-pluginsUpgrade podman-remoteUpgrade podman-dockerUpgrade podman-testsUpgrade podman | Oct 22, 2026 | Aug 13, 2026 |
| Redhat_linux | — | Upgrade podman-remoteUpgrade podman-pluginsUpgrade podman-plugins-debuginfoUpgrade podman-debugsourceUpgrade podmanUpgrade podman-tests-debuginfoUpgrade podman-testsUpgrade podman-dockerUpgrade podman-debuginfoUpgrade podman-remote-debuginfo | Aug 17, 2026 | Aug 10, 2026 |
| Rocky_linux | — | Upgrade podman-testsUpgrade podman-debugsourceUpgrade podman-pluginsUpgrade podman-tests-debuginfoUpgrade podman-remoteUpgrade podman-debuginfoUpgrade podmanUpgrade podman-remote-debuginfoUpgrade podman-plugins-debuginfo | Sep 28, 2026 | Sep 23, 2026 |
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub