# CVE-2026-57231: Podman: Malformed Image can trick podman run into leaking host environment variables into the container

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 29% of CVEs (2026-11-30)
- Published: 2026-06-26T16:29:02.092Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-4hq8-gpf5-8p68, GO-2026-6594
- Weaknesses: CWE-200, CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- podman-container-tools podman: >= 1.8.1, < 5.8.4
- github.com/containers/podman/v5 (Go): before 5.8.4
- go.podman.io/podman/v6 (Go): before 6.0.0
- github.com/containers/podman/v4 (Go): up to 4.9.5; all versions
- github.com/containers/podman/v3 (Go): up to 3.4.7; all versions
- github.com/containers/podman/v2 (Go): up to 2.2.1; all versions
- github.com/containers/podman (Go): from 1.8.1; all versions
- github.com/containers/libpod (Go): from 1.8.1
- podman_project podman: from 1.8.1 before 5.8.4; 6.0.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/podman-container-tools/podman/security/advisories/GHSA-4hq8-gpf5-8p68> (advisory, patch, third-party-advisory, web)
- <https://github.com/podman-container-tools/podman/commit/6c431b73dbf8e4b20b778644d7a80caebdb75050> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-57231> (advisory)
- <https://github.com/podman-container-tools/podman> (package)
- <https://github.com/podman-container-tools/podman/releases/tag/v5.8.4> (web)
- <https://github.com/podman-container-tools/podman/releases/tag/v6.0.0> (web)

## Sources

- CVE List: [CVE-2026-57231](https://www.cve.org/CVERecord?id=CVE-2026-57231), CVE Terms of Use, modified 2026-06-27
- GitHub Advisory Database: [GHSA-4hq8-gpf5-8p68](https://github.com/advisories/GHSA-4hq8-gpf5-8p68), CC-BY-4.0, modified 2026-10-01
- Go Vulnerability Database: [GO-2026-6594](https://pkg.go.dev/vuln/GO-2026-6594), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-57231](https://nvd.nist.gov/vuln/detail/CVE-2026-57231), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-57231 · Whole record: https://cve.day/CVE-2026-57231.json · Rebuilt by cve.day 2026-11-25T22:59:26.504Z
