CVE-2026-57231

Podman: Malformed Image can trick podman run into leaking host environment variables into the container

Published Jun 26, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4hq8-gpf5-8p68 Podman: Malformed Image can trick podman run into leaking host environment variables into the container
History
Type Values Removed Values Added
First Time appeared Podman-container-tools
Podman-container-tools podman
Vendors & Products Podman-container-tools
Podman-container-tools podman
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Podman: Malformed Image can trick podman run into leaking host environment variables into the container
Weaknesses CWE-200
CWE-668
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 27, 2026, 2:41 AM
Reserved
Jun 24, 2026, 2:21 AM
Status
Analyzed
Published
Jun 26, 2026, 5:16 PM
Modified
Oct 25, 2026, 5:10 PM
Severity
Important
Public date
Jun 26, 2026, 4:29 PM