CVE-2025-9566
Podman: podman kube play command may overwrite host files
Also known as GHSA-wp3j-xq48-xpjw, GO-2025-3935
Mitigation
- Upgrade github.com/containers/podman/v5 to 5.6.1 or later.
- Vendor workaround: Red Hat advises to not run the podman kube play command with untrusted Kubernetes YAML file as input, additionally review the Kubernetes YAML file before running it through podman may help to catch maliciously crafted secretes or volumes that may be used to exploit this vulnerability.
Who should check
- Projects that depend on Go package github.com/containers/podman/v5 (< 5.6.1)
- Projects that depend on Go package github.com/containers/podman/v4 (<= 4.9.5)
- Projects that depend on Go package github.com/containers/podman
- Projects that depend on Go package github.com/containers/podman/v2
- Projects that depend on Go package github.com/containers/podman/v3
- Anyone running podman >= 4.0.0, < 5.6.1
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
Vulnerability facts
- Affected
- github.com/containers/podman/v5 < 5.6.1; github.com/containers/podman/v4 <= 4.9.5; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3
- Fixed in
- 5.6.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.22% chance of exploitation in 30 days (percentile 69, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
There's a vulnerability in podman where an attacker may use the kube play command to overwrite host files when the kube file container a Secrete or a ConfigMap volume mount and such volume contains a symbolic link to a host file path. In a successful attack, the attacker can only control the target file to be overwritten but not the content to be written into the file. Binary-Affected: podman Upstream-version-introduced: v4.0.0 Upstream-version-fixed: v5.6.1
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-9566. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-9566.md Affected: github.com/containers/podman/v5 < 5.6.1; github.com/containers/podman/v4 <= 4.9.5; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3 Fixed in: 5.6.1 Steps: 1. Search this machine and project for github.com/containers/podman/v5 (Go), github.com/containers/podman/v4 (Go), github.com/containers/podman (Go), github.com/containers/podman/v2 (Go), github.com/containers/podman/v3 (Go), podman: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHBA-2025:15692
- https://access.redhat.com/errata/RHBA-2025:15712
- https://access.redhat.com/errata/RHBA-2025:16131
- https://access.redhat.com/errata/RHBA-2025:16158
- https://access.redhat.com/errata/RHBA-2025:16163
- https://access.redhat.com/errata/RHBA-2025:18215
- https://access.redhat.com/errata/RHEA-2025:4782
- https://access.redhat.com/errata/RHSA-2025:15900
- https://access.redhat.com/errata/RHSA-2025:15901
- https://access.redhat.com/errata/RHSA-2025:15904
- https://access.redhat.com/errata/RHSA-2025:16480
- https://access.redhat.com/errata/RHSA-2025:16481
- https://access.redhat.com/errata/RHSA-2025:16482
- https://access.redhat.com/errata/RHSA-2025:16488
- https://access.redhat.com/errata/RHSA-2025:16515
- https://access.redhat.com/errata/RHSA-2025:16724
- https://access.redhat.com/errata/RHSA-2025:17669
- https://access.redhat.com/errata/RHSA-2025:18217
- https://access.redhat.com/errata/RHSA-2025:18218
- https://access.redhat.com/errata/RHSA-2025:18240
- https://access.redhat.com/errata/RHSA-2025:19002
- https://access.redhat.com/errata/RHSA-2025:19041
- https://access.redhat.com/errata/RHSA-2025:19046
- https://access.redhat.com/errata/RHSA-2025:19094
- https://access.redhat.com/errata/RHSA-2025:19894
- https://access.redhat.com/errata/RHSA-2025:20909
- https://access.redhat.com/errata/RHSA-2025:20983
- https://access.redhat.com/errata/RHSA-2026:18289
- https://access.redhat.com/errata/RHSA-2026:18722
- https://access.redhat.com/errata/RHSA-2026:62549
- https://access.redhat.com/errata/RHSA-2026:67857
- https://access.redhat.com/errata/RHSA-2026:8211
- https://github.com/containers/podman/security/advisories/GHSA-wp3j-xq48-xpjw
- https://nvd.nist.gov/vuln/detail/CVE-2025-9566
FAQ
Is CVE-2025-9566 being exploited?
There is no confirmed exploitation: CVE-2025-9566 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-9566?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-9566?
github.com/containers/podman/v5 < 5.6.1; github.com/containers/podman/v4 <= 4.9.5; github.com/containers/podman; github.com/containers/podman/v2; github.com/containers/podman/v3.
Is there a fix for CVE-2025-9566?
Yes. Fixed in 5.6.1. Upgrade github.com/containers/podman/v5 to 5.6.1 or later. Vendor workaround: Red Hat advises to not run the podman kube play command with untrusted Kubernetes YAML file as input, additionally review the Kubernetes YAML file before running it through podman may help to catch maliciously crafted secretes or volumes that may be used to exploit this vulnerability.
How do I check if I'm affected by CVE-2025-9566?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.