7.5High

CVE-2026-57231Podman: Malformed Image can trick podman run into leaking host environment variables into the container

podman-container-tools podman Published: (4 months ago)

Description

Podman is a tool for managing OCI containers and pods. From 1.8.1 until 5.8.4, a container image that contains a environment variable with just a key and no value can trick podman into passing that variable from the host into the container. This is made worse by the fact that using an asterisk (*) will cause podman to pass all host variables into the container. So essentially a malicious image can exfiltrate all podman environment variables that are set in the session from where the container is launched. This vulnerability is fixed in 5.8.4 and 6.0.0.

Weakness (CWE): CWE-200CWE-668

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
podman project podman 1.8.1 – < 5.8.4
podman-container-tools podman >= 1.8.1, < 5.8.4

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:podman_project:podman:*:*:*:*:*:*:*:* ≥ 1.8.1 < 5.8.4
  • cpe:2.3:a:podman_project:podman:6.0.0:rc1:*:*:*:*:*:*