Skip to main content

Podman CVE-2026-57231

| EUVDEUVD-2026-39807 HIGH
Information Exposure (CWE-200)
2026-06-26 GitHub_M GHSA-4hq8-gpf5-8p68
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious image with '*' env entry
  2. Delivery
    Victim pulls and runs image on vulnerable Podman
  3. Exploit
    Podman imports host session variables into container
  4. Execution
    Entrypoint reads leaked secrets from env
  5. Impact
    Exfiltrate credentials to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the victim to run an attacker-crafted OCI image whose config.Env contains a malformed entry - specifically a bare key with no '=' (e.g. 'HOST') or an asterisk ('*'/'HOST*') - on a vulnerable Podman build (1.8.1 to before 5.8.4/6.0.0). Exploitation only yields value if sensitive variables are actually present in the environment of the session launching the container; with a clean/empty session environment nothing useful is leaked. Limiting factors: the victim must choose to pull and run the malicious image (effective user interaction), and the image must come from an untrusted source, so default use of trusted first-party images is not exposed.

Impact

The published CVSS 3.1 base score is 7.5 (AV:N/AC:L/PR:N/UI:N/C:H/I:N/A:N), reflecting high confidentiality impact with no integrity/availability effect. However, the network/no-UI framing is debatable: real exploitation requires a victim to actually pull and run the attacker's malicious image, which is closer to user interaction (UI:R) and an attacker-controlled supply-chain element. No EPSS score was provided and the CVE is not in CISA KEV, so there is no evidence of active exploitation. The only exploit artifact is the regression test bundled with the patch, not a weaponized POC. Net assessment: a credible secret-exposure risk in environments that run untrusted images and keep secrets in the launching shell's environment, but lower real-world urgency than the 7.5 suggests because it depends on running a hostile image and on secrets being present in the session env. The CVSS vector implies no user interaction, but the description implies the victim must choose to run a malicious image - verify scope before prioritizing as remote-unauthenticated.

Exploit ScenarioDerived

An attacker publishes a container image whose config Env list includes an entry like 'HOST*' or '*'. A developer or CI pipeline that has secrets exported in its shell (e.g. REGISTRY_TOKEN, AWS_SECRET_ACCESS_KEY) runs the image with 'podman run'; Podman imports the host session variables into the container, where the image's entrypoint reads and exfiltrates them. The patch's own bats test demonstrates the leak by appending 'HOST*' to an image config, confirming feasibility, though no standalone weaponized POC is public.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 26, 2026

Information disclosure in Podman (1.8.1 through 5.8.3) lets a malicious OCI container image leak host environment variables into the container by embedding an image env entry with a key but no value; an asterisk (*) entry causes Podman to forward ALL host session variables. Because the launching session frequently holds secrets (registry credentials, API tokens, proxy auth), a crafted image run by a victim can harvest them. No public exploit is identified beyond the proof-of-concept test shipped with the fix, and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade Podman to 5.8.4 (5.x branch) or 6.0.0, which add ParseImageEnvs() validation that rejects image env entries lacking an '=' or with an empty key. See advisory GHSA-4hq8-gpf5-8p68 and commit 6c431b73dbf8e4b20b778644d7a80caebdb75050. Until patched, the most effective compensating control is to only run images from trusted sources and to inspect untrusted images first with 'podman image inspect <image> --format {{.Config.Env}}' to spot suspicious bare-key or '*' env entries before running them. As a strong mitigation, avoid placing secrets in the shell environment of the session that launches containers (use --secret, secret files, or explicit env files), so that even a leaking image obtains nothing sensitive; the trade-off is workflow changes for tooling that relies on inherited environment. Restrict who can run arbitrary images on shared hosts.

Affected VersionsENISA

podman 1.8.1, < 5.8.4

Affected Packages

go github.com/containers/libpod no fix
go github.com/containers/podman no fix
go github.com/containers/podman/v2 no fix
go github.com/containers/podman/v3 no fix
go github.com/containers/podman/v4 no fix
go github.com/containers/podman/v5 fix: 5.8.4
go go.podman.io/podman/v6 fix: 6.0.0
euvd podman_1_8_1 fix: 5.8.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 8 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Podman builds a container's environment by parsing the image config's Env array (inspectData.Config.Env). The flawed code used envLib.ParseSlice / a naive strings.Cut without validating that each entry contained an '=' and a non-empty key. A bare key like 'HOST' (no value) or '*' was mishandled so that Podman resolved the value from the host's own environment, effectively importing host variables into the container. This is a CWE-200 (Exposure of Sensitive Information) issue rooted in trusting attacker-controlled image metadata. The fix (commit 6c431b73) adds ParseImageEnvs(), which rejects any entry where hasValue is false or key is empty, returning 'invalid image env variable', and applies the same validation to the Kubernetes/play-kube path (kube.go).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Exploitation requires the victim to run an attacker-supplied image (UI:R); no privileges needed (PR:N), high confidentiality loss of session secrets, no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jun 26, 2026 - 18:02 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Podman versions 1.8.1 through 5.8.3 contain an information disclosure vulnerability allowing malicious OCI container images to steal sensitive host credentials-including registry tokens, API keys, and authentication credentials-from users who execute them. This directly impacts organizations running containerized workloads where developers or operators may execute untrusted or compromised images, creating a critical supply chain security risk. With no patch currently available and CVSS score of 7.5, immediate action is required to prevent credential compromise.

Business Impact: High
Compensating Controls

Restrict container image execution to approved, signed sources with mandatory pre-execution image scanning; implement container security policies to control environment variable passing; immediately rotate all secrets that may have been exposed; deploy centralized secret management systems that eliminate reliance on environment variables; monitor container execution logs for unauthorized image sources; perform security audit of all container runtime environments.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
Podman is a widely deployed container engine across RHEL/Fedora and CI environments
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Containers 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy