CVE-2019-1000008 Helm Path Traversal
Attackers can write files outside the target directory by tricking users into processing a malicious Helm chart archive.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-1000008?
CVE-2019-1000008 is a medium-severity path traversal vulnerability in n/a, published on 4 Feb 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
All versions of Helm between Helm >=2.0.0 and < 2.12.2 contains a CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in The commands `helm fetch --untar` and `helm lint some.tgz` that can result when chart archive files are unpacked a file may be unpacked outside of the target directory. This attack appears to be exploitable via a victim must run a helm command on a specially crafted chart archive. This vulnerability appears to have been fixed in 2.12.2.
Weakness: CWE-22
Which versions are affected by CVE-2019-1000008?
3 open source packages ship an affected version, including helm.sh/helm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
helm.sh/helm Go | From 2.0.0 | 2.12.2 |
helm.sh/helm Go | From 2.0.0 | 2.12.2 |
helm.sh/helm Go | From 2.0.0+incompatible | 2.12.2+incompatible |
Products include Helm Helm.
How do I fix CVE-2019-1000008?
Upgrade helm.sh/helm to a fixed version for your release line: 2.12.2 or 2.12.2+incompatible.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-1000008 being exploited?
There is no known exploitation of CVE-2019-1000008 in the wild and no public exploit code.
Other vulnerabilities in n/a
- 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 GHSA-xrxm-mvqm-r553, GO-2023-1948.