CVE-2020-1726
podman: incorrectly allows existing files in volumes to be overwritten by a container when it is created
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 11, 2020
Updated · October 31, 2026
Description
A flaw was discovered in Podman where it incorrectly allows containers when created to overwrite existing files in volumes, even if they are mounted as read-only. When a user runs a malicious container or a container based on a malicious image with an attached volume that is used for the first time, it is possible to trigger the flaw and overwrite files in the volume.
Statement
Podman versions earlier than 1.6.0 are not affected. That includes the podman versions in OCP 4.2 and earlier.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
If a volume needs to be attached as read-only to an untrusted container or container image, first attach it to a trusted container. Using the volume for the first time will make the attack impossible for other containers that are going to use the volume.
CVSS / CWE
CVSS 3.1 · 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CWE-552 · Files or Directories Accessible to External Parties