Skip to main content
← All vulnerabilities
CVE-2026-57231GO-2026-6594GHSA-4HQ8-GPF5-8P68

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.8.4, 6.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • podman-container-tools podman

    From 1.8.1 · fixed in 5.8.4

  • github.com/containers/libpodGo

    From 1.8.1

  • github.com/containers/podmanGo

    All versions

  • github.com/containers/podman/v2Go

    All versions

  • github.com/containers/podman/v3Go

    All versions

  • github.com/containers/podman/v4Go

    All versions

  • github.com/containers/podman/v5Go

    fixed in 5.8.4

  • go.podman.io/podman/v6Go

    fixed in 6.0.0

  • github.com/containers/podman/v4Go

    through 4.9.5

  • github.com/containers/podman/v3Go

    through 3.4.7

  • github.com/containers/podman/v2Go

    through 2.2.1

  • github.com/containers/podmanGo

    From 1.8.1

References 2

GitHub · podman-container-tools/podman