CVE-2026-35206: Helm Chart extraction output directory collapse via `Chart.yaml` name dot-segment
Helm is a package manager for Charts for Kubernetes. In Helm versions /, instead of the expected / /, potentially overwriting the contents of the targeted directory. Note: a chart name containing POSIX dot-dot, or dot-dot and slashes (as if to refer to parent directories) do not resolve beyond the output directory as designed.
Published Apr 10, 2026
Affected packages
helm.sh/helm/v4
- Ecosystem
- Go
- Affected
- <= 4.1.3
- Fixed in
- 4.1.4
- Check
go list -m helm.sh/helm/v4
helm.sh/helm/v3
- Ecosystem
- Go
- Affected
- <= 3.20.1
- Fixed in
- 3.20.2
- Check
go list -m helm.sh/helm/v3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Helm is a package manager for Charts for Kubernetes. In Helm versions <=3.20.1 and <=4.1.3, a specially crafted Chart will cause helm pull --untar [chart URL | repo/chartname] to write the Chart's contents to the immediate output directory (as defaulted to the current working directory; or as given by the --destination and --untardir flags), rather than the expected output directory suffixed by the chart's name.
Impact
The bug enables writing the Chart's contents (unpackaged/untar'ed) to the output directory <output dir>/, instead of the expected <output dir>/<chart name>/, potentially overwriting the contents of the targeted directory.
Note: a chart name containing POSIX dot-dot, or dot-dot and slashes (as if to refer to parent directories) do not resolve beyond the output directory as designed.
Patches
This issue has been resolved in Helm v3.20.2 and v4.1.3
A Chart with an unexpected name (those specified to be "." or ".."), or a Chart name which results in a non-unique directory will be rejected.
Workarounds
Ensure the the name of the Chart does not comprise/contain POSIX pathname special directory references ie. dot-dot ("..") or dot ("."). In addition, ensuring that the pull --untar flag (or equivalent SDK option) refers to a unique/empty output directory prevents chart extraction from inadvertently overwriting existing files within the specified directory.
Credits
Oleh Konko @1seal
Credited to 1seal.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-35204
Helm has a path traversal in plugin metadata version enables arbitrary file write outside Helm plugin directory
high8.6Apr 10, 2026CVE-2026-35205
Helm's plugin verification fails open when .prov is missing, allowing unsigned plugin install
high7.8Apr 10, 2026CVE-2025-55198
Helm May Panic Due To Incorrect YAML Content
medium6.5Aug 14, 2025CVE-2025-55199
Helm Charts with Specific JSON Schema Values Can Cause Memory Exhaustion
medium6.5Aug 14, 2025CVE-2025-53547
Helm vulnerable to Code Injection through malicious chart.yaml content
high8.5Jul 8, 2025CVE-2025-32386
Helm Allows A Specially Crafted Chart Archive To Cause Out Of Memory Termination
medium6.5Apr 10, 2025
