{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-57231","id":"CVE-2026-57231","title":"Podman: Malformed Image can trick podman run into leaking host environment variables into the container","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","descriptionLong":"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-26T16:29:02.092Z","updated":"2026-10-28T02:30:24.319537730Z","reserved":"2026-06-24T02:21:33.811Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["podman-container-tools podman"],"affectedProducts":[{"vendor":"podman-container-tools","product":"podman","defaultStatus":null,"versions":[{"version":">= 1.8.1, < 5.8.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/containers/podman/v5","purl":"pkg:golang/github.com/containers/podman/v5","ranges":["<5.8.4"],"fixed":["5.8.4"],"advisory":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","name":"go.podman.io/podman/v6","purl":"pkg:golang/go.podman.io/podman/v6","ranges":["<6.0.0"],"fixed":["6.0.0"],"advisory":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","name":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","ranges":["<=4.9.5","all versions"],"fixed":[],"advisory":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","name":"github.com/containers/podman/v3","purl":"pkg:golang/github.com/containers/podman/v3","ranges":["<=3.4.7","all versions"],"fixed":[],"advisory":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","name":"github.com/containers/podman/v2","purl":"pkg:golang/github.com/containers/podman/v2","ranges":["<=2.2.1","all versions"],"fixed":[],"advisory":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","name":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","ranges":[">=1.8.1","all versions"],"fixed":[],"advisory":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","name":"github.com/containers/libpod","purl":"pkg:golang/github.com/containers/libpod","ranges":[">=1.8.1"],"fixed":[],"advisory":"GO-2026-6594"}],"cwes":["CWE-200","CWE-668"],"aliases":["GHSA-4hq8-gpf5-8p68","GO-2026-6594"],"references":[{"url":"https://github.com/podman-container-tools/podman/security/advisories/GHSA-4hq8-gpf5-8p68","tags":["x_refsource_CONFIRM","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/podman-container-tools/podman/commit/6c431b73dbf8e4b20b778644d7a80caebdb75050","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57231.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57231","tags":["advisory"]},{"url":"https://github.com/podman-container-tools/podman","tags":["package"]},{"url":"https://github.com/podman-container-tools/podman/releases/tag/v5.8.4","tags":["web"]},{"url":"https://github.com/podman-container-tools/podman/releases/tag/v6.0.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00437,"epssPercentile":0.38704,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-57231","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57231","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-57231","ok":true,"note":"7 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4hq8-gpf5-8p68","ok":true,"note":"GHSA-4hq8-gpf5-8p68"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-57231","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}