{"id":"CVE-2026-57231","published":"2026-06-26T16:29:02Z","modified":"2026-06-27T02:41:58Z","title":"Podman: Malformed Image can trick podman run into leaking host environment variables into the container","vendor":"podman-container-tools","product":"podman","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00437,"percentile":0.38833,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://github.com/podman-container-tools/podman/security/advisories/GHSA-4hq8-gpf5-8p68","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/podman-container-tools/podman/commit/6c431b73dbf8e4b20b778644d7a80caebdb75050","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":7.77},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"podman-container-tools","affectedVersions":[{"vendor":"podman-container-tools","product":"podman","versions":[">= 1.8.1, < 5.8.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-27T02:41:47.348825Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/containers/podman/v5","vulnerableRanges":["<5.8.4"],"patched":["5.8.4"],"from":["GHSA-4hq8-gpf5-8p68","GO-2026-6594"],"provenance":"source"},{"ecosystem":"Go","package":"go.podman.io/podman/v6","vulnerableRanges":["<6.0.0"],"patched":["6.0.0"],"from":["GHSA-4hq8-gpf5-8p68","GO-2026-6594"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v4","vulnerableRanges":["<=4.9.5","all versions"],"patched":[],"from":["GHSA-4hq8-gpf5-8p68","GO-2026-6594"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v3","vulnerableRanges":["<=3.4.7","all versions"],"patched":[],"from":["GHSA-4hq8-gpf5-8p68","GO-2026-6594"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v2","vulnerableRanges":["<=2.2.1","all versions"],"patched":[],"from":["GHSA-4hq8-gpf5-8p68","GO-2026-6594"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman","vulnerableRanges":[">=1.8.1, <5.8.4","all versions"],"patched":[],"from":["GHSA-4hq8-gpf5-8p68","GO-2026-6594"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/libpod","vulnerableRanges":[">=1.8.1"],"patched":[],"from":["GO-2026-6594"],"provenance":"source"}],"summary":{"text":"Podman, the OCI container management tool, can be tricked into passing host environment variables into a container when the image contains an environment variable defined with a key but no value, and this behaviour affects versions from 1.8.1 up to 5.8.4. An attacker who can supply a malicious container image needs no privileges and no user interaction beyond running that image, and the flaw can expose all session environment variables from the host, or be leaked selectively when a wildcard is used.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:34Z"},"euvd":{"id":"EUVD-2026-39807","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-10152","published":"2019-07-30","fixed":"1.4.0","kev":false},{"cve":"CVE-2020-1726","published":"2020-02-11","fixed":"2.0.6","kev":false},{"cve":"CVE-2024-9407","published":"2024-10-01","fixed":"5.2.4","kev":false,"link":{"from":"CVE-2024-9407","to":"CVE-2026-57231","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/containers/podman","fromFixed":"5.2.4","toFixed":"5.8.4","daysApart":633}]}},{"cve":"CVE-2026-57231","published":"2026-06-26","fixed":"5.8.4","kev":false}],"package":"Go:github.com/containers/podman"}}