CVE-2025-53547 Helm Chart Dependency Updating With Malicious Chart.yaml Content And Symlink Can Lead To Code Execution
- Published
- Updated
- Exploit status
- No public exploit known
Description
Helm is a package manager for Charts for Kubernetes. Prior to 3.18.4, a specially crafted Chart.yaml file along with a specially linked Chart.lock file can lead to local code execution when dependencies are updated. Fields in a Chart.yaml file, that are carried over to a Chart.lock file when dependencies are updated and this file is written, can be crafted in a way that can cause execution if that same content were in a file that is executed (e.g., a bash.rc file or shell script). If the Chart.lock file is symlinked to one of these files updating dependencies will write the lock file content to the symlinked file. This can lead to unwanted execution. Helm warns of the symlinked file but did not stop execution due to symlinking. This issue has been resolved in Helm v3.18.4.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| helm.sh/helm/v3(Go) | >= 3.18.0-rc.1, < 3.18.4 | 3.18.4 |
| helm.sh/helm/v3(Go) | < 3.17.4 | 3.17.4 |
| helm.sh/helm/v3(Go) | < 3.18.4 | 3.18.4 |
| Microsoft cm2 helm 3.14.2-7 | < 3.14.2-7 | 3.14.2-7 |
| cbl-mariner helm(CBL-Mariner:2.0) | < 3.14.2-7 | 3.14.2-7 |
| helm github.com/helm/helm | = < 3.18.4 | No fix listed |
| alpine/helm(Alpine:v3.22) | >= 3.18.0, < 3.18.4-r0 | 3.18.4-r0 |
| alpine/helm(Alpine:v3.23) | >= 3.18.0, < 3.18.4-r0 | 3.18.4-r0 |
| alpine/helm(Alpine:v3.24) | >= 3.18.0, < 3.18.4-r0 | 3.18.4-r0 |
| helm github.com/helm/helm | < 3.17.4 | 3.17.4 |
| helm github.com/helm/helm | >= 3.18.0, < 3.18.4 | 3.18.4 |
References
- https://github.com/helm/helm/security/advisories/GHSA-557j-xg8c-q2mm third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/helm/helm/commit/4b8e61093d8f579f1165cdc6bd4b43fa5455f571 patch
- github.com product
- news.ycombinator.com issue-tracking
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com
- security.alpinelinux.org vendor-advisory