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.
Published: 2026-06-26
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A malformed image that defines an environment variable with only a key (and no value) can cause the Podman runtime to copy that variable from the host into the container. If the variable name is an asterisk (*), Podman will copy every host environment variable into the container’s environment. This allows a malicious image to exfiltrate all environment variables that are set in the session where the container is launched, potentially exposing secrets such as API tokens, passwords, or other sensitive data. The weakness is a combination of CWE-200 (Information Exposure) and CWE-668 (Improper Access Control).

Affected Systems

The vulnerability affects the Podman container tool family from release 1.8.1 through 5.8.4. Versions 5.8.4 and 6.0.0 contain the fix. The affected product is Podman, as distributed by the Podman Container Tools organization.

Risk and Exploitability

The CVSS score of 7.5 reflects a high impact to confidentiality when the flaw is exploited. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a local attacker who controls the image registry or otherwise can supply images to the host; by crafting an image with a key-only or * environment variable, the attacker can cause Podman to leak host environment data into the container. The exploit requires no additional privileges beyond the ability to run podman with the malicious image.

Generated by OpenCVE AI on June 26, 2026 at 17:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Podman to v5.8.4 or newer, such as v6.0.0, to apply the fix.
  • Avoid pulling or running images from untrusted registries; validate image provenance before use.
  • Ensure that sensitive environment variables are unset or cleared in the host session prior to launching containers to prevent accidental leakage.

Generated by OpenCVE AI on June 26, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 27 Jun 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 26 Jun 2026 16:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-27T02:41:58.574Z

Reserved: 2026-06-24T02:21:33.811Z

Link: CVE-2026-57231

cve-icon Vulnrichment

Updated: 2026-06-27T02:41:54.221Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-26T17:30:05Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-668

    Exposure of Resource to Wrong Sphere