GHSA-wp3j-xq48-xpjw

Suggest an improvement
Source
https://github.com/advisories/GHSA-wp3j-xq48-xpjw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-wp3j-xq48-xpjw/GHSA-wp3j-xq48-xpjw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wp3j-xq48-xpjw
Aliases
  • CVE-2025-9566
Published
2025-09-04T20:01:54Z
Modified
2025-09-04T20:13:20.227674Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
podman kube play symlink traversal vulnerability
Details

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.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-61"
    ],
    "severity": "HIGH",
    "nvd_published_at": null,
    "github_reviewed_at": "2025-09-04T20:01:54Z"
}
References

Affected packages

Go / github.com/containers/podman/v5

Package

Name
github.com/containers/podman/v5
View open source insights on deps.dev
Purl
pkg:golang/github.com/containers/podman/v5

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.6.1

Database specific

{
    "last_known_affected_version_range": "<= 5.6.0"
}

Go / github.com/containers/podman/v4

Package

Name
github.com/containers/podman/v4
View open source insights on deps.dev
Purl
pkg:golang/github.com/containers/podman/v4

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
4.9.5