Vulnerabilities in pkg:golang/helm.sh/helm/v3

PACKAGE
Advisory Identifier: GHSA-hr2v-4r36-88hr
Advisory Summary

CVE-2026-35206 is a MODERATE helm chart extraction output directory vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Helm.sh/helm/v4 libraries in the Go ecosystem. The issue involves helm chart extraction output directory collapse via `chart.yaml` name dot-segment. Remediation is available by upgrading affected packages to version 4.1.4, 3.20.2.

24 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/helm.sh/helm/v3

24 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/helm.sh/helm/v3. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-hr2v-4r36-88hr CVE-2026-35206 MODERATE Helm Chart extraction output directory collapse via `Chart.yaml` name dot-segment
GHSA-f9f8-9pmf-xv68 CVE-2025-55198 MODERATE Helm May Panic Due To Incorrect YAML Content
GHSA-9h84-qmv7-982p CVE-2025-55199 MODERATE Helm Charts with Specific JSON Schema Values Can Cause Memory Exhaustion
GHSA-557j-xg8c-q2mm CVE-2025-53547 HIGH Helm vulnerable to Code Injection through malicious chart.yaml content
GHSA-jw44-4f3j-q396 CVE-2019-25210 MODERATE Withdrawn Advisory: Helm shows secrets in clear text
GHSA-c52f-pq47-2r9j CVE-2020-15187 LOW plugin.yaml file allows for duplicate entries in helm
GHSA-5xqw-8hwv-wg92 CVE-2025-32387 MODERATE Helm Allows A Specially Crafted JSON Schema To Cause A Stack Overflow
GHSA-4hfp-h4cw-hj8p CVE-2025-32386 MODERATE Helm Allows A Specially Crafted Chart Archive To Cause Out Of Memory Termination
GHSA-r53h-jv2g-vpx6 CVE-2024-26147 HIGH Helm's Missing YAML Content Leads To Panic
GHSA-cjjc-xp8v-855w CVE-2020-7919 HIGH Helm uses crypto package vulnerable to panic from malformed X.509 certificate
GHSA-c38g-469g-cmgx CVE-2021-21303 MODERATE Improper Neutralization of Special Elements in Output in helm.sh/helm/v3
GHSA-56hp-xqp3-w2jf CVE-2021-32690 MODERATE Helm passes repository credentials to alternate domain
GHSA-7jr6-prv4-5wf5 - MODERATE Duplicate Advisory: Helm passes repository credentials to alternate domain
GHSA-v53g-5gjp-272r CVE-2024-25620 MODERATE Helm dependency management path traversal
GHSA-qq3j-xp49-j73f CVE-2020-4053 LOW Plugin archive directory traversal in Helm
GHSA-m54r-vrmv-hw33 CVE-2020-15186 LOW Improper Sanitizing of plugin names in helm
GHSA-jm56-5h66-w453 CVE-2020-15185 LOW Repository index file allows for duplicates of the same chart entry in helm
GHSA-9vp5-m38w-j776 CVE-2020-15184 LOW Aliases are never checked in helm
GHSA-7hfp-qfw3-5jxh CVE-2022-36055 MODERATE Helm Vulnerable to denial of service through string value parsing
GHSA-53c4-hhmh-vw5q CVE-2022-23525 MODERATE Helm vulnerable to denial of service through through repository index file
GHSA-67fx-wx78-jx33 CVE-2022-23526 MODERATE Helm vulnerable to denial of service through schema file
GHSA-pwcw-6f5g-gxf8 CVE-2023-25165 MODERATE Helm vulnerable to information disclosure via getHostByName Function
GHSA-6rx9-889q-vv2r CVE-2022-23524 MODERATE Helm vulnerable to denial of service through string value parsing
GHSA-q8q8-93cv-v6h8 CVE-2020-11013 HIGH Lookup function information discolosure in helm

CVE-2026-35206 at a Glance

CVE Identifier CVE-2026-35206
GHSA Identifier GHSA-hr2v-4r36-88hr
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Helm.sh/helm/v4
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-35206

To remediate this vulnerability, upgrade all affected Helm.sh/helm/v4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

helm.sh/helm/v4 fixed: 4.1.4
Upgrade helm.sh/helm/v4 to 4.1.4
helm.sh/helm/v3 fixed: 3.20.2
Upgrade helm.sh/helm/v3 to 3.20.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for helm.sh/helm/v4

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-35206, inspect your project dependencies for Helm.sh/helm/v4:

inspect dependencies for helm.sh/helm/v4

Analyze the terminal output to locate any version of Helm.sh/helm/v4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Helm.sh/helm/v4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-35206 Affected Helm.sh/helm/v4 Versions

2 component(s)
Fixed Versions:
4.1.43.20.2
Product / Package Ecosystem Affected Versions Fixed Version
helm.sh/helm/v4
Go
< 4.1.4
4.1.4
helm.sh/helm/v3
Go
< 3.20.2
3.20.2

References

Frequently Asked Questions

What is CVE-2026-35206?
CVE-2026-35206 is a security vulnerability in Helm.sh/helm/v4 involving Helm Chart extraction output directory collapse via `Chart.yaml` name dot-segment under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Helm.sh/helm/v4 versions are affected?
Affected versions include releases prior to 4.1.4, 3.20.2 across affected packages: helm.sh/helm/v4, helm.sh/helm/v3.
What version fixes CVE-2026-35206?
Upgrading to 4.1.4, 3.20.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is helm.sh/helm/v4 affected?
Yes, helm.sh/helm/v4 is affected in releases prior to 4.1.4. Upgrade your dependency to 4.1.4 or later.
Is helm.sh/helm/v3 affected?
Yes, helm.sh/helm/v3 is affected in releases prior to 3.20.2. Upgrade your dependency to 3.20.2 or later.
What CWE is associated with CVE-2026-35206?
CVE-2026-35206 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Go dependencies for CVE-2026-35206?
Run the dependency tree command: 'inspect dependencies for helm.sh/helm/v4'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hr2v-4r36-88hr",
  "modified" : "2026-04-10T15:33:09Z",
  "published" : "2026-04-10T15:33:09Z",
  "aliases" : [ "CVE-2026-35206" ],
  "summary" : "Helm Chart extraction output directory collapse via `Chart.yaml` name dot-segment",
  "details" : "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",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "helm.sh/helm/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.1.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.1.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "helm.sh/helm/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.20.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.20.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/security/advisories/GHSA-hr2v-4r36-88hr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-35206"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/commit/4e7994d4467182f535b6797c94b5b0e994a91436"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/helm/helm"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/releases/tag/v4.1.4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-10T15:33:09Z",
    "nvd_published_at" : "2026-04-09T21:16:09Z"
  }
}