CVE-2026-57231
HIGH 7.5CVSS 3.1Podman: Malformed Image can trick podman run into leaking host environment variables into the container
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
- 26 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-200
- Also known as
- GHSA-4hq8-gpf5-8p68GO-2026-6594
- Sources
- NVDJSONOSV GHSA-4hq8-gpf5-8p68JSONOSV GO-2026-6594JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | podman_project | podmancpe:2.3:a:podman_project:podman:*:*:*:*:*:*:*:* |
>= 1.8.1, < 5.8.4 | 5.8.4 |
| NVD | podman_project | podmancpe:2.3:a:podman_project:podman:6.0.0:rc1:*:*:*:*:*:* |
= 6.0.0 | |
| OSV | Go | github.com/containers/podman/v5 | < 5.8.4 | 5.8.4 |
| OSV | Go | go.podman.io/podman/v6 | < 6.0.0 | 6.0.0 |
| OSV | Go | github.com/containers/podman/v4 | <= 4.9.5 | |
| OSV | Go | github.com/containers/podman/v3 | <= 3.4.7 | |
| OSV | Go | github.com/containers/podman/v2 | <= 2.2.1 | |
| OSV | Go | github.com/containers/podman | >= 1.8.1 | |
| OSV | Go | github.com/containers/libpod | >= 1.8.1 | |
| OSV | Go | github.com/containers/podman | all versions | |
| OSV | Go | github.com/containers/podman/v2 | all versions | |
| OSV | Go | github.com/containers/podman/v3 | all versions | |
| OSV | Go | github.com/containers/podman/v4 | all versions |
References
- https://github.com/podman-container-tools/podman/commit/6c431b73dbf8e4b20b778644d7a80caebdb75050 · Patch, WEB
- https://github.com/podman-container-tools/podman/security/advisories/GHSA-4hq8-gpf5-8p68 · Patch, Third Party Advisory, WEB, ADVISORY
- 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
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 26 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Sep 2026)