{"answers":{"affected":"19 open source packages ship an affected version, including github.com/containers/podman, github.com/containers/libpod and github.com/containers/podman/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-57231 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-57231 is a high-severity vulnerability in podman-container-tools podman, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-57231 and fix it if it is affected.\n\nWhat it is: CVE-2026-57231 is a high-severity vulnerability in podman-container-tools podman, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-57231 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containers/podman (Go): affected all versions; no fix listed\n- github.com/containers/podman (Go): affected from 1.8.1; no fix listed\n- github.com/containers/podman (Go): affected from 1.8.1; no fix listed\n- github.com/containers/libpod (Go): affected from 1.8.1; no fix listed\n- github.com/containers/podman/v2 (Go): affected all versions; no fix listed\n- github.com/containers/podman/v2 (Go): affected all versions up to 2.2.1; no fix listed\n- github.com/containers/podman/v2 (Go): affected all versions up to 2.2.1; no fix listed\n- github.com/containers/podman/v3 (Go): affected all versions; no fix listed\n- github.com/containers/podman/v3 (Go): affected all versions up to 3.4.7; no fix listed\n- github.com/containers/podman/v3 (Go): affected all versions up to 3.4.7; no fix listed\n- github.com/containers/podman/v4 (Go): affected all versions; no fix listed\n- github.com/containers/podman/v4 (Go): affected all versions up to 4.9.5; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-57231/ (Markdown: https://insights.sbomify.com/CVE-2026-57231/index.md)","id":"CVE-2026-57231","markdown":"https://insights.sbomify.com/CVE-2026-57231/index.md","name":"CVE-2026-57231","record":{"aliases":["AZL-91448","BELL-CVE-2026-57231","CLSA-2026-1784074201","DEBIAN-CVE-2026-57231","GHSA-4hq8-gpf5-8p68","GO-2026-6594","MINI-jxmx-4w4q-hmjq","MINI-wmcq-375g-6f5f","MINI-wxqm-894x-2xjq","UBUNTU-CVE-2026-57231","openSUSE-SU-2026:11437-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Podman container tool","requires_auth":"none","summary":"A malicious container image can exfiltrate host environment variables into the container, exposing sensitive data to attackers.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"podman","vendor":"podman_project"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Podman: Malformed Image can trick podman run into leaking host environment variables into the container","id":"CVE-2026-57231","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":20,"n_references":2,"next":{"headline":"Contao: Server-Side Request Forgery (SSRF) via Unvalidated RSS Feed URL in Feed Reader Module","id":"CVE-2026-57232"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["1.8.1"],"last_affected":[],"package":"github.com/containers/libpod","purl":"pkg:golang/github.com/containers/libpod","source":"GO-2026-6594"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","source":"GO-2026-6594"},{"ecosystem":"Go","fixed":[],"introduced":["1.8.1"],"last_affected":[],"package":"github.com/containers/podman","purl":null,"source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":[],"introduced":["1.8.1"],"last_affected":[],"package":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v2","purl":"pkg:golang/github.com/containers/podman/v2","source":"GO-2026-6594"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.2.1"],"package":"github.com/containers/podman/v2","purl":null,"source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.2.1"],"package":"github.com/containers/podman/v2","purl":"pkg:golang/github.com/containers/podman/v2","source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v3","purl":"pkg:golang/github.com/containers/podman/v3","source":"GO-2026-6594"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.4.7"],"package":"github.com/containers/podman/v3","purl":null,"source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.4.7"],"package":"github.com/containers/podman/v3","purl":"pkg:golang/github.com/containers/podman/v3","source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GO-2026-6594"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["4.9.5"],"package":"github.com/containers/podman/v4","purl":null,"source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["4.9.5"],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":["5.8.4"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v5","purl":null,"source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":["5.8.4"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v5","purl":"pkg:golang/github.com/containers/podman/v5","source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":["5.8.4"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v5","purl":"pkg:golang/github.com/containers/podman/v5","source":"GO-2026-6594"},{"ecosystem":"Go","fixed":["6.0.0"],"introduced":["0"],"last_affected":[],"package":"go.podman.io/podman/v6","purl":null,"source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":["6.0.0"],"introduced":["0"],"last_affected":[],"package":"go.podman.io/podman/v6","purl":"pkg:golang/go.podman.io/podman/v6","source":"GHSA-4hq8-gpf5-8p68"},{"ecosystem":"Go","fixed":["6.0.0"],"introduced":["0"],"last_affected":[],"package":"go.podman.io/podman/v6","purl":"pkg:golang/go.podman.io/podman/v6","source":"GO-2026-6594"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["6.0.2-1.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/opensuse/podman\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11437-1"}],"prev":{"headline":"OpenReplay: Authenticated ClickHouse SQL injection via session search","id":"CVE-2026-57230"},"products":["podman"],"published":"2026-06-26","related":[{"cvss_score":7.5,"headline":"Use after free in podman","id":"CVE-2022-2738","kev_date_added":null,"published":"2022-09-01"},{"cvss_score":7.1,"headline":"Podman's incorrect handling of the supplementary groups may lead to data disclosure, modification","id":"CVE-2022-2989","kev_date_added":null,"published":"2022-09-13"},{"cvss_score":7,"headline":"Improper Authorization in github.com/containers/libpod","id":"CVE-2021-20188","kev_date_added":null,"published":"2021-02-11"},{"cvss_score":6.8,"headline":"Podman Time-of-check Time-of-use (TOCTOU) Race Condition","id":"CVE-2023-0778","kev_date_added":null,"published":"2023-03-27"},{"cvss_score":6.3,"headline":"Podman/Varlink API Privilege Escalation","id":"CVE-2019-25067","kev_date_added":null,"published":"2022-06-09"},{"cvss_score":5.9,"headline":"Podman Origin Validation Error","id":"CVE-2021-20199","kev_date_added":null,"published":"2021-02-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-27","vendors":["podman-container-tools"]},"summary":"A malicious container image can exfiltrate host environment variables into the container, exposing sensitive data to attackers.","url":"https://insights.sbomify.com/CVE-2026-57231/"}