CVE-2026-57231
Podman: Malformed Image can trick podman run into leaking host environment variables into the container
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/containers/podman/v5 | < 5.8.4 | 5.8.4 |
| go | go.podman.io/podman/v6 | < 6.0.0 | 6.0.0 |
| go | github.com/containers/podman/v4 | <= 4.9.5 | nicht erfasst |
| go | github.com/containers/podman/v3 | <= 3.4.7 | nicht erfasst |
| go | github.com/containers/podman/v2 | <= 2.2.1 | nicht erfasst |
| go | github.com/containers/podman | >= 1.8.1, < 5.8.4 | nicht erfasst |
Betroffene Produkte · Podman Project
| Produkt | Betroffene Versionen |
|---|---|
| Podman | ab 1.8.1 vor 5.8.4 Version 6.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-4hq8-gpf5-8p68
- https://github.com/podman-container-tools/podman/security/advisories/GHSA-4hq8-gpf5-8p68
- https://nvd.nist.gov/vuln/detail/CVE-2026-57231
- https://github.com/podman-container-tools/podman/commit/6c431b73dbf8e4b20b778644d7a80caebdb75050
- https://github.com/podman-container-tools/podman/releases/tag/v5.8.4
- https://github.com/podman-container-tools/podman/releases/tag/v6.0.0