{"id":"CVE-2026-35206","aliases":["CVE-2026-35206","GHSA-hr2v-4r36-88hr","BIT-HELM-2026-35206","GO-2026-5435"],"related":["CGA-2fmw-fc3p-8vp3"],"kind":"vulnerability","state":"published","title":"Helm Chart extraction output directory collapse via `Chart.yaml` name dot-segment","summary":"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. This vulnerability is fixed in 3.20.2 and 4.1.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. This vulnerability is fixed in 3.20.2 and 4.1.4.","source":"cvelist"},{"lang":"en","text":"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.\n\n### Impact\n\nThe 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.\n\nNote: 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.\n\n### Patches\n\nThis issue has been resolved in Helm v3.20.2 and v4.1.3\n\nA Chart with an unexpected name (those specified to be \".\" or \"..\"), or a Chart name which results in a non-unique directory will be rejected.\n\n### Workarounds\n\nEnsure 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.\n\n### Credits\n\nOleh Konko\n@1seal","format":"markdown","source":"ghsa"},{"lang":"en","text":"Helm Chart extraction output directory collapse via Chart.yaml name dot-segment in helm.sh/helm","format":"markdown","source":"go"},{"lang":"es","text":"Helm es un gestor de paquetes para Charts para Kubernetes. En las versiones de Helm menor o igual que 3.20.1 y menor o igual que 4.1.3, un Chart especialmente diseñado hará que helm pull --untar [URL del chart | repo/nombre_del_chart] escriba el contenido del Chart en el directorio de salida inmediato (por defecto, el directorio de trabajo actual; o el especificado por las banderas --destination y --untardir), en lugar del directorio de salida esperado con el nombre del chart como sufijo. Esta vulnerabilidad se corrige en 3.20.2 y 4.1.4.","source":"nvd"}],"published":"2026-04-09T21:02:13.594Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 4.0.0, < 4.1.4","status":"affected"},{"version":"< 3.20.2","status":"affected"}],"vendor":"helm","product":"helm","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.4"}],"ecosystem":"Go","package":"helm.sh/helm/v4","purl":"pkg:golang/helm.sh/helm/v4","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.20.2"}],"ecosystem":"Go","package":"helm.sh/helm/v3","purl":"pkg:golang/helm.sh/helm/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.20.2"}],"ecosystem":"Go","package":"helm.sh/helm/v3","purl":"pkg:golang/helm.sh/helm/v3","source":"go"},{"ranges":[{"status":"affected","fixed":"3.20.2"},{"status":"affected","introduced":"4.0.0","fixed":"4.1.4"}],"vendor":"helm","product":"helm","cpe":"cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.20.2"},{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.1.4"}],"ecosystem":"Bitnami","package":"helm","purl":"pkg:bitnami/helm","source":"bitnami"}],"references":[{"url":"https://github.com/helm/helm/security/advisories/GHSA-hr2v-4r36-88hr","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/helm/helm/commit/4e7994d4467182f535b6797c94b5b0e994a91436","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/helm/helm/releases/tag/v4.1.4","tags":["article","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35206","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/helm/helm","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-14T14:45:03.230Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35206","url":"https://www.cve.org/CVERecord?id=CVE-2026-35206","licence":"CVE Terms of Use","modified":"2026-04-14T14:45:12.096Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hr2v-4r36-88hr","url":"https://github.com/advisories/GHSA-hr2v-4r36-88hr","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:02.108Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5435","url":"https://pkg.go.dev/vuln/GO-2026-5435","licence":"CC-BY-4.0","modified":"2026-08-21T22:26:53.915Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35206","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35206","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-HELM-2026-35206","url":"https://osv.dev/vulnerability/BIT-HELM-2026-35206","licence":"Apache-2.0","modified":"2026-09-08T08:48:23.080Z"}],"updatedAt":"2026-11-25T22:59:18.423Z","epss":{"score":0.00207,"percentile":0.06108,"date":"2026-11-30T12:00:22.000Z"}}