CVE-2026-35206
ADVISORY - githubSummary
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
Common Weakness Enumeration (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
NIST
1.8
CVSS SCORE
4.8mediumGitHub
-
CVSS SCORE
4.8mediumAlpine
-
Bitnami
BIT-helm-2026-35206
-
CVSS SCORE
4.8mediumRed Hat
1.8
CVSS SCORE
4.4mediumChainguard
CGA-2fmw-fc3p-8vp3
-
minimos
MINI-2535-mq76-w59g
-
minimos
MINI-28jr-8p6m-mg4j
-
minimos
MINI-3j52-7pq4-w736
-
minimos
MINI-4fqc-vv29-9q2c
-
minimos
MINI-4gqw-wqc4-j4rq
-
minimos
MINI-5j4h-64px-935v
-
minimos
MINI-6884-5h53-gvvm
-
minimos
MINI-7rwc-75fp-xc85
-
minimos
MINI-8wh3-89cf-qhpj
-
minimos
MINI-96q5-v844-6p27
-
minimos
MINI-97h5-8j98-h56c
-
minimos
MINI-99mq-xww5-q2mp
-
minimos
MINI-9jm7-g634-q9hj
-
minimos
MINI-9r57-mcj2-6fx3
-
minimos
MINI-9vhf-vqf6-vhj9
-
minimos
MINI-9wrj-mjjm-pxg3
-
minimos
MINI-c42w-v966-8jw7
-
minimos
MINI-cp6x-h9ff-hhjg
-
minimos
MINI-gfjp-4f8j-jhwq
-
minimos
MINI-gwj5-8fgq-pmm9
-
minimos
MINI-h2hg-953x-h42g
-
minimos
MINI-h8gm-2w6x-6hmp
-
minimos
MINI-hc6m-v48q-gx4g
-
minimos
MINI-hf7p-59jg-62w3
-
minimos
MINI-hpj9-hqf9-m598
-
minimos
MINI-hpr3-8qqf-gwpc
-
minimos
MINI-jwr7-66r8-rpq4
-
minimos
MINI-mc43-hprm-84hx
-
minimos
MINI-p3wq-x4j3-h7rq
-
minimos
MINI-p8g4-w67q-64f9
-
minimos
MINI-rmfp-gwvg-4hwm
-
minimos
MINI-v65c-8pgm-rm95
-
minimos
MINI-v7mp-73g6-m92w
-
minimos
MINI-vh98-4c9w-jvfp
-
minimos
MINI-vhfm-vjf6-2cwx
-
minimos
MINI-vq8r-32pg-mjhw
-
minimos
MINI-xg86-p496-63fm
-
minimos
MINI-xj6v-fmqm-gwf9
-
minimos
MINI-xwcw-65c5-3wwg
-