Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-wp3j-xq48-xpjw: podman kube play symlink traversal vulnerability

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.

ghsa
#vulnerability#git
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2025-9566

podman kube play symlink traversal vulnerability

High severity GitHub Reviewed Published Sep 4, 2025 in containers/podman • Updated Sep 4, 2025

Package

gomod github.com/containers/podman/v4 (Go)

Affected versions

<= 4.9.5

gomod github.com/containers/podman/v5 (Go)

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
containers/podman@43fbde4

Workarounds

Don’t use podman kube play with ConfigMap or Secret volume mounts.

References

  • GHSA-wp3j-xq48-xpjw
  • containers/podman@43fbde4

Published to the GitHub Advisory Database

Sep 4, 2025

ghsa: Latest News

GHSA-wp3j-xq48-xpjw: podman kube play symlink traversal vulnerability