Vulnerabilities in pkg:golang/github.com/containers/podman/v5

PACKAGE
Advisory Identifier: GHSA-wp3j-xq48-xpjw
Advisory Summary

CVE-2025-9566 is a HIGH (CVSS 8.1) podman kube play symlink traversal vulnerability (CWE-61: UNIX Symbolic Link (Symlink) Following) affecting Github.com/containers/podman/v5 libraries in the Go ecosystem. The issue involves podman kube play symlink traversal vulnerability. Remediation is available by upgrading affected packages to version 5.6.1.

10 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/containers/podman/v5

10 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/containers/podman/v5. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-wp3j-xq48-xpjw CVE-2025-9566 HIGH podman kube play symlink traversal vulnerability
GHSA-4hq8-gpf5-8p68 CVE-2026-57231 HIGH Podman: Malformed Image can trick podman run into leaking host environment variables into the container
GHSA-fx76-2j3w-2mx6 CVE-2026-19730 MODERATE podman quadlet install --replace does not fully replace the old file
GHSA-q6r4-3wmg-fwcq CVE-2026-55686 MODERATE Podman: WORKDIR symlink traversal vulnerability
GHSA-hc8w-h2mf-hp59 CVE-2026-33414 MODERATE PowerShell Command Injection in Podman HyperV Machine
GHSA-m68q-4hqr-mc6f CVE-2025-4953 HIGH Podman Creates Temporary File with Insecure Permissions
GHSA-65gg-3w2w-hr4h CVE-2025-6032 HIGH Podman Improper Certificate Validation; machine missing TLS verification
GHSA-rpcc-p8xm-rc6p CVE-2024-3056 HIGH Podman vulnerable to memory-based denial of service
GHSA-fhqq-8f65-5xfc CVE-2024-9407 MODERATE Improper Input Validation in Buildah and Podman
GHSA-874v-pj72-92f3 CVE-2024-1753 MODERATE Podman affected by CVE-2024-1753 container escape at build time

CVE-2025-9566 at a Glance

CVE Identifier CVE-2025-9566
GHSA Identifier GHSA-wp3j-xq48-xpjw
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-61: UNIX Symbolic Link (Symlink) Following
Affected Product Github.com/containers/podman/v5
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-9566

To remediate this vulnerability, upgrade all affected Github.com/containers/podman/v5 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/containers/podman/v5 fixed: 5.6.1
Upgrade github.com/containers/podman/v5 to 5.6.1
github.com/containers/podman/v4 fixed: Latest secure release
Upgrade github.com/containers/podman/v4 to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/containers/podman/v5

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-9566, inspect your project dependencies for Github.com/containers/podman/v5:

inspect dependencies for github.com/containers/podman/v5

Analyze the terminal output to locate any version of Github.com/containers/podman/v5 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.6.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-61: UNIX Symbolic Link (Symlink) Following, where the product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. this could allow an attacker to cause the product to operate on unauthorized files. In Github.com/containers/podman/v5, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The podman kube play command can overwrite host files when the kube file contains a ConfigMap or Secret volume mount and the volume already contains a symlink to a host file. This allows a malicious container to write to arbitrary files on the host BUT the attacker only controls the target path not the contents that will be written to the file. The contents are defined in the yaml file by the end user. ### Requirements to exploit: podman kube play must be used with a ConfigMap or Secret volume mount AND must be run more than once on the same volume. All the attacker has to do is create the malicious symlink on the volume the first time it is started. After that all following starts would follow the symlink and write to the host location. ### Patches Fixed in podman v5.6.1 https://github.com/containers/podman/commit/43fbde4e665fe6cee6921868f04b7ccd3de5ad89 ### Workarounds Don't use podman kube play with ConfigMap or Secret volume mounts. ### PR with test for CI Adding on 9/8/2025 by @TomSweeneyRedHat , this is the PR containing the test in CI: https://github.com/containers/podman/pull/27001

CVE-2025-9566 Affected Github.com/containers/podman/v5 Versions

2 component(s)
Fixed Versions:
5.6.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/containers/podman/v5
Go
< 5.6.1
5.6.1
github.com/containers/podman/v4
Go
≤ 4.9.5

References

GitHub Advisory / Wiki ADVISORY
https://github.com/containers/podman/security/advisories/GHSA-wp3j-xq48-xpjw
NVD — CVE-2025-9566 NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-9566
Security Fix Commit FIX COMMIT
https://github.com/containers/podman/commit/43fbde4e665fe6cee6921868f04b7ccd3de5ad89
access.redhat.com/errata/rhsa-2025:19... WEB
https://access.redhat.com/errata/RHSA-2025:19002
access.redhat.com/errata/rhsa-2025:19... WEB
https://access.redhat.com/errata/RHSA-2025:19041
access.redhat.com/errata/rhsa-2025:19... WEB
https://access.redhat.com/errata/RHSA-2025:19046
access.redhat.com/errata/rhsa-2025:19... WEB
https://access.redhat.com/errata/RHSA-2025:19094
access.redhat.com/errata/rhsa-2025:19... WEB
https://access.redhat.com/errata/RHSA-2025:19894
access.redhat.com/errata/rhsa-2025:20... WEB
https://access.redhat.com/errata/RHSA-2025:20909
access.redhat.com/errata/rhsa-2025:20... WEB
https://access.redhat.com/errata/RHSA-2025:20983
access.redhat.com/errata/rhsa-2026:18... WEB
https://access.redhat.com/errata/RHSA-2026:18289
access.redhat.com/errata/rhsa-2026:18... WEB
https://access.redhat.com/errata/RHSA-2026:18722
access.redhat.com/errata/rhsa-2026:62... WEB
https://access.redhat.com/errata/RHSA-2026:62549
access.redhat.com/errata/rhsa-2026:67... WEB
https://access.redhat.com/errata/RHSA-2026:67857
access.redhat.com/errata/rhsa-2026:82... WEB
https://access.redhat.com/errata/RHSA-2026:8211
Github.com/containers/podman/v5 Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2025-9566
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2393152
Github.com/containers/podman/v5 Source Repository REPOSITORY
https://github.com/containers/podman
access.redhat.com/errata/rhba-2025:15... WEB
https://access.redhat.com/errata/RHBA-2025:15692
access.redhat.com/errata/rhba-2025:15... WEB
https://access.redhat.com/errata/RHBA-2025:15712
access.redhat.com/errata/rhba-2025:16... WEB
https://access.redhat.com/errata/RHBA-2025:16158
access.redhat.com/errata/rhba-2025:16... WEB
https://access.redhat.com/errata/RHBA-2025:16163
access.redhat.com/errata/rhea-2025:47... WEB
https://access.redhat.com/errata/RHEA-2025:4782
access.redhat.com/errata/rhsa-2025:15... WEB
https://access.redhat.com/errata/RHSA-2025:15900
access.redhat.com/errata/rhsa-2025:15... WEB
https://access.redhat.com/errata/RHSA-2025:15901
access.redhat.com/errata/rhsa-2025:15... WEB
https://access.redhat.com/errata/RHSA-2025:15904
access.redhat.com/errata/rhsa-2025:16... WEB
https://access.redhat.com/errata/RHSA-2025:16480
access.redhat.com/errata/rhsa-2025:16... WEB
https://access.redhat.com/errata/RHSA-2025:16481
access.redhat.com/errata/rhsa-2025:16... WEB
https://access.redhat.com/errata/RHSA-2025:16482
access.redhat.com/errata/rhsa-2025:16... WEB
https://access.redhat.com/errata/RHSA-2025:16488
access.redhat.com/errata/rhsa-2025:16... WEB
https://access.redhat.com/errata/RHSA-2025:16515
access.redhat.com/errata/rhsa-2025:16... WEB
https://access.redhat.com/errata/RHSA-2025:16724
access.redhat.com/errata/rhsa-2025:17... WEB
https://access.redhat.com/errata/RHSA-2025:17669
access.redhat.com/errata/rhsa-2025:18... WEB
https://access.redhat.com/errata/RHSA-2025:18217
access.redhat.com/errata/rhsa-2025:18... WEB
https://access.redhat.com/errata/RHSA-2025:18218
access.redhat.com/errata/rhsa-2025:18... WEB
https://access.redhat.com/errata/RHSA-2025:18240

Frequently Asked Questions

What is CVE-2025-9566?
CVE-2025-9566 is a security vulnerability in Github.com/containers/podman/v5 involving podman kube play symlink traversal vulnerability under CWE-61: UNIX Symbolic Link (Symlink) Following.
Which Github.com/containers/podman/v5 versions are affected?
Affected versions include releases prior to 5.6.1 across affected packages: github.com/containers/podman/v5, github.com/containers/podman/v4.
What version fixes CVE-2025-9566?
Upgrading to 5.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/containers/podman/v5 affected?
Yes, github.com/containers/podman/v5 is affected in releases prior to 5.6.1. Upgrade your dependency to 5.6.1 or later.
Is github.com/containers/podman/v4 affected?
Yes, github.com/containers/podman/v4 is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-9566?
CVE-2025-9566 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2025-9566?
CVE-2025-9566 is classified under CWE-61: UNIX Symbolic Link (Symlink) Following (The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.).
How can I check Go dependencies for CVE-2025-9566?
Run the dependency tree command: 'inspect dependencies for github.com/containers/podman/v5'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wp3j-xq48-xpjw",
  "modified" : "2026-09-28T03:30:24Z",
  "published" : "2025-09-04T20:01:54Z",
  "aliases" : [ "CVE-2025-9566" ],
  "summary" : "podman kube play symlink traversal vulnerability",
  "details" : "### Impact\n\nThe podman kube play command can overwrite host files when the kube file contains a ConfigMap or Secret volume mount and the volume already contains a symlink to a host file.\nThis allows a malicious container to write to arbitrary files on the host BUT the attacker only controls the target path not the contents that will be written to the file. The contents are defined in the yaml file by the end user.\n\n### Requirements to exploit:\npodman kube play must be used with a ConfigMap or Secret volume mount AND must be run more than once on the same volume. All the attacker has to do is create the malicious symlink on the volume the first time it is started. After that all following starts would follow the symlink and write to the host location. \n\n\n### Patches\nFixed in podman v5.6.1\nhttps://github.com/containers/podman/commit/43fbde4e665fe6cee6921868f04b7ccd3de5ad89\n\n### Workarounds\n\nDon't use podman kube play with ConfigMap or Secret volume mounts.\n\n### PR with test for CI\n\nAdding on 9/8/2025 by @TomSweeneyRedHat , this is the PR containing the test in CI: https://github.com/containers/podman/pull/27001",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/containers/podman/v5"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.6.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.6.0"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/containers/podman/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "4.9.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/containers/podman/security/advisories/GHSA-wp3j-xq48-xpjw"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9566"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/containers/podman/commit/43fbde4e665fe6cee6921868f04b7ccd3de5ad89"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:19002"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:19041"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:19046"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:19094"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:19894"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:20909"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:20983"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:18289"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:18722"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:62549"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:67857"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8211"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-9566"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2393152"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/containers/podman"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHBA-2025:15692"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHBA-2025:15712"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHBA-2025:16158"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHBA-2025:16163"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHEA-2025:4782"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:15900"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:15901"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:15904"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:16480"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:16481"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:16482"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:16488"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:16515"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:16724"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:17669"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:18217"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:18218"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:18240"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-61" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-04T20:01:54Z",
    "nvd_published_at" : "2025-09-05T20:15:36Z"
  }
}