CVE-2024-25620 Dependency management path traversal in helm
Attackers can save Helm charts outside intended directories by manipulating chart names, potentially overwriting files or disrupting deployments.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-25620?
CVE-2024-25620 is a medium-severity path traversal vulnerability in helm, published on 14 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. When either the Helm client or SDK is used to save a chart whose name within the `Chart.yaml` file includes a relative path change, the chart would be saved outside its expected directory based on the changes in the relative path. The validation and linting did not detect the path changes in the name. This issue has been resolved in Helm v3.14.1. Users unable to upgrade should check all charts used by Helm for path changes in their name as found in the `Chart.yaml` file. This includes dependencies.
Weakness: CWE-22
Which versions are affected by CVE-2024-25620?
4 open source packages ship an affected version, including helm.sh/helm/v3 and helm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
helm.sh/helm/v3 Go | All versions | 3.14.1 |
helm.sh/helm/v3 Go | All versions | 3.14.1 |
helm.sh/helm/v3 Go | All versions | 3.14.1 |
helm Bitnami | All versions | 3.14.1 |
Linux distribution packages (1)
helm openSUSE:Tumbleweed | All versions | 3.14.2-2.1 |
Products include Helm Helm.
How do I fix CVE-2024-25620?
Upgrade helm.sh/helm/v3 to 3.14.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-25620 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25620 exists.
Other vulnerabilities in helm
- CVE-2019-18658 Helm Unsafe Link Following
- CVE-2019-1010275 Helm Improper Certificate Validation
- CVE-2019-25210 Information disclosure in n/a
- CVE-2025-53547 Helm Chart Dependency Updating With Malicious Chart.yaml Content And Symlink Can Lead To Code Execution
- CVE-2020-11013 lookup Function Information Discolosure in Helm
Sources
Also known as AZL-34355, AZL-34583, AZL-38023, BIT-helm-2024-25620, CLEANSTART-2026-PX46795, GHSA-v53g-5gjp-272r and 3 more.